Making WordPress.org

Changeset 14644


Ignore:
Timestamp:
01/29/2026 02:23:12 AM (6 months ago)
Author:
dd32
Message:

Plugin Directory: Beta/Featured plugins: These plugins have limited self-management capabilities, they're required to contact the plugins team for alterations.

This makes it clear on how to contact them, and shows the limitation warning to plugin reviewers (or super-admins) to ease confusion.

Props JeffPaul for suggestion.
See #8160.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/inc/template-tags.php

    r14487 r14644  
    269269        // This means the plugin has limited self-management functionalities, for security.
    270270        if (
    271                 current_user_can( 'plugin_admin_edit', $post ) &&
    272                 ! current_user_can( 'plugin_add_committer', $post )
     271                (
     272                        current_user_can( 'plugin_admin_edit', $post ) &&
     273                        ! current_user_can( 'plugin_add_committer', $post )
     274                ) || (
     275                        // Show the notice to plugin reviewers when it's limited. See class-capabilities.php.
     276                        is_object_in_term( $post->ID, 'plugin_section', array( 'beta', 'featured' ) ) &&
     277                        current_user_can( 'plugin_review' )
     278                )
    273279        ) {
    274280                printf(
    275281                        '<div class="plugin-notice notice notice-warning notice-alt"><p>%s</p></div>',
    276                         __( 'Management of this plugin has been limited for security reasons. Please contact the plugins team for assistance to add/remove committers, or to perform other actions that are unavailable.', 'wporg-plugins' )
     282                        sprintf(
     283                                __( 'Management of this plugin has been limited for security reasons. Please contact the <a href="mailto:%1$s">plugins team (%1$s)</a> for assistance to add/remove committers, or to perform other actions that are unavailable.', 'wporg-plugins' ),
     284                                'plugins@wordpress.org'
     285                        )
    277286                );
    278287        }
Note: See TracChangeset for help on using the changeset viewer.