WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#41657 closed defect (bug) (duplicate)

Warning: sprintf(): Too few arguments in wp-admin/includes/class-bulk-upgrader-skin.php on line 154

Reported by: kamalahmed Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.8.1
Component: Plugins Keywords:
Focuses: administration Cc:

Description

I used TGM plugin to install two plugins. And after installing the plugin, I found 1 warning in wp-admin/includes/class-bulk-upgrader-skin.php on line 154.
I checked the code and found the following code there.

<?php
                         if ( ! $this->error ) {
                                echo '<div class="updated js-update-details" data-update-details="progress-' . esc_attr( $this->upgrader->update_current ) . '">' .
                                        '<p>' . sprintf( $this->upgrader->strings['skin_update_successful'], $title ) .
                                        ' <button type="button" class="hide-if-no-js button-link js-update-details-toggle" aria-expanded="false">' . __( 'Show details.' ) . '</button>' .
                                        '</p></div>';
                        }

I have attached a screenshot of the error here too.

Attachments (1)

wp core error.png (339.7 KB) - added by kamalahmed 3 years ago.
Screenshot of the error screen during plugin upload

Download all attachments as: .zip

Change History (2)

@kamalahmed
3 years ago

Screenshot of the error screen during plugin upload

#1 @swissspidy
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

That's a bug in the TGMPA library, not core. It has already been fixed, see #41644.

Note: See TracTickets for help on using tickets.