From 836b980715a3f611219751177d0105044c19476e Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 3 Dec 2014 18:17:37 +0000 Subject: [PATCH] Editor show the DFW v2 pointer for users that have disabled the visual editor. Fixes #30458. git-svn-id: https://develop.svn.wordpress.org/trunk@30730 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index e78f8f75d8..b407c5bc40 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -2053,12 +2053,12 @@ final class WP_Internal_Pointers { . 'Move your mouse out of the editor to reveal everything again.' ) . '

'; if ( is_rtl() ) { - $position = array( 'edge' => 'left', 'align' => 'left', 'my' => 'left-5 top-30%' ); + $position = array( 'edge' => 'left', 'align' => 'center', 'my' => 'left+40 top-11', 'at' => 'left top' ); } else { - $position = array( 'edge' => 'right', 'align' => 'right', 'my' => 'right+5 top-30%' ); + $position = array( 'edge' => 'right', 'align' => 'center', 'my' => 'right-40 top-11', 'at' => 'right top' ); } - self::print_js( 'wp410_dfw', '#content-html', array( + self::print_js( 'wp410_dfw', '#wp-content-wrap', array( 'content' => $content, 'position' => $position, ) );