WordPress changed quite a bit from 3.1 to 3.2. I have played for an hour to find the plugin section but not success. Usually they would be on the left hand side in the menu. Now they are not there. Anyone knows where to find them and how to install them on xyz.wordpress site?

This image is from 3.1. Plugin option is second from top.

enter image description here

Here is 3.2 menu. Can you find Plugins?

enter image description here

2 Answers
2

$menu_perms = get_site_option( 'menu_items', array() );
if ( ! is_multisite() || is_super_admin() || ! empty( $menu_perms['plugins'] ) ) {
$count="";
if ( ! is_multisite() && current_user_can( 'update_plugins' ) )
    $count = "<span class="update-plugins count-$plugin_update_count"><span class="plugin-count">" . number_format_i18n($plugin_update_count) . "</span></span>";

$menu[65] = array( sprintf( __('Plugins %s'), $count ), 'activate_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'div' );

$submenu['plugins.php'][5]  = array( __('Installed Plugins'), 'activate_plugins', 'plugins.php' );

if ( ! is_multisite() ) {
        /* translators: add new plugin */
        $submenu['plugins.php'][10] = array( _x('Add New', 'plugin'), 'install_plugins', 'plugin-install.php' );
        $submenu['plugins.php'][15] = array( _x('Editor', 'plugin editor'), 'edit_plugins', 'plugin-editor.php' );
    }
}

Due to the code above (wp-admin/menu.php, line 177) you can see the ‘Plugins’ menu:

  1. If your WordPress installation is not multi-site,
  2. If it is multi-site and you are the superadmin,
  3. If WordPress option 'menu_items' array contains the 'plugins' in it.

Other additional requirement is that you have to have 'activate_plugins' capability.
Check those conditions to understand why you don’t see the 'Plugins' menu item in your WordPress dashboard.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *