Make WordPress Core


Ignore:
Timestamp:
08/08/2004 04:47:22 PM (21 years ago)
Author:
rboren
Message:

Add get_query_var() wrapper for $wp_query->get().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r1516 r1517  
    15811581}
    15821582
     1583function get_query_var($var) {
     1584  global $wp_query;
     1585
     1586  return $wp_query->get($var);
     1587}
     1588
    15831589function have_posts() {
    15841590    global $wp_query;
Note: See TracChangeset for help on using the changeset viewer.