Make WordPress Core


Ignore:
Timestamp:
11/15/2013 08:14:44 PM (12 years ago)
Author:
nacin
Message:

Dash cleanup.

  • Use wp_add_dashboard_widget() rather than add_meta_box().
  • Use original functions like wp_dashboard_primary(), wp_dashboard_right_now(), wp_dashboard_quick_press() (where possible).
  • Only include plugins section of the news widget when appropriate, which necessitates the set_current_screen() via the ajax action.
  • Remove some debug cruft that was preventing caching and invalidation.
  • Simplify lots of things where possible.

see #25824.

File:
1 edited

Legend:

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

    r26144 r26220  
    731731function wp_dashboard_quick_press_output() {
    732732    _deprecated_function( __FUNCTION__, '3.2', 'wp_dashboard_quick_press()' );
    733     wp_dashboard_quick_draft();
     733    wp_dashboard_quick_press();
    734734}
    735735
Note: See TracChangeset for help on using the changeset viewer.