Making WordPress.org


Ignore:
Timestamp:
06/09/2016 07:34:35 PM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Limit the amount of assignable categories to 3.

See #1573.

File:
1 edited

Legend:

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

    r3225 r3324  
    88 */
    99class Plugin_Categories {
     10
    1011    /**
    1112     * Displays the categories metabox for plugins.
     
    1718        ?>
    1819        <div id="taxonomy-plugin_category" class="categorydiv">
     20            <div class="notice notice-info inline">
     21                <p><?php _e( 'You can assign up to 3 categories.', 'wporg-plugins' ); ?></p>
     22            </div>
     23
    1924            <div id="plugin_category-all" class="tabs-panel">
    2025                <?php // Allows for an empty term set to be sent. 0 is an invalid Term ID and will be ignored by empty() checks. ?>
     
    2833    }
    2934}
    30 
Note: See TracChangeset for help on using the changeset viewer.