[wp-trac] [WordPress Trac] #61705: Docs: Correct @return value for _get_block_templates_files().
WordPress Trac
noreply at wordpress.org
Fri Jul 19 15:54:57 UTC 2024
#61705: Docs: Correct @return value for _get_block_templates_files().
--------------------------+-----------------------------
Reporter: dilipbheda | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"58768" 58768]:
{{{
#!CommitTicketReference repository="" revision="58768"
Docs: Correct `@return` value for `_get_block_templates_files()`.
The function returns `null` if `$template_type` is not `wp_template` or
`wp_template_part`.
Follow-up to [52062].
Props dilipbheda, mukesh27.
Fixes #61705.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61705#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list