Making WordPress.org

Changeset 12826

Timestamp:
08/09/2023 09:00:33 PM (12 months ago)
Author:
coffee2code
Message:

Plugin Directory: Noindex multi-filtered view.

Props jonoaldersonwp, dd32, coffee2code.
Fixes #7085.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php

    r12813 r12826  
    182182        if ( get_query_var( 'plugin_advanced' ) ) {
    183183            $noindex = true;
    184         } else if ( is_singular( 'plugin' ) && self::is_plugin_outdated() ) {
     184        } elseif ( get_query_var( 'plugin_business_model' ) && get_query_var( 'browse' ) ) {
     185            $noindex = true;
     186        } elseif ( is_singular( 'plugin' ) && self::is_plugin_outdated() ) {
    185187            $noindex = true;
    186188        }
Note: See TracChangeset for help on using the changeset viewer.