WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/02/2014 08:39:13 PM (7 years ago)
Author:
azaozz
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r30695 r30711  
    20452045    public static function pointer_wp410_dfw() {
    20462046        // Don't show when editor-scrolling is not used.
    2047         if ( empty( $GLOBALS['_content_editor_dfw'] ) ) {
     2047        if ( empty( $GLOBALS['_wp_editor_expand'] ) ) {
    20482048            return;
    20492049        }
Note: See TracChangeset for help on using the changeset viewer.