[wp-trac] [WordPress Trac] #62014: Editor: Add a 'format' parameter to query to enable filtering post formats in the Query Loop block
WordPress Trac
noreply at wordpress.org
Thu Dec 19 21:41:35 UTC 2024
#62014: Editor: Add a 'format' parameter to query to enable filtering post formats
in the Query Loop block
-------------------------------------------------+-------------------------
Reporter: poena | Owner:
| peterwilsoncc
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.7
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch, has-testing-info, needs- | Focuses:
testing, has-unit-tests |
-------------------------------------------------+-------------------------
Comment (by peterwilsoncc):
In [changeset:"59544" 59544]:
{{{
#!CommitTicketReference repository="" revision="59544"
REST API: Protect against fatal error for post types without format
support.
Ignore the `format` parameter introduced in WordPress 6.7 for post types
that do not support post formats. This protects against a fatal error
being thrown in later version of PHP or a warning in earlier versions of
PHP.
Follow up to r59115.
Props dd32, sergeybiryukov, yogeshbhutkar.
Fixes #62646.
See #62014.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62014#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list