Changeset 6732 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-features.php
- Timestamp:
- 02/24/2018 01:26:54 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-features.php
r6653 r6732 13 13 return get_template_part( 'page' ); 14 14 } 15 16 add_filter( 'jetpack_open_graph_tags', function( $tags ) { 17 $tags['og:title'] = _esc_html__( 'WordPress Features', 'wporg' ); 18 /* translators: WordPress market share: 29%; */ 19 $tags['og:description'] = sprintf( _esc_html__( 'Discover why WordPress powers more than %s of the web. WordPress is a simple, flexible, user-friendly platform, with key features that include media management, SEO, and endless options for customization. More than 50,000 plugins extend the core functionality of WordPress even more. Build your site today.', 'wporg' ), WP_MARKET_SHARE . '%' ); 20 $tags['twitter:text:title'] = $tags['og:title']; 21 $tags['twitter:description'] = $tags['og:description']; 22 23 return $tags; 24 } ); 15 25 16 26 get_header();
Note: See TracChangeset
for help on using the changeset viewer.