Make WordPress Core


Ignore:
Timestamp:
04/28/2011 12:02:24 PM (13 years ago)
Author:
nacin
Message:

Don't load the QuickPress widget via XHR. see #16927. Reverts [16725] as it's no longer needed. Reverts part of [14815], which introduced the behavior, see #10917.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r17556 r17743  
    458458}
    459459
    460 function wp_dashboard_quick_press_output() {
     460function wp_dashboard_quick_press() {
    461461    global $post_ID;
    462462
     
    549549    if ( $drafts )
    550550        wp_dashboard_recent_drafts( $drafts );
    551 }
    552 
    553 function wp_dashboard_quick_press() {
    554     echo '<p class="widget-loading hide-if-no-js">' . __( 'Loading&#8230;' ) . '</p><p class="describe hide-if-js">' . __('This widget requires JavaScript.') . '</p>';
    555551}
    556552
Note: See TracChangeset for help on using the changeset viewer.