Changeset 8535
- Timestamp:
- 03/26/2019 10:46:23 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php
r8191 r8535 1177 1177 1178 1178 /** 1179 * Outputs X-Robots-Tag with noindex for feeds. 1180 */ 1181 function wporg_themes_noindex_for_feeds() { 1182 if ( is_tag() ) { 1183 header( 'X-Robots-Tag: noindex' ); 1184 } 1185 } 1186 add_action( 'themes_custom_feed_head', 'wporg_themes_noindex_for_feeds' ); 1187 1188 /** 1179 1189 * Outputs a <link rel="canonical"> on archive pages. 1180 1190 */
Note: See TracChangeset
for help on using the changeset viewer.