Changeset 44073 for branches/3.8/src/wp-includes/class-wp.php
- Timestamp:
- 12/13/2018 02:00:21 AM (7 years ago)
- Location:
- branches/3.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/class-wp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
-
branches/3.8/src/wp-includes/class-wp.php
r26644 r44073 266 266 if ( isset( $this->extra_query_vars[$wpvar] ) ) 267 267 $this->query_vars[$wpvar] = $this->extra_query_vars[$wpvar]; 268 elseif ( isset( $_GET[ $wpvar ] ) && isset( $_POST[ $wpvar ] ) && $_GET[ $wpvar ] !== $_POST[ $wpvar ] ) 269 wp_die( __( 'A variable mismatch has been detected.' ), __( 'Sorry, you are not allowed to view this item.' ), 400 ); 268 270 elseif ( isset( $_POST[$wpvar] ) ) 269 271 $this->query_vars[$wpvar] = $_POST[$wpvar];
Note: See TracChangeset
for help on using the changeset viewer.