[wp-trac] [WordPress Trac] #37441: get_default_post_to_edit() function is broken
WordPress Trac
noreply at wordpress.org
Mon Sep 1 11:46:31 UTC 2025
#37441: get_default_post_to_edit() function is broken
-------------------------------------------------+-------------------------
Reporter: tfrommen | Owner: rishabhwp
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: Posts, Post Types | Version: 5.6
Severity: normal | Resolution:
Keywords: has-test-info good-first-bug has- | Focuses:
patch has-unit-tests | administration
-------------------------------------------------+-------------------------
Comment (by rishabhwp):
Without that part, [https://github.com/R1shabh-Gupta/wordpress-
develop/blob/d1635814f678e6de33edf15ab5ad4446c99f3cd6/tests/phpunit/tests/admin/includesPost.php#L1334
the test I added in the PR] fails. It also seems more appropriate to stop
the execution with a proper message.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37441#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list