Bị lỗi Warning: sprintf(): Too few arguments khi cài plugin trên wordpress

Dòng code bị lỗi :

ROOT/wp-admin/includes/class-bulk-upgrader-skin.php

Old Code:

if ( $this->result && ! is_wp_error( $this->result ) ) {if ( $this->result && ! is_wp_error( $this->result ) ) { if ( ! $this->error ) { echo ‘upgrader->update_current ) . ‘”>’ . ‘

‘ . sprintf( $this->upgrader->strings[‘skin_update_successful’], $title ) . ‘ ‘ . __( ‘Show details.’ ) . ” . ‘

‘; }
echo ‘jQuery(\’.waiting-‘ . esc_js($this->upgrader->update_current) . ‘\’).hide();’;}

Chuyển lại thành:

if ( $this->result && ! is_wp_error( $this->result ) ) {if ( $this->result && ! is_wp_error( $this->result ) ) { if ( ! $this->error ) echo ‘

‘ . sprintf($this->upgrader->strings[‘skin_update_successful’], $title, ‘jQuery(\’#progress-‘ . esc_js($this->upgrader->update_current) . ‘\’).toggle();jQuery(\’span\’, this).toggle(); return false;’) . ‘

‘; echo ‘jQuery(\’.waiting-‘ . esc_js($this->upgrader->update_current) . ‘\’).hide();’;}