Changeset 34284
- Timestamp:
- 09/18/2015 09:40:51 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r34245 r34284 16 16 * 17 17 * @since 1.5.0 18 * @since 3.9.0 The `$default` argument was introduced. 18 19 * 19 20 * @global WP_Query $wp_query 20 21 * 21 22 * @param string $var The variable key to retrieve. 22 * @param mixed $default Value to return if the query variable is not set. Default ''.23 * @return mixed 23 * @param mixed $default Optional. Value to return if the query variable is not set. Default empty. 24 * @return mixed Contents of the query variable. 24 25 */ 25 26 function get_query_var( $var, $default = '' ) { … … 2359 2360 * 2360 2361 * @since 1.5.0 2362 * @since 3.9.0 The `$default` argument was introduced. 2363 * 2361 2364 * @access public 2362 2365 * 2363 2366 * @param string $query_var Query variable key. 2364 * @param mixed $default Value to return if the query variable is not set. Default ''.2365 * @return mixed 2367 * @param mixed $default Optional. Value to return if the query variable is not set. Default empty. 2368 * @return mixed Contents of the query variable. 2366 2369 */ 2367 2370 public function get( $query_var, $default = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.