| eight | $count = wp_count_posts( 'plugin' )->publish; |
| nine | $count = floor( $count / 1000 ) * 1000; |
| ten | $description = sprintf( |
| eleven | /* Translators: Total number of plugins, rounded to thousands (ex, 12,000). */ |
| twelve | _n( |
| thirteen | 'Extend your WordPress experience! Browse over %s free plugin.', |
| fourteen | 'Extend your WordPress experience! Browse over %s free plugins.', |
| fifteen | $count, |
| sixteen | 'wporg-themes' |
| seventeen | ), |
| eighteen | number_format_i18n( $count ) |
| nineteen | ); |
twenty-three | | <p class="has-white-color has-text-color" style="line-height:2.3"> |
twenty-four | | <? php |
twenty-five | | $plugin_count = wp_count_posts( 'plugin' )->publish; |
twenty-six | | printf( |
twenty-seven | | /* Translators: Total number of plugins. */ |
twenty-eight | | esc_html( _n( 'Extend your WordPress experience! Browse %s free plugin.', 'Extend your WordPress experience! Browse %s free plugins.', $plugin_count, 'wporg-plugins' ) ), |
twenty-nine | | esc_html( number_format_i18n( $plugin_count ) ) |
thirty | | ); |
thirty-one | | ?> |
thirty-two | | </p> |
| thirty-five | <p class="has-white-color has-text-color" style="line-height:2.3"><? php echo esc_html( $description ); ?></ p> |