WordPress.org

Make WordPress Core

Ticket #21456: 21456.2.diff

File 21456.2.diff, 22.7 KB (added by lessbloat, 6 years ago)
  • wp-includes/class-wp-editor.php

     
    671671
    672672                        <div id="wp-fullscreen-save">
    673673                                <span><?php if ( $post->post_status == 'publish' ) _e('Updated.'); else _e('Saved.'); ?></span>
    674                                 <img src="<?php echo admin_url('images/wpspin_light.gif'); ?>" alt="" />
     674                                <img src="<?php echo admin_url('images/wpspin_light.gif'); ?>" alt="" width="16" />
    675675                                <input type="button" class="button-primary" value="<?php echo $save; ?>" onclick="fullscreen.save();" />
    676676                        </div>
    677677
     
    787787                                <label>
    788788                                        <span><?php _e( 'Search' ); ?></span>
    789789                                        <input type="search" id="search-field" class="link-search-field" autocomplete="off" />
    790                                         <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     790                                        <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />
    791791                                </label>
    792792                        </div>
    793793                        <div id="search-results" class="query-results">
    794794                                <ul></ul>
    795795                                <div class="river-waiting">
    796                                         <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     796                                        <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />
    797797                                </div>
    798798                        </div>
    799799                        <div id="most-recent-results" class="query-results">
    800800                                <div class="query-notice"><em><?php _e( 'No search term specified. Showing recent items.' ); ?></em></div>
    801801                                <ul></ul>
    802802                                <div class="river-waiting">
    803                                         <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     803                                        <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />
    804804                                </div>
    805805                        </div>
    806806                </div>
  • wp-admin/includes/class-wp-posts-list-table.php

     
    10391039                                $update_text = __( 'Update' );
    10401040                                ?>
    10411041                                <a accesskey="s" href="#inline-edit" title="<?php esc_attr_e( 'Update' ); ?>" class="button-primary save alignright"><?php echo esc_attr( $update_text ); ?></a>
    1042                                 <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     1042                                <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />
    10431043                        <?php } else {
    10441044                                submit_button( __( 'Update' ), 'button-primary alignright', 'bulk_edit', false, array( 'accesskey' => 's' ) );
    10451045                        } ?>
  • wp-admin/includes/class-wp-terms-list-table.php

     
    361361                        <a accesskey="c" href="#inline-edit" title="<?php esc_attr_e( 'Cancel' ); ?>" class="cancel button-secondary alignleft"><?php _e( 'Cancel' ); ?></a>
    362362                        <?php $update_text = $tax->labels->update_item; ?>
    363363                        <a accesskey="s" href="#inline-edit" title="<?php echo esc_attr( $update_text ); ?>" class="save button-primary alignright"><?php echo $update_text; ?></a>
    364                         <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     364                        <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />
    365365                        <span class="error" style="display:none;"></span>
    366366                        <?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?>
    367367                        <input type="hidden" name="taxonomy" value="<?php echo esc_attr( $this->screen->taxonomy ); ?>" />
  • wp-admin/includes/dashboard.php

     
    535535                        <input type="reset" value="<?php esc_attr_e( 'Reset' ); ?>" class="button" />
    536536                        <span id="publishing-action">
    537537                                <input type="submit" name="publish" id="publish" accesskey="p" class="button-primary" value="<?php current_user_can('publish_posts') ? esc_attr_e('Publish') : esc_attr_e('Submit for Review'); ?>" />
    538                                 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     538                                <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />
    539539                        </span>
    540540                        <br class="clear" />
    541541                </p>
  • wp-admin/includes/class-wp-plugin-install-list-table.php

     
    115115                                        <?php do_action( 'install_plugins_table_header' ); ?>
    116116                                </div>
    117117                                <?php $this->pagination( $which ); ?>
    118                                 <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" />
     118                                <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" width="16" />
    119119                                <br class="clear" />
    120120                        </div>
    121121                <?php } else { ?>
    122122                        <div class="tablenav bottom">
    123123                                <?php $this->pagination( $which ); ?>
    124                                 <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" />
     124                                <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" width="16" />
    125125                                <br class="clear" />
    126126                        </div>
    127127                <?php
  • wp-admin/includes/class-wp-theme-install-list-table.php

     
    134134                                <?php do_action( 'install_themes_table_header' ); ?>
    135135                        </div>
    136136                        <?php $this->pagination( 'top' ); ?>
    137                         <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" />
     137                        <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" width="16" />
    138138                        <br class="clear" />
    139139                </div>
    140140
  • wp-admin/includes/class-wp-upgrader.php

     
    12881288
    12891289        function before($title = '') {
    12901290                $this->in_loop = true;
    1291                 printf( '<h4>' . $this->upgrader->strings['skin_before_update_header'] . ' <img alt="" src="' . admin_url( 'images/wpspin_light.gif' ) . '" class="hidden waiting-' . $this->upgrader->update_current . '" style="vertical-align:middle;" /></h4>',  $title, $this->upgrader->update_current, $this->upgrader->update_count);
     1291                printf( '<h4>' . $this->upgrader->strings['skin_before_update_header'] . ' <img alt="" src="' . admin_url( 'images/wpspin_light.gif' ) . '" class="hidden waiting-' . $this->upgrader->update_current . '" style="vertical-align:middle;" width="16" /></h4>',  $title, $this->upgrader->update_current, $this->upgrader->update_count);
    12921292                echo '<script type="text/javascript">jQuery(\'.waiting-' . esc_js($this->upgrader->update_current) . '\').show();</script>';
    12931293                echo '<div class="update-messages hide-if-js" id="progress-' . esc_attr($this->upgrader->update_current) . '"><p>';
    12941294                $this->flush_output();
  • wp-admin/includes/meta-boxes.php

     
    3232<?php } elseif ( 'pending' == $post->post_status && $can_publish ) { ?>
    3333<input type="submit" name="save" id="save-post" value="<?php esc_attr_e('Save as Pending'); ?>" class="button" />
    3434<?php } ?>
    35 <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading" id="draft-ajax-loading" alt="" />
     35<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading" id="draft-ajax-loading" alt="" width="16" />
    3636</div>
    3737<?php if ( $post_type_object->public ) : ?>
    3838<div id="preview-action">
     
    200200</div>
    201201
    202202<div id="publishing-action">
    203 <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading" id="ajax-loading" alt="" />
     203<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading" id="ajax-loading" alt="" width="16" />
    204204<?php
    205205if ( !in_array( $post->post_status, array('publish', 'future', 'private') ) || 0 == $post->ID ) {
    206206        if ( $can_publish ) :
     
    489489                }
    490490
    491491                ?>
    492                 <p class="hide-if-no-js" id="show-comments"><a href="#commentstatusdiv" onclick="commentsBox.get(<?php echo $total; ?>);return false;"><?php _e('Show comments'); ?></a> <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /></p>
     492                <p class="hide-if-no-js" id="show-comments"><a href="#commentstatusdiv" onclick="commentsBox.get(<?php echo $total; ?>);return false;"><?php _e('Show comments'); ?></a> <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" /></p>
    493493                <?php
    494494        }
    495495
  • wp-admin/includes/widgets.php

     
    211211                <a class="widget-control-close" href="#close"><?php _e('Close'); ?></a>
    212212                </div>
    213213                <div class="alignright<?php if ( 'noform' === $has_form ) echo ' widget-control-noform'; ?>">
    214                 <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-feedback" title="" alt="" />
     214                <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-feedback" title="" alt="" width="16" />
    215215                <?php submit_button( __( 'Save' ), 'button-primary widget-control-save', 'savewidget', false, array( 'id' => 'widget-' . esc_attr( $id_format ) . '-savewidget' ) ); ?>
    216216                </div>
    217217                <br class="clear" />
  • wp-admin/includes/class-wp-themes-list-table.php

     
    9191                ?>
    9292                <div class="tablenav themes <?php echo $which; ?>">
    9393                        <?php $this->pagination( $which ); ?>
    94                    <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" />
     94                   <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-loading list-ajax-loading" alt="" width="16" />
    9595                  <br class="clear" />
    9696                </div>
    9797                <?php
  • wp-admin/includes/template.php

     
    360360        <span id="savebtn" style="display:none;"><?php _e('Update Comment'); ?></span>
    361361        <span id="replybtn" style="display:none;"><?php _e('Submit Reply'); ?></span></a>
    362362        <a href="#comments-form" class="cancel button-secondary alignleft"><?php _e('Cancel'); ?></a>
    363         <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     363        <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />
    364364        <span class="error" style="display:none;"></span>
    365365        <br class="clear" />
    366366        </p>
  • wp-admin/includes/media.php

     
    11121112        $image_edit_button = '';
    11131113        if ( gd_edit_image_support( $post->post_mime_type ) ) {
    11141114                $nonce = wp_create_nonce( "image_editor-$post->ID" );
    1115                 $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit Image' ) . "' /> <img src='" . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . "' class='imgedit-wait-spin' alt='' />";
     1115                $image_edit_button = "<input type='button' id='imgedit-open-btn-$post->ID' onclick='imageEdit.open( $post->ID, \"$nonce\" )' class='button' value='" . esc_attr__( 'Edit Image' ) . "' /> <img src='" . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . "' class='imgedit-wait-spin' alt='' width='16' />";
    11161116        }
    11171117
    11181118        $attachment_url = get_permalink( $attachment_id );
     
    15801580                        return false;
    15811581                }
    15821582
    1583                 document.getElementById('status_img').innerHTML = '<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />';
     1583                document.getElementById('status_img').innerHTML = '<img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />';
    15841584                t.preloadImg = new Image();
    15851585                t.preloadImg.onload = t.updateImageData;
    15861586                t.preloadImg.onerror = t.resetImageData;
  • wp-admin/includes/nav-menu.php

     
    511511        }
    512512        ?>
    513513        <p class="button-controls">
    514                 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     514                <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />
    515515                <?php submit_button( __( 'Save' ), 'primary', 'nav-menu-locations', false, disabled( $nav_menu_selected_id, 0, false ) ); ?>
    516516        </p>
    517517        <?php
     
    560560
    561561                <p class="button-controls">
    562562                        <span class="add-to-menu">
    563                                 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     563                                <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />
    564564                                <input type="submit"<?php disabled( $nav_menu_selected_id, 0 ); ?> class="button-secondary submit-add-to-menu" value="<?php esc_attr_e('Add to Menu'); ?>" name="add-custom-menu-item" id="submit-customlinkdiv" />
    565565                        </span>
    566566                </p>
     
    692692                        ?>
    693693                        <p class="quick-search-wrap">
    694694                                <input type="search" class="quick-search input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-posttype-<?php echo $post_type_name; ?>" />
    695                                 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     695                                <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />
    696696                                <?php submit_button( __( 'Search' ), 'quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-posttype-' . $post_type_name ) ); ?>
    697697                        </p>
    698698
     
    779779                        </span>
    780780
    781781                        <span class="add-to-menu">
    782                                 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     782                                <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />
    783783                                <input type="submit"<?php disabled( $nav_menu_selected_id, 0 ); ?> class="button-secondary submit-add-to-menu" value="<?php esc_attr_e('Add to Menu'); ?>" name="add-post-type-menu-item" id="submit-posttype-<?php echo $post_type_name; ?>" />
    784784                        </span>
    785785                </p>
     
    923923                        ?>
    924924                        <p class="quick-search-wrap">
    925925                                <input type="search" class="quick-search input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" />
    926                                 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     926                                <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />
    927927                                <?php submit_button( __( 'Search' ), 'quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-taxonomy-' . $taxonomy_name ) ); ?>
    928928                        </p>
    929929
     
    955955                        </span>
    956956
    957957                        <span class="add-to-menu">
    958                                 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
     958                                <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" />
    959959                                <input type="submit"<?php disabled( $nav_menu_selected_id, 0 ); ?> class="button-secondary submit-add-to-menu" value="<?php esc_attr_e('Add to Menu'); ?>" name="add-taxonomy-menu-item" id="submit-taxonomy-<?php echo $taxonomy_name; ?>" />
    960960                        </span>
    961961                </p>
  • wp-admin/customize.php

     
    7272                                $save_text = $wp_customize->is_theme_active() ? __( 'Save &amp; Publish' ) : __( 'Save &amp; Activate' );
    7373                                submit_button( $save_text, 'primary', 'save', false );
    7474                        ?>
    75                         <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" />
     75                        <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" width="16" />
    7676                        <a class="back button" href="<?php echo esc_url( $return ? $return : admin_url( 'themes.php' ) ); ?>">
    7777                                <?php _e( 'Cancel' ); ?>
    7878                        </a>
  • wp-admin/options-general.php

     
    251251
    252252        echo '  <label><input type="radio" name="date_format" id="date_format_custom_radio" value="\c\u\s\t\o\m"';
    253253        checked( $custom );
    254         echo '/> ' . __('Custom:') . ' </label><input type="text" name="date_format_custom" value="' . esc_attr( get_option('date_format') ) . '" class="small-text" /> <span class="example"> ' . date_i18n( get_option('date_format') ) . "</span> <img class='ajax-loading' src='" . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . "' />\n";
     254        echo '/> ' . __('Custom:') . ' </label><input type="text" name="date_format_custom" value="' . esc_attr( get_option('date_format') ) . '" class="small-text" /> <span class="example"> ' . date_i18n( get_option('date_format') ) . "</span> <img class='ajax-loading' src='" . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . "' width='16' />\n";
    255255
    256256        echo "\t<p>" . __('<a href="http://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date and time formatting</a>.') . "</p>\n";
    257257?>
     
    283283
    284284        echo '  <label><input type="radio" name="time_format" id="time_format_custom_radio" value="\c\u\s\t\o\m"';
    285285        checked( $custom );
    286         echo '/> ' . __('Custom:') . ' </label><input type="text" name="time_format_custom" value="' . esc_attr( get_option('time_format') ) . '" class="small-text" /> <span class="example"> ' . date_i18n( get_option('time_format') ) . "</span> <img class='ajax-loading' src='" . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . "' />\n";
     286        echo '/> ' . __('Custom:') . ' </label><input type="text" name="time_format_custom" value="' . esc_attr( get_option('time_format') ) . '" class="small-text" /> <span class="example"> ' . date_i18n( get_option('time_format') ) . "</span> <img class='ajax-loading' src='" . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . "' width='16' />\n";
    287287        ;
    288288?>
    289289        </fieldset>
  • wp-admin/press-this.php

    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
     
    467467                                                        echo '<br /><br />';
    468468                                                        submit_button( __( 'Submit for Review' ), 'primary', 'review', false );
    469469                                                } ?>
    470                                                 <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" id="saving" style="display:none;" />
     470                                                <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" id="saving" style="display:none;" width="16" />
    471471                                        </p>
    472472                                        <?php if ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) :
    473473                                                        $post_formats = get_theme_support( 'post-formats' );
     
    586586                        </div>
    587587                </div>
    588588
    589                 <div id="waiting" style="display: none"><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> <?php esc_html_e( 'Loading...' ); ?></div>
     589                <div id="waiting" style="display: none"><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" width="16" /> <?php esc_html_e( 'Loading...' ); ?></div>
    590590
    591591                <div id="extra-fields" style="display: none"></div>
    592592
  • wp-admin/css/wp-admin.css

     
    39533953        position: absolute;
    39543954        top: 0;
    39553955        background: #FFFFFF url(../images/wpspin_light.gif) no-repeat scroll 22px 10px;
     3956        background-size: 16px 16px;
    39563957        opacity: 0.7;
    39573958        filter: alpha(opacity=70);
    39583959        width: 100%;
  • wp-admin/widgets.php

     
    345345                        <div class="sidebar-name">
    346346                                <div class="sidebar-name-arrow"><br /></div>
    347347                                <h3><?php echo esc_html( $registered_sidebar['name'] ); ?>
    348                                         <span><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-feedback" title="" alt="" /></span>
     348                                        <span><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-feedback" title="" alt="" width="16" /></span>
    349349                                </h3>
    350350                        </div>
    351351                        <div class="widget-holder inactive">
     
    380380        <div class="sidebar-name">
    381381        <div class="sidebar-name-arrow"><br /></div>
    382382        <h3><?php echo esc_html( $registered_sidebar['name'] ); ?>
    383         <span><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-feedback" title="" alt="" /></span></h3></div>
     383        <span><img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-feedback" title="" alt="" width="16" /></span></h3></div>
    384384        <?php wp_list_widget_controls( $sidebar ); // Show the control forms for each of the widgets in this sidebar ?>
    385385        </div>
    386386<?php