• Resolved iljaleedulane

    (@iljaleedulane)


    Hi,

    I have never had a problem with this plugin. But now it posts a lengthy string in the top part of every wp-admin page:

    style=\"display:inline-block;width:728px;height:90px\"
    data-ad-client=\"ca-pub-9341399866480111\"
    data-ad-slot=\"5728084784\">
    "; var postsnippet_1 = ""; var postsnippet_2 = ""; var postsnippet_3 = "
    "; jQuery(document).ready(function($){ // We do the check to see if post snippets dialog is in the footer. // Some plugins, like 'download monitor' uses WordPress admin bootstrap and // then bring in admin_head but not admin_footer. So to allow other plugins // to do that 'hack', we bail out in thoise cases. if ($("#post-snippets-tabs").length>0) { if($.isFunction($().tabs)){ // Ensure the tabs function is available var tabs = $("#post-snippets-tabs").tabs(); } $(function() { if($.isFunction($().dialog)){ // Ensure the dialog function is available $("#post-snippets-dialog").dialog({ autoOpen: false, modal: true, dialogClass: 'wp-dialog', buttons: { Cancel: function() { $(this).dialog("close"); }, "Insert": function() { $(this).dialog("close"); var selected = tabs.tabs('option', 'active'); if (selected == 0) { insert_snippet = postsnippet_0; } if (selected == 1) { insert_snippet = postsnippet_1; } if (selected == 2) { insert_snippet = postsnippet_2; } if (selected == 3) { insert_snippet = postsnippet_3; } // Decide what method to use to insert the snippet depending // from what editor the window was opened from if (post_snippets_caller == 'html') { // HTML editor in WordPress 3.3 and greater QTags.insertContent(insert_snippet); } else { // Visual Editor post_snippets_canvas.execCommand('mceInsertContent', false, insert_snippet); } } }, width: 500, }); } }); } }); // Global variables to keep track on the canvas instance and from what editor // that opened the Post Snippets popup. var post_snippets_canvas;

    My wp-admin looks like this: https://ibb.co/wzR6Vvc

    How to fix it?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Latest update broke something in wp-admin’ is closed to new replies.