[wp-trac] [WordPress Trac] #39794: Notice if update_plugins cap is off
WordPress Trac
noreply at wordpress.org
Mon Feb 6 13:03:57 UTC 2017
#39794: Notice if update_plugins cap is off
------------------------------+-----------------------------
Reporter: sebastian.pisula | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
In wp-admin/includes/update.php:378 i have condition:
{{{#!php
<?php
if ( ! current_user_can( 'update_plugins' ) ) {
}}}
then in plugins lists I should see notice "There is a new version of %1$s
available. View version %4$s details"
But I don't see notice.
I think that problem is in wp_plugin_update_rows() function
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39794>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list