Support » Plugin: WP-Ban » Outputting PHP in the dashboard

  • Resolved TangerineAng

    (@ang-c-bam)


    Hi,
    The plugin is outputting the below php on the WordPress options page, and I am concerned it is not working. I am running a multi site WP installation, and version 1.64 of the plugin

    \n"; break; } jQuery("#banned_template_" + template).val(default_template); } function toggle_checkbox() { for(i = 0; i < 1; i++) { if(checked == 0) { jQuery("#ban-" + i).attr("checked", "checked"); } else { jQuery("#ban-" + i).removeAttr("checked"); } } if(checked == 0) { checked = 1; } else { checked = 0; } } jQuery(document).ready(function() { jQuery('#show_button').click(function(event) { event.preventDefault(); var banned_template_message_el = jQuery('#banned_template_message'); if(jQuery(banned_template_message_el).is(':hidden')) { jQuery(this).val('Show Current Banned Message'); jQuery('#banned_preview_message').empty(); jQuery(banned_template_message_el).fadeIn('fast'); } else { jQuery(this).val('Show Banned Message Template'); jQuery.ajax({type: 'GET', url: 'http://savantiniwordpress.savantini.com/pelvic-toner/wp-admin/admin-ajax.php', data: 'action=ban-admin', cache: false, success: function(data) { var html_message = data; jQuery(banned_template_message_el).fadeOut('fast', function() { jQuery(html_message).filter('#wp-ban-container').appendTo('#banned_preview_message'); }); }}); } }); }); /* ]]> */

    https://wordpress.org/plugins/wp-ban/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Hmm I have no idea why is it showing that for you. I can’t reproduce the problem on my end. I am guessing some plugins might be conflicting it. Try deactivating other plugins and fine the fault.

    If it doesn’t work, you might want to uninstall it (Below of the options page) and try to install it again.

    I am having the same problem, were you ever able to resolve it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Outputting PHP in the dashboard’ is closed to new replies.