[wp-trac] [WordPress Trac] #63975: wp_delete_auto_drafts passes post ID as string instead of as int
WordPress Trac
noreply at wordpress.org
Tue Sep 30 10:12:58 UTC 2025
#63975: wp_delete_auto_drafts passes post ID as string instead of as int
-------------------------------------------------+-------------------------
Reporter: kkmuffme | Owner: SirLouen
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: Posts, Post Types | Version: 3.4
Severity: trivial | Resolution:
Keywords: has-test-info has-patch has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by fakhriaz):
== Test Report
=== Description
This report validates whether the indicated patch works as expected.
Patch tested:https://github.com/WordPress/wordpress-develop/pull/10061
=== Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.2.29
- Server: nginx/1.29.1
- Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
- Browser: Chrome 140.0.0.0
- OS: Linux
- Theme: Twenty Twenty-Five 1.3
- MU Plugins: None activated
- Plugins:
* Test Reports 1.2.0
* Trac 63975 Simple Type Test 1.0
=== Actual Results
1. ✅ Issue resolved with patch.
=== Additional Notes
- I used this code: https://codefile.io/f/WgbcZLQQ8d
=== Supplemental Artifacts
Link of the error image here:
https://ibb.co/bRv7XKzk
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63975#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list