[wp-trac] [WordPress Trac] #50567: Set $post filter in update_post_cache()
WordPress Trac
noreply at wordpress.org
Wed Nov 3 23:31:33 UTC 2021
#50567: Set $post filter in update_post_cache()
----------------------------------------+-----------------------------
Reporter: Cybr | Owner: hellofromTonya
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.9
Component: Posts, Post Types | Version: 5.5
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses: performance
----------------------------------------+-----------------------------
Comment (by peterwilsoncc):
I've just caught up on this, I'd like to get it in pre feature freeze.
I still think the cached value will need to be `raw` sanitization as
that's the most common use case (almost all calls to get post are simply
`get_post( $post_id )`).
@Cybr would you mind creating a PR on github.com/wordpress/wordpress-
develop? That will allow @hellofromTonya and I to collaborate on the PR,
whereas if either of us create one you will be unable to push to it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50567#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list