[wp-meta] [Making WordPress.org] #2847: allow filtering of @since tax archive by the type of change
Making WordPress.org
noreply at wordpress.org
Mon Oct 29 20:03:07 UTC 2018
#2847: allow filtering of @since tax archive by the type of change
--------------------------------------------------+---------------------
Reporter: pbiron | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Developer Hub | Resolution:
Keywords: has-patch dev-feedback needs-refresh |
--------------------------------------------------+---------------------
Comment (by keesiemeijer):
This ticket was discussed in slack.
https://wordpress.slack.com/archives/C02RRH4GA/p1540836537085900
The `introduced`, `modified` and `deprecated` metas should be added to
posts by the phpdoc-parser. The deprecated version should also be added to
the posts `wp-parser-since` terms. This allows the deprecated posts to be
displayed in the since archives. See #3699.
My proposal was to use post meta instead of term meta. With post meta you
can do queries like this.
{{{
$args = array(
'post_type' => 'wp-parser-function',
'meta_key' => 'deprecated'
'meta_value' => '4.9.0',
);
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2847#comment:14>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list