Some bugs for new version of wordpress
-
Some of the issues I had: The javascript files are not included in the header and when added manually there is still a function missing (found on a forum):
var pollsL10n = {
ajax_url: “wp-content/plugins/wp-polls/wp-polls.php”,
text_wait: “Your last request is still being processed. Please wait a while …”,
text_valid: “Please choose a valid poll answer.”,
text_multiple: “Maximum number of choices allowed: “,
show_loading: “1”,
show_fading: “1”
};Once this was settled (with correct ajax_url), the wp-polls.php still needs to be edited to include wordpress config or else add_action is not recognized:
if (!function_exists(‘add_action’)) {
$wp_root = ‘../../..’;
if (file_exists($wp_root.’/wp-load.php’)) {
require_once($wp_root.’/wp-load.php’);
} else {
require_once($wp_root.’/wp-config.php’);
}
}Still had some issues after that and gave up.
- The topic ‘Some bugs for new version of wordpress’ is closed to new replies.