mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@26220 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -730,7 +730,7 @@ function get_others_pending($user_id) {
|
||||
*/
|
||||
function wp_dashboard_quick_press_output() {
|
||||
_deprecated_function( __FUNCTION__, '3.2', 'wp_dashboard_quick_press()' );
|
||||
wp_dashboard_quick_draft();
|
||||
wp_dashboard_quick_press();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user