Remove “Are You Sure” dialogue when leaving editor

You can use the method described here. Add the following to your functions.php

<?php
function wpse35898_admin_head() {  
    ?> 
    <script type="text/javascript"> 
        window.onbeforeunload = function() {};
    </script> 
    <?php 
} 
add_action( 'admin_head' , 'wpse35898_admin_head' ); 
?>

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)