Changeset 8235
- Timestamp:
- 02/13/2019 01:50:37 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-event/class-event-admin.php
r8220 r8235 422 422 } 423 423 424 // Don't add/remove meta on trash, untrash, restore, etc. 425 if ( empty( $_POST['action'] ) || 'editpost' !== $_POST['action'] ) { 426 return; 427 } 428 424 429 // Make sure the request came from the edit post screen. 425 430 if ( $verify_nonce ) { … … 429 434 } 430 435 431 // Don't add/remove meta on trash, untrash, restore, etc.432 if ( empty( $_POST['action'] ) || 'editpost' !== $_POST['action'] ) {433 return;434 }435 436 436 437 $meta_keys = $this->meta_keys();
Note: See TracChangeset
for help on using the changeset viewer.