Changeset 1449
- Timestamp:
- 06/30/2004 03:31:49 PM (20 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-blog-header.php
r1443 r1449 148 148 $query_string = apply_filters('query_string', $query_string); 149 149 150 $wp_query_state->parse_query($query_string); 151 150 152 // Update some caches. 151 153 update_category_cache(); -
trunk/wp-includes/functions.php
r1446 r1449 1806 1806 } 1807 1807 1808 function is_single () { 1809 global $wp_query_state; 1810 1811 return $wp_query_state->single; 1812 } 1813 1814 function is_archive () { 1815 global $wp_query_state; 1816 1817 return $wp_query_state->archive; 1818 } 1819 1820 function is_date () { 1821 global $wp_query_state; 1822 1823 return $wp_query_state->date; 1824 } 1825 1826 function is_author () { 1827 global $wp_query_state; 1828 1829 return $wp_query_state->author; 1830 } 1831 1832 function is_category () { 1833 global $wp_query_state; 1834 1835 return $wp_query_state->category; 1836 } 1837 1838 function is_search () { 1839 global $wp_query_state; 1840 1841 return $wp_query_state->search; 1842 } 1843 1844 function is_feed () { 1845 global $wp_query_state; 1846 1847 return $wp_query_state->search; 1848 } 1849 1850 function is_home () { 1851 global $wp_query_state; 1852 1853 return $wp_query_state->home; 1854 } 1855 1808 1856 ?> -
trunk/wp-settings.php
r1441 r1449 48 48 49 49 50 require (ABSPATH . WPINC . '/classes.php'); 50 51 require (ABSPATH . WPINC . '/functions.php'); 51 52 timer_start();
Note: See TracChangeset
for help on using the changeset viewer.