Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Vladimir

    (@sadikoff)

    function quick_adsense_vi_adstxt_adsense_admin_footer() {
    	echo '<script type="text/javascript">';
    	echo "jQuery(document).ready(function() {";
    		echo "jQuery.post(";
    			echo "jQuery('#jQuery('#quick_adsense_admin_notice_ajax').val()').val(), {";
    				echo "'action': 'quick_adsense_vi_admin_notice_dismiss',";
    				echo "'quick_adsense_admin_notice_nonce': jQuery('#quick_adsense_admin_notice_nonce').val(),";
    			echo "}, function(response) { }";
    		echo ");";
    	echo "});";
    	echo '</script>';
    }
    

    This function executes on every page even if #quick_adsense_admin_notice_ajax doesn’t exists. In that case it runs ajax POST request to current page(not admin-ajax but current opened admin page) sometimes it can produce unexpected behavior.

    Plugin Author Vladimir

    (@sadikoff)

    Excluding/including and other global options will be added soon, in a couple of days.

    Plugin Author Vladimir

    (@sadikoff)

    Hello. We are working on this functionality. Plugin is in test mode now. You can test it and leave us bug report or feature request.

    Thx for your question.

Viewing 3 replies - 1 through 3 (of 3 total)