TGMPA / TGM-Plugin-Activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins). It allows your users to install, update and even automatically activate plugins in singular or bulk fashion using native WordPress classes, functions and interfaces. You can reference bundled plugins, plugins from the WordPress Plugin Repository or even plugins hosted elsewhere on the internet.
http://tgmpluginactivation.com/
GNU General Public License v2.0
1.75k stars 431 forks source link

Theme demo import error #816

Open FahadIq01 opened 1 year ago

FahadIq01 commented 1 year ago

Warning: sprintf(): Too few arguments in C:\xampp\htdocs\estore\wp-admin\includes\class-bulk-upgrader-skin.php on line 156

Alexus450 commented 1 year ago

it is related to this lines with strings they should be like this, if not just edit them in your tgm class php file. check lines about 3666 and 3674 .... $this->upgrader->strings['skin_update_successful'] = ( '%1$s installed and activated successfully.', 'tgmpa' ); ... $this->upgrader->strings['skin_update_successful'] = ( '%1$s installed successfully.', 'tgmpa' ); ...