Making WordPress.org


Ignore:
Timestamp:
03/28/2024 01:17:20 AM (2 years ago)
Author:
tellyworth
Message:

Plugin Directory: add browse view for preview-enabled plugins

Note that the page is unlinked and noindexed, since it is mainly for use by the team and might be removed in future.

Fixes #7534

File:
1 edited

Legend:

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

    r13335 r13396  
    183183                        $noindex = true;
    184184                } elseif ( get_query_var( 'plugin_business_model' ) && get_query_var( 'browse' ) ) {
     185                        $noindex = true;
     186                } elseif ( 'preview' == get_query_var( 'browse' ) ) {
    185187                        $noindex = true;
    186188                } elseif ( is_singular( 'plugin' ) && self::is_plugin_outdated() ) {
Note: See TracChangeset for help on using the changeset viewer.