[wp-trac] [WordPress Trac] #63975: wp_delete_auto_drafts passes post ID as string instead of as int
WordPress Trac
noreply at wordpress.org
Wed Sep 17 16:17:59 UTC 2025
#63975: wp_delete_auto_drafts passes post ID 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:
reporter-feedback needs-test-info close |
-------------------------------------------------+-------------------------
Comment (by SirLouen):
Now that I have a good protocol, I can easily triage through this type of
ticket faster.
Before fully closing, I would wait to see if @kkmuffme can provide a
reproduction example, to see how he can trigger this fatal error in a real
WP environment. At first sight it doesn't seem to be possible, but who
knows if there is an interesting edge case.
Also, I'm not sure if PHPStan will trigger this with the expected levels
we are going to probably add at first. I'm going to track this report for
a couple of weeks. .
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63975#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list