[wp-trac] [WordPress Trac] #58189: post_type parameter in update_post_caches() accepts more than a single post type
WordPress Trac
noreply at wordpress.org
Sun Jul 16 05:57:03 UTC 2023
#58189: post_type parameter in update_post_caches() accepts more than a single post
type
--------------------------+------------------------------
Reporter: DrewAPicture | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cache API | Version:
Severity: trivial | Resolution:
Keywords: has-patch | Focuses: docs
--------------------------+------------------------------
Comment (by DrewAPicture):
@spacedmonkey I feel like we should leave the parameter as-is. Yes we
convert it to an array anyway with `$ptypes` but it strikes me that
accepting multiples is the exception not the rule.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58189#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list