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
This commit is contained in:
Andrew Ozz 2014-12-03 18:17:37 +00:00
parent 864334547b
commit 836b980715

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,
) );