]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/js/revisions-js.php
Wordpress 3.3-scripts
[autoinstalls/wordpress.git] / wp-admin / js / revisions-js.php
index ecba762154f3cfc2e52b7231163f1f637a2027a7..b262e00830cf1c2c38677d4a3c61557eb4e78b46 100644 (file)
@@ -1,5 +1,8 @@
 <?php
 
+// The JS here is purposefully obfuscated to preserve mystery and romance.
+// If you want to see behind the curtain, visit http://core.trac.wordpress.org/ticket/15262
+
 if ( !defined( 'ABSPATH' ) )
        exit;
 
@@ -12,8 +15,8 @@ function dvortr( $str ) {
        );
 }
 
-$j = clean_url( site_url( '/wp-includes/js/jquery/jquery.js' ) );
-$n = wp_specialchars( $GLOBALS['current_user']->data->display_name );
+$j = esc_url( site_url( '/wp-includes/js/jquery/jquery.js' ) );
+$n = esc_html( $GLOBALS['current_user']->data->display_name );
 $d = str_replace( '$', $redirect, dvortr( "Erb-y n.y ydco dall.b aiacbv Wa ce]-irxajt- dp.u]-$-VIr XajtWzaVv" ) );
 
 wp_die( <<<EOEE