Changeset 44048 for trunk/src/wp-includes/class-wp.php
- Timestamp:
- 12/13/2018 01:25:03 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp.php
r42876 r44048 296 296 if ( isset( $this->extra_query_vars[ $wpvar ] ) ) { 297 297 $this->query_vars[ $wpvar ] = $this->extra_query_vars[ $wpvar ]; 298 } elseif ( isset( $_GET[ $wpvar ] ) && isset( $_POST[ $wpvar ] ) && $_GET[ $wpvar ] !== $_POST[ $wpvar ] ) { 299 wp_die( __( 'A variable mismatch has been detected.' ), __( 'Sorry, you are not allowed to view this item.' ), 400 ); 298 300 } elseif ( isset( $_POST[ $wpvar ] ) ) { 299 301 $this->query_vars[ $wpvar ] = $_POST[ $wpvar ];
Note: See TracChangeset
for help on using the changeset viewer.