Make WordPress Core


Ignore:
Timestamp:
11/28/2006 09:51:13 PM (20 years ago)
Author:
ryan
Message:

Use js_escape. Props nbachiyski. fixes #3399

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/wp-ajax-js.php

    r4458 r4535  
    8282                wpBeforeUnload = window.onbeforeunload;
    8383                window.onbeforeunload = function() {
    84                         return "<?php _e("Slow down, I'm still sending your data!"); ?>";
     84                        return "<?php js_escape(__("Slow down, I'm still sending your data!")); ?>";
    8585                }
    8686        },
Note: See TracChangeset for help on using the changeset viewer.