[wp-trac] [WordPress Trac] #56700: wp_update_post function not support meta update
WordPress Trac
noreply at wordpress.org
Fri Sep 30 15:04:24 UTC 2022
#56700: wp_update_post function not support meta update
-------------------------------+-----------------------------
Reporter: borisolhor | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
Hi.
Seems like wp_update_post() function not support meta fields update.
I found post meta update only in wp_insert_post() function
https://github.com/WordPress/wordpress-develop/blob/6.0.2/src/wp-
includes/post.php#L4498-L4502
Is there are some reasons to not include meta fields update in
wp_update_post() function? Or this can be fixed in the future?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56700>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list