Make WordPress Core


Ignore:
Timestamp:
03/16/2015 08:50:39 PM (11 years ago)
Author:
azaozz
Message:

Press This:

  • Test image sizes from JS after Press This loads, before adding them to "Suggested media".
  • Clean up and simplify the HTML and JS a bit.

Fixes #31561.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r31775 r31797  
    12131213            </div>
    12141214
    1215             <div id='app-container' class="editor">
     1215            <div id="app-container" class="editor">
    12161216                <span id="title-container-label" class="post-title-placeholder" aria-hidden="true"><?php _e( 'Post title' ); ?></span>
    12171217                <h2 id="title-container" class="post-title" contenteditable="true" spellcheck="true" aria-label="<?php esc_attr_e( 'Post title' ); ?>" tabindex="0"><?php echo esc_html( $post_title ); ?></h2>
    1218                 <div id='featured-media-container' class="featured-container no-media">
    1219                     <div id='all-media-widget' class="all-media">
    1220                         <div id='all-media-container'></div>
     1218
     1219                <div class="media-list-container">
     1220                    <div class="media-list-inner-container">
     1221                        <h2 class="screen-reader-text"><?php _e( 'Suggested media' ); ?></h2>
     1222                        <ul class="media-list"></ul>
    12211223                    </div>
    12221224                </div>
Note: See TracChangeset for help on using the changeset viewer.