Make WordPress Core

Ticket #30568: 30568.patch

File 30568.patch, 1.0 KB (added by azaozz, 10 years ago)
  • src/wp-admin/css/edit.css

     
    12441244/* DFW 2
    12451245-------------------------------------------------------------- */
    12461246
     1247#wp-content-wrap .mce-wp-dfw,
     1248#qt_content_dfw {
     1249        display: none;
     1250}
     1251
     1252.wp-editor-expand #wp-content-wrap .mce-wp-dfw,
     1253.wp-editor-expand #qt_content_dfw {
     1254        display: inline-block;
     1255}
     1256
    12471257.focus-on .wrap > h2,
    12481258.focus-on #wpfooter,
    12491259.focus-on .postbox-container,
  • src/wp-admin/includes/template.php

     
    20442044
    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                }
    20502050