Changeset 787634
- Timestamp:
- 10/14/2013 02:49:04 PM (12 years ago)
- File:
-
- 1 edited
-
dashboard/trunk/activity.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dashboard/trunk/activity.php
r787085 r787634 37 37 $future_posts = dash_show_published_posts( array( 38 38 'display' => 2, 39 'max' => 5,40 'status' => 'future',41 'order' => 'ASC',42 'title' => __( 'Publishing Soon' ),43 'id' => 'future-posts',39 'max' => 5, 40 'status' => 'future', 41 'order' => 'ASC', 42 'title' => __( 'Publishing Soon' ), 43 'id' => 'future-posts', 44 44 ) ); 45 45 $recent_posts = dash_show_published_posts( array( 46 46 'display' => 2, 47 'max' => 5,48 'status' => 'publish',49 'order' => 'DESC',50 'title' => __( 'Recently Published' ),51 'id' => 'published-posts',47 'max' => 5, 48 'status' => 'publish', 49 'order' => 'DESC', 50 'title' => __( 'Recently Published' ), 51 'id' => 'published-posts', 52 52 ) ); 53 53 … … 79 79 80 80 $posts = new WP_Query(array( 81 'post_type' => 'post',82 'post_status' => $args['status'],83 'orderby' => 'date',84 'order' => $args['order'],81 'post_type' => 'post', 82 'post_status' => $args['status'], 83 'orderby' => 'date', 84 'order' => $args['order'], 85 85 'posts_per_page' => intval( $args['max'] ) 86 86 ));
Note: See TracChangeset
for help on using the changeset viewer.