[wp-trac] [WordPress Trac] #64072: Improve error message in `WP_Block_Templates_Registry::unregister()` to include template name
WordPress Trac
noreply at wordpress.org
Thu Oct 30 16:02:12 UTC 2025
#64072: Improve error message in `WP_Block_Templates_Registry::unregister()` to
include template name
--------------------------------------+-----------------------
Reporter: mukesh27 | Owner: mukesh27
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: Editor | Version: 6.7
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: template
--------------------------------------+-----------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"61090" 61090]:
{{{
#!CommitTicketReference repository="" revision="61090"
Editor: Correct error message in
`WP_Block_Templates_Registry::unregister()`.
When attempting to unregister a non-existent block template, the error
message will now include the template name.
Follow-up to [59073].
Props mukesh27, shailu25.
Fixes #64072.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64072#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list