[wp-trac] [WordPress Trac] #29651: Network plugin menu update count displays even if there are 0 updates
WordPress Trac
noreply at wordpress.org
Fri Sep 12 23:36:44 UTC 2014
#29651: Network plugin menu update count displays even if there are 0 updates
------------------------------------+------------------------------
Reporter: peterchester | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: administration
------------------------------------+------------------------------
Comment (by peterchester):
Note that the theme conditional only checked if there are updates to
report and the plugins conditional only checked if you have the right to
make updates. I've made them both check if there are updates AND if you
have the right to make the updates. I'm not actually sure if it matters if
you have the right. That's a policy decision. I figured I'd aim for
consistency.
Also, note that the general total available updates doesn't care what you
have the right to do. It only cares about how many updates to show. So
even if you are not allowed to update plugins or themes, you'll still see
the total update count.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29651#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list