[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 21:28:39 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 pbiron):
Replying to [comment:14 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',
> );
> }}}
I don't remember right now why I did it with term metas instead of post
metas...but there was a reason I found post metas "harder :-)
That said, I'm not wedded to **any** particular implementation as long as
the //front-end// functionality is there!
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2847#comment:15>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list