WordPress.org

Making WordPress.org

Changeset 6150


Ignore:
Timestamp:
11/19/17 11:16:27 (4 weeks ago)
Author:
obenland
Message:

Main: Use market share constant for current values

See #2861.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php

    r6142 r6150  
    4545            <section class="showcase"> 
    4646                <h2><?php _e( 'Trusted by the Best', 'wporg' ); ?></h2> 
    47                 <p class="subheading"><?php _e( '28% of the web uses WordPress, from hobby blogs to the biggest news sites online.', 'wporg' ); ?></p> 
     47                <p class="subheading"><?php printf( __( '%s of the web uses WordPress, from hobby blogs to the biggest news sites online.', 'wporg' ), WP_MARKET_SHARE . '%' ); ?></p> 
    4848                <div class="collage"> 
    4949 
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/functions.php

    r6143 r6150  
    1313if ( ! defined( 'WPORGPATH' ) ) { 
    1414    define( 'WPORGPATH', get_parent_theme_file_path( '/inc/' ) ); 
     15} 
     16 
     17// Make sure market share is available. 
     18if ( ! defined( 'WP_MARKET_SHARE' ) ) { 
     19    define( 'WP_MARKET_SHARE', 29 ); 
    1520} 
    1621 
Note: See TracChangeset for help on using the changeset viewer.