Ticket #55855: 55855.patch
File 55855.patch, 573 bytes (added by , 2 years ago) |
---|
-
src/wp-admin/includes/ajax-actions.php
2801 2801 * @deprecated 4.3.0 2802 2802 */ 2803 2803 function wp_ajax_wp_fullscreen_save_post() { 2804 $post_id = isset( $_POST['post_ID'] ) ? (int) $_POST['post_ID']: 0;2804 $post_id = filter_input(INPUT_POST, 'post_ID', FILTER_SANITIZE_STRING) !== null ? (int) filter_input(INPUT_POST, 'post_ID', FILTER_SANITIZE_STRING) : 0; 2805 2805 2806 2806 $post = null; 2807 2807