WordPress.org

Make WordPress Core

Changeset 27858


Ignore:
Timestamp:
03/30/2014 12:36:12 AM (8 years ago)
Author:
azaozz
Message:

Add class wp-core-ui to DFW and wpLink as it is required by buttons.css. Props avryl, see #27279

File:
1 edited

Legend:

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

    r27857 r27858  
    11121112
    11131113        ?>
    1114         <div id="wp-fullscreen-body"<?php if ( is_rtl() ) echo ' class="rtl"'; ?> data-theme-width="<?php echo (int) $width; ?>" data-dfw-width="<?php echo (int) $dfw_width; ?>">
     1114        <div id="wp-fullscreen-body" class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>" data-theme-width="<?php echo (int) $width; ?>" data-dfw-width="<?php echo (int) $dfw_width; ?>">
    11151115        <div id="fullscreen-topbar">
    11161116            <div id="wp-fullscreen-toolbar">
     
    12881288     */
    12891289    public static function wp_link_dialog() {
    1290         $search_panel_visible = '1' == get_user_setting( 'wplink', '0' ) ? ' class="search-panel-visible"' : '';
     1290        $search_panel_visible = '1' == get_user_setting( 'wplink', '0' ) ? ' search-panel-visible' : '';
    12911291
    12921292        ?>
    12931293        <div id="wp-link-backdrop"></div>
    1294         <div id="wp-link-wrap"<?php echo $search_panel_visible; ?>>
     1294        <div id="wp-link-wrap" class="wp-core-ui<?php echo $search_panel_visible; ?>">
    12951295        <form id="wp-link" tabindex="-1">
    12961296        <?php wp_nonce_field( 'internal-linking', '_ajax_linking_nonce', false ); ?>
Note: See TracChangeset for help on using the changeset viewer.