Making WordPress.org


Ignore:
Timestamp:
05/13/2020 05:04:11 AM (4 years ago)
Author:
dd32
Message:

Theme Directory: Remove specific SEO fixes that are included in the generic SEO fixes plugin.

See #5173.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php

    r9818 r9864  
    286286
    287287/**
    288  * Outputs `noindex,follow` robots tag for search results and author archives.
    289  */
    290 function wporg_themes_noindex() {
    291     if ( is_search() || is_author() ) {
    292         wp_no_robots();
    293     }
    294 }
    295 add_action( 'wp_head', 'wporg_themes_noindex' );
    296 
    297 /**
    298288 * Overrides feeds to use a custom RSS2 feed which contains the current requests themes.
    299289 */
     
    309299    die();
    310300}
    311 add_filter( 'template_redirect', 'wporg_themes_custom_feed' );
     301add_filter( 'template_redirect', 'wporg_themes_custom_feed', 9999 );
    312302
    313303/**
Note: See TracChangeset for help on using the changeset viewer.