Changeset 21792 for trunk/wp-includes/query.php
- Timestamp:
- 09/10/2012 05:00:11 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r21776 r21792 87 87 * @return array List of posts 88 88 */ 89 function &query_posts($query) {89 function query_posts($query) { 90 90 unset($GLOBALS['wp_query']); 91 91 $GLOBALS['wp_query'] = new WP_Query(); … … 1917 1917 * @return array List of posts. 1918 1918 */ 1919 function &get_posts() {1919 function get_posts() { 1920 1920 global $wpdb, $user_ID, $_wp_using_ext_object_cache; 1921 1921 … … 2937 2937 * @return array List of posts. 2938 2938 */ 2939 function &query( $query ) {2939 function query( $query ) { 2940 2940 $this->init(); 2941 2941 $this->query = $this->query_vars = wp_parse_args( $query );
Note: See TracChangeset
for help on using the changeset viewer.