Changeset 56752 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 10/01/2023 12:20:53 AM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r56714 r56752 2012 2012 * Ignoring sanitization to avoid altering meta. Ignoring the nonce check because 2013 2013 * this is hooked on inner core hooks where a valid nonce was already checked. 2014 *2015 * @phpcs:disable WordPress.Security2016 2014 */ 2017 2015 $posted_data = isset( $_POST['data']['wp_autosave'] ) ? $_POST['data']['wp_autosave'] : $_POST; 2018 // phpcs:enable2019 2016 2020 2017 $post_type = get_post_type( $new_autosave['post_parent'] );
Note: See TracChangeset
for help on using the changeset viewer.