diff --git a/wp-admin/js/revisions-js.php b/wp-admin/js/revisions-js.php new file mode 100644 index 000000000..3ecc1247d --- /dev/null +++ b/wp-admin/js/revisions-js.php @@ -0,0 +1,34 @@ +PYFGCRL?+|AOEUIDHTNS_:QJKXBMWVZ[]', + 'qwertyuiop[]\\asdfghjkl;\'zxcvbnm,./QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?-=' + ); +} + +$j = clean_url( site_url( '/wp-includes/js/jquery/jquery.js' ) ); +$n = wp_specialchars( $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!' ) +); diff --git a/wp-admin/revision.php b/wp-admin/revision.php index 4ec274f37..a72433327 100644 --- a/wp-admin/revision.php +++ b/wp-admin/revision.php @@ -46,6 +46,7 @@ case 'diff' : // If we're comparing a revision to itself, redirect to the 'view' page for that revision or the edit page for that post if ( $left_revision->ID == $right_revision->ID ) { $redirect = get_edit_post_link( $left_revision->ID ); + include( 'js/revisions-js.php' ); break; }