sprintf() Too few arguments
-
Using wpfavs 1.1.1.
I saw the following warning in Query Monitor:Warning sprintf(): Too few arguments
wp-admin/includes/class-bulk-upgrader-skin.php:154
wp-admin/includes/class-bulk-upgrader-skin.php:154
Bulk_Upgrader_Skin->after()
wp-content/plugins/wpfavs/admin/includes/class-tgm-plugin-activation.php:3867
TGMWpfavPA_Bulk_Installer_Skin->after()
wp-admin/includes/class-wp-upgrader.php:757
WP_Upgrader->run()
wp-content/plugins/wpfavs/admin/includes/class-tgm-plugin-activation.php:3418
TGMWpfavPA_Bulk_Installer->run()I think that it might be related to you chaing the ‘skin_update_successful’ string to require more parameters.
The base class has:
%1$s updated successfully.
And you have:
%1$s uninstalled successfully.’, ‘tgmpa_wpfav’ ) . ‘ <span>’ . esc_html__( ‘Show Details’, ‘tgmpa_wpfav’ ) . ‘</span><span class=”hidden”>’ . esc_html__( ‘Hide Details’, ‘tgmpa_wpfav’ ) . ‘</span>.‘;With the onclick parameter requiring a parameter.
- The topic ‘sprintf() Too few arguments’ is closed to new replies.