Incorrect Sanitization in post-types-admin.php
-
The function
radio_station_post_save_data
that is hooked to the actionsave_post
uses the wrong sanitization function to sanitize the value for$_POST[ post_showblog_id ]
( usessanitize_text_field
instead of aarray_map
ormap_deep
function ). Due to this, the array passed in$_POST[ post_showblog_id ]
is converted to empty string and the meta value is not stored for the post.The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Incorrect Sanitization in post-types-admin.php’ is closed to new replies.