Opened 8 years ago
Last modified 7 years ago
#39794 reviewing defect (bug)
Notice if update_plugins cap is off
Reported by: | sebastian.pisula | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | |
Component: | Plugins | Keywords: | has-patch |
Focuses: | Cc: |
Description
In wp-admin/includes/update.php:378 i have condition:
<?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
Attachments (7)
Change History (12)
#1
@
8 years ago
I add context because in Polish translation is error and I think that context will be helpful for translators.
#. translators: 1: theme name, 2: theme details URL, 3: additional link #. attributes, 4: version number #. translators: 1: plugin name, 2: details URL, 3: additional link attributes, #. 4: version number #. translators: 1: theme name, 2: details URL, 3: additional link attributes, #. 4: version number #: wp-admin/includes/theme.php:181 wp-admin/includes/update.php:380 #: wp-admin/includes/update.php:525 msgid "There is a new version of %1$s available. <a href=\"%2$s\" %3$s>View version %4$s details</a>." msgstr "Dostępna jest nowa wersja motywu %1$s. <a href=\"%2$s\" %3$s>Zobacz informacje o wersji %4$s</a>."
#2
@
8 years ago
- Milestone changed from Awaiting Review to 4.8
- Owner set to SergeyBiryukov
- Status changed from new to reviewing
This ticket was mentioned in Slack in #core by flixos90. View the logs.
7 years ago
Note: See
TracTickets for help on using
tickets.
previous filter + fix context translation