Changeset 36177 for trunk/src/wp-includes/class-wp.php
- Timestamp:
- 01/05/2016 08:56:10 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp.php
r36034 r36177 94 94 if ( !in_array($qv, $this->public_query_vars) ) 95 95 $this->public_query_vars[] = $qv; 96 } 97 98 /** 99 * Remove name from list of public query variables. 100 * 101 * @since 4.5.0 102 * 103 * @param string $name Query variable name. 104 */ 105 public function remove_query_var( $name ) { 106 $this->public_query_vars = array_diff( $this->public_query_vars, array( $name ) ); 96 107 } 97 108
Note: See TracChangeset
for help on using the changeset viewer.