diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php
index e517f95..ccad5d2 100644
|
a
|
b
|
function wp_dashboard_site_activity() { |
| 758 | 758 | |
| 759 | 759 | echo '<div id="activity-widget">'; |
| 760 | 760 | |
| 761 | | $future_posts = wp_dashboard_recent_posts( array( |
| 762 | | 'max' => 5, |
| 763 | | 'status' => 'future', |
| 764 | | 'order' => 'ASC', |
| 765 | | 'title' => __( 'Publishing Soon' ), |
| 766 | | 'id' => 'future-posts', |
| 767 | | ) ); |
| 768 | | $recent_posts = wp_dashboard_recent_posts( array( |
| 769 | | 'max' => 5, |
| 770 | | 'status' => 'publish', |
| 771 | | 'order' => 'DESC', |
| 772 | | 'title' => __( 'Recently Published' ), |
| 773 | | 'id' => 'published-posts', |
| 774 | | ) ); |
| | 761 | $future_posts = wp_dashboard_recent_posts( |
| | 762 | /** |
| | 763 | * Filter Dashboard Activity widget future post parameters for wp_dashboard_recent_posts() |
| | 764 | * |
| | 765 | * @since |
| | 766 | * |
| | 767 | * @param array Params for wp_dashboard_recent_posts() |
| | 768 | */ |
| | 769 | apply_filters( 'dashboard_activity_widget_future_posts', |
| | 770 | array( |
| | 771 | 'max' => 5, |
| | 772 | 'status' => 'future', |
| | 773 | 'order' => 'ASC', |
| | 774 | 'title' => __( 'Publishing Soon' ), |
| | 775 | 'id' => 'future-posts' |
| | 776 | ) |
| | 777 | ) |
| | 778 | ); |
| | 779 | |
| | 780 | $recent_posts = wp_dashboard_recent_posts( |
| | 781 | /** |
| | 782 | * Filter Dashboard Activity widget recent post parameters for wp_dashboard_recent_posts() |
| | 783 | * |
| | 784 | * @since |
| | 785 | * |
| | 786 | * @param array Params for wp_dashboard_recent_posts() |
| | 787 | */ |
| | 788 | apply_filters( 'dashboard_activity_widget_recent_posts', |
| | 789 | array( |
| | 790 | 'max' => 5, |
| | 791 | 'status' => 'publish', |
| | 792 | 'order' => 'DESC', |
| | 793 | 'title' => __( 'Recently Published' ), |
| | 794 | 'id' => 'published-posts' |
| | 795 | ) |
| | 796 | ) |
| | 797 | ); |
| 775 | 798 | |
| 776 | 799 | $recent_comments = wp_dashboard_recent_comments(); |
| 777 | 800 | |