[wp-trac] [WordPress Trac] #63975: wp_delete_auto_drafts passes post ID as string instead of as int
WordPress Trac
noreply at wordpress.org
Sun Sep 28 19:18:48 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: Future
| Release
Component: Posts, Post Types | Version: 3.4
Severity: trivial | Resolution:
Keywords: has-test-info needs-patch needs- | Focuses:
testing |
-------------------------------------------------+-------------------------
Changes (by SirLouen):
* keywords: has-patch changes-requested has-test-info => has-test-info
needs-patch needs-testing
Comment:
== Testing Instructions
Not straightforward to test, but simply you can use any form of code
similar to the [https://core.trac.wordpress.org/ticket/63975#comment:17
one provided here]. Without the patch, it should throw a typing
error; with the patch, it shouldn't anymore.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63975#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list