From 5299e9536048d403553fec0e1dd271ab7aa60afa Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 3 Dec 2014 18:18:23 +0000 Subject: [PATCH] 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 --- wp-admin/includes/template.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index e78f8f75d8..b407c5bc40 100644 --- a/wp-admin/includes/template.php +++ b/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, ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index df4e773b66..6fa367009f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30729'; +$wp_version = '4.1-beta2-30730'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.