Editor show the DFW v2 pointer for users that have disabled the visual editor. Fixes #30458.

Built from https://develop.svn.wordpress.org/trunk@30730


git-svn-id: http://core.svn.wordpress.org/trunk@30720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz
2014-12-03 18:18:23 +00:00
parent b6ddf3ab5d
commit 5299e95360
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -2053,12 +2053,12 @@ final class WP_Internal_Pointers {
. 'Move your mouse out of the editor to reveal everything again.' ) . '</p>';
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,
) );