[wp-cvs] wordpress/wp-includes functions.php,1.138,1.139

Ryan Boren rboren at users.sourceforge.net
Sun Aug 8 16:47:24 UTC 2004


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13843

Modified Files:
	functions.php 
Log Message:
Add get_query_var() wrapper for $wp_query->get().


Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.138
retrieving revision 1.139
diff -C2 -d -r1.138 -r1.139
*** functions.php	8 Aug 2004 15:31:50 -0000	1.138
--- functions.php	8 Aug 2004 16:47:22 -0000	1.139
***************
*** 1581,1584 ****
--- 1581,1590 ----
  }
  
+ function get_query_var($var) {
+   global $wp_query;
+ 
+   return $wp_query->get($var);
+ }
+ 
  function have_posts() {
      global $wp_query;




More information about the cvs mailing list