[Plugin: WP-Polls] PHP Warning
-
Hello!
If I uninstall the WP-Polls plugins (Uninstall WP-Polls option), php says this in the PHP error log:
PHP Warning: printf(): Too few arguments in /wp-content/plugins/wp-polls/polls-uninstall.php on line 59This is the code in polls-uninstall.php at line 59:
printf(__('Error deleting Setting Key \'%s\' or Setting Key \'%s\' does not exist.', 'wp-polls'), "<strong><em>{$setting}</em></strong>");In printf i see two %s, but only one arguments. If i modify to this:
printf(__('Error deleting Setting Key \'%s\' or Setting Key \'%s\' does not exist.', 'wp-polls'), "<strong><em>{$setting}</em></strong>", "<strong><em>{$setting}</em></strong>");
The topic ‘[Plugin: WP-Polls] PHP Warning’ is closed to new replies.