Changeset 15942
- Timestamp:
- 10/24/2010 03:27:01 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r15937 r15942 109 109 * @return bool 110 110 */ 111 function is_archive( $post_types = '') {112 global $wp_query; 113 114 return $wp_query->is_archive( $post_types);111 function is_archive() { 112 global $wp_query; 113 114 return $wp_query->is_archive(); 115 115 } 116 116 … … 2645 2645 * @return bool 2646 2646 */ 2647 function is_archive( $post_types) {2647 function is_archive() { 2648 2648 return (bool) $this->is_archive; 2649 2649 }
Note: See TracChangeset
for help on using the changeset viewer.