diff --git wp-admin/includes/dashboard.php wp-admin/includes/dashboard.php
index e7716c1..09bd541 100644
|
|
function wp_dashboard_recent_drafts( $drafts = false ) { |
520 | 520 | 'author' => get_current_user_id(), |
521 | 521 | 'posts_per_page' => 4, |
522 | 522 | 'orderby' => 'modified', |
523 | | 'order' => 'DESC' |
| 523 | 'order' => 'DESC', |
524 | 524 | ); |
| 525 | |
| 526 | /** |
| 527 | * Filters the query arguments array for the recent drafts dashboard widget. |
| 528 | * |
| 529 | * @since 4.4.0 |
| 530 | * |
| 531 | * @param array $query_args The query arguments for the recent drafts dashboard widget. |
| 532 | */ |
| 533 | $query_args = apply_filters( 'dashboard_recent_drafts_query_args', $query_args ); |
| 534 | |
525 | 535 | $drafts = get_posts( $query_args ); |
526 | 536 | if ( ! $drafts ) { |
527 | 537 | return; |