Closed mweichert closed 4 years ago
@mweichert Thank you for your willingness to contribute.
The issue you are trying to fix here, has already been fixed in the develop
branch via PR #670. Could you test that branch to see if that solves it sufficiently for you ?
Edit your file and come to line number 3599
Here you will see code like this.
$this->upgrader->strings['skin_update_successful'] = __( '%1$s installed and activated successfully.', 'tgmpa' ) . ' <a href="#" class="hide-if-no-js" onclick="%2$s"><span>' . esc_html__( 'Show Details', 'tgmpa' ) . '</span><span class="hidden">' . esc_html__( 'Hide Details', 'tgmpa' ) . '</span>.</a>';
From this link remove onclick="%2$s"
and the come to line number 3608 and remove one click from here.
Its just hack, Author will provide solution for this. Thanks
WP 5.0 compatibility; changed skin_update_successful i18n string.
Fixes:
Warning: sprintf(): Too few arguments in /wp-admin/includes/class-bulk-upgrader-skin.php on line 150