Opened 9 years ago
Last modified 9 years ago
#39794 reviewing defect (bug)
Notice if update_plugins cap is off
| Reported by: | sebastian.pisula | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Plugins | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
9 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>."
This ticket was mentioned in Slack in #core by flixos90. View the logs.
9 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
previous filter + fix context translation