Make WordPress Core


Ignore:
Timestamp:
11/30/2014 06:36:59 AM (10 years ago)
Author:
azaozz
Message:

Editor: no pointer for DFW v2 when editor-scrolling is not used. Pass $post_type in the wp_editor_expand filter. See #30458.

File:
1 edited

Legend:

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

    r30574 r30641  
    20432043
    20442044    public static function pointer_wp410_dfw() {
     2045        // Don't show when editor-scrolling is not used.
     2046        if ( empty( $GLOBALS['_content_editor_dfw'] ) ) {
     2047            return;
     2048        }
     2049
    20452050        $content  = '<h3>' . __( 'Distraction Free Writing' ) . '</h3>';
    20462051        $content .= '<p>' . __( 'Enable distraction free writing; everything fades away so you can focus. '
Note: See TracChangeset for help on using the changeset viewer.