WordPress.org

Make WordPress Core

Changeset 28071


Ignore:
Timestamp:
04/11/2014 03:08:23 AM (4 years ago)
Author:
nacin
Message:

Editor: Ensure the link dialog does not display when styles are missing.

props mattheu.
fixes #27605.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r28059 r28071  
    13831383        $search_panel_visible = '1' == get_user_setting( 'wplink', '0' ) ? ' search-panel-visible' : '';
    13841384
     1385        // display: none is required here, see #WP27605
    13851386        ?>
    1386         <div id="wp-link-backdrop"></div>
    1387         <div id="wp-link-wrap" class="wp-core-ui<?php echo $search_panel_visible; ?>">
     1387        <div id="wp-link-backdrop" style="display: none"></div>
     1388        <div id="wp-link-wrap" class="wp-core-ui<?php echo $search_panel_visible; ?>" style="display: none">
    13881389        <form id="wp-link" tabindex="-1">
    13891390        <?php wp_nonce_field( 'internal-linking', '_ajax_linking_nonce', false ); ?>
Note: See TracChangeset for help on using the changeset viewer.