Editor: hide the DFW v2 button when editor-expand is off. Fixes #30568.

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


git-svn-id: http://core.svn.wordpress.org/trunk@30701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz
2014-12-02 20:40:22 +00:00
parent ab2c480d86
commit f1dcfa9712
6 changed files with 24 additions and 4 deletions

View File

@@ -2044,7 +2044,7 @@ final class WP_Internal_Pointers {
public static function pointer_wp410_dfw() {
// Don't show when editor-scrolling is not used.
if ( empty( $GLOBALS['_content_editor_dfw'] ) ) {
if ( empty( $GLOBALS['_wp_editor_expand'] ) ) {
return;
}