[wp-trac] [WordPress Trac] #63975: wp_delete_auto_drafts passes post type as string instead of as int
WordPress Trac
noreply at wordpress.org
Mon Sep 15 12:56:40 UTC 2025
#63975: wp_delete_auto_drafts passes post type as string instead of as int
-----------------------------------------+------------------------------
Reporter: kkmuffme | Owner: kkmuffme
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 3.4
Severity: trivial | Resolution:
Keywords: has-patch changes-requested | Focuses:
-----------------------------------------+------------------------------
Comment (by SirLouen):
Replying to [comment:3 siliconforks]:
> `foreach ( (array) ...` is a very common PHP idiom - it is used several
hundred times throughout the WordPress codebase:
Yeah, but I'm also trying to figure out how this proposed patch popped out
and not the `array` one.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63975#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list