[wp-trac] [WordPress Trac] #41657: Warning: sprintf(): Too few arguments in wp-admin/includes/class-bulk-upgrader-skin.php on line 154

WordPress Trac noreply at wordpress.org
Thu Aug 17 10:39:16 UTC 2017


#41657: Warning: sprintf(): Too few arguments in wp-admin/includes/class-bulk-
upgrader-skin.php on line 154
----------------------------+-----------------------------
 Reporter:  kamalahmed      |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Plugins         |    Version:  4.8.1
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 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
 <?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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41657>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list