Changeset 9068
- Timestamp:
- 07/22/2019 12:45:00 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
r9065 r9068 264 264 265 265 /** 266 * Outputs `noindex,follow` robots tag for search results .267 */ 268 function wporg_themes_noindex _for_search() {269 if ( is_search() ) {266 * Outputs `noindex,follow` robots tag for search results and author archives. 267 */ 268 function wporg_themes_noindex() { 269 if ( is_search() || is_author() ) { 270 270 wp_no_robots(); 271 271 } 272 272 } 273 add_action( 'wp_head', 'wporg_themes_noindex _for_search' );273 add_action( 'wp_head', 'wporg_themes_noindex' ); 274 274 275 275 /**
Note: See TracChangeset
for help on using the changeset viewer.