From 2c63d1b49439ecff7b27229350ed2aa7ae27ace8 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sun, 28 Jul 2013 20:56:14 +0000 Subject: [PATCH] Remove our revisions easter egg, as it doesn't have a place in our new UI. There will be opportunities for other easter eggs. This one has had its decade. Fixes #24852 for trunk. Props noahsilverstein. git-svn-id: https://develop.svn.wordpress.org/trunk@24820 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/update-core.php | 2 ++ wp-admin/js/revisions-js.php | 39 ------------------------------- 2 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 wp-admin/js/revisions-js.php diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index 703ee05857..1d5fd8d2ae 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -551,6 +551,8 @@ $_old_files = array( 'wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css', // 3.5.2 'wp-includes/js/swfupload/swfupload-all.js', +// 3.6 +'wp-admin/js/revisions-js.php', ); /** diff --git a/wp-admin/js/revisions-js.php b/wp-admin/js/revisions-js.php deleted file mode 100644 index b262e00830..0000000000 --- a/wp-admin/js/revisions-js.php +++ /dev/null @@ -1,39 +0,0 @@ -PYFGCRL?+|AOEUIDHTNS_:QJKXBMWVZ[]', - 'qwertyuiop[]\\asdfghjkl;\'zxcvbnm,./QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?-=' - ); -} - -$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( << -html body { font-family: courier, monospace; } -#hal { text-decoration: blink; } - - - -$d - -EOEE -, -dvortr( 'Eabi.p!' ) -);