Changeset 7308
- Timestamp:
- 06/14/2018 05:02:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r7286 r7308 307 307 printf( '<meta name="thumbnail" content="%s" />' . "\n", esc_url( $icon['icon_2x'] ?: $icon['icon'] ) ); 308 308 } 309 310 // Prevent duplicate search engine results. 311 if ( get_query_var( 'plugin_advanced' ) ) { 312 echo '<meta name="robots" content="noindex, follow" />' . "\n"; 313 } 309 314 } 310 315 add_action( 'wp_head', __NAMESPACE__ . '\social_meta_data' );
Note: See TracChangeset
for help on using the changeset viewer.