Changeset 8008
- Timestamp:
- 12/21/2018 03:17:37 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/page-meta-descriptions.php
r7961 r8008 20 20 // Override the Front-page tags on Rosetta sites. 21 21 if ( is_front_page() && isset( $GLOBALS['rosetta'] ) ) { 22 23 // Use `name=""` for description. 24 // See Jetpacks Twitter Card for where it happens for the twitter:* fields. 25 add_filter( 'jetpack_open_graph_output', function( $html ) { 26 return str_replace( '<meta property="description"', '<meta name="description"', $html ); 27 } ); 22 28 23 29 $locale_native_name = $GLOBALS['rosetta']->rosetta->glotpress_locale->native_name; … … 26 32 'og:title' => __( 'Blog Tool, Publishing Platform, and CMS - WordPress', 'wporg' ), 27 33 'og:description' => __( 'Open source software which you can use to easily create a beautiful website, blog, or app.', 'wporg' ), 34 'description' => __( 'Open source software which you can use to easily create a beautiful website, blog, or app.', 'wporg' ), 28 35 'og:url' => home_url( '/' ), 29 36 /* translators: %s - The Locale native name. */
Note: See TracChangeset
for help on using the changeset viewer.