Making WordPress.org

Changeset 9880


Ignore:
Timestamp:
05/18/2020 02:36:46 AM (5 years ago)
Author:
dd32
Message:

Support Forums: Increase the noindexing to all views (excl. plugin/theme/reviews), not just the plugin committer/contributor views.

Fixes #5215.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php

    r9871 r9880  
    427427        } elseif (
    428428            bbp_is_single_view() &&
    429             in_array( bbp_get_view_id(), array( 'plugin-committer', 'plugin-contributor' ) )
     429            ! in_array( bbp_get_view_id(), array( 'plugin', 'theme', 'reviews' ) )
    430430        ) {
    431             // #4329
    432431            $robots = true;
    433432        } elseif ( bbp_is_single_view() ) {
Note: See TracChangeset for help on using the changeset viewer.