Changeset 43571 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r43338 r43571 240 240 if ( post_type_supports( $ptype->name, 'revisions' ) ) { 241 241 $revisions = wp_get_post_revisions( 242 $post_ID, array( 242 $post_ID, 243 array( 243 244 'order' => 'ASC', 244 245 'posts_per_page' => 1, … … 956 957 "SELECT meta_key, meta_value, meta_id, post_id 957 958 FROM $wpdb->postmeta WHERE post_id = %d 958 ORDER BY meta_key,meta_id", $postid 959 ), ARRAY_A 959 ORDER BY meta_key,meta_id", 960 $postid 961 ), 962 ARRAY_A 960 963 ); 961 964 } … … 1702 1705 <?php if ( $preview_link ) { ?> 1703 1706 <a class="button<?php echo $tab_last; ?>" href="<?php echo esc_url( $preview_link ); ?>"><?php _e( 'Preview' ); ?></a> 1704 <?php1707 <?php 1705 1708 } 1706 1709 … … 1712 1715 } 1713 1716 1714 1717 ?> 1715 1718 </p> 1716 1719 </div> … … 2003 2006 2004 2007 $_term = get_terms( 2005 $taxonomy, array( 2008 $taxonomy, 2009 array( 2006 2010 'name' => $term, 2007 2011 'fields' => 'ids',
Note: See TracChangeset
for help on using the changeset viewer.