[wp-meta] [Making WordPress.org] #2847: allow filtering of @since tax archive by the type of change

Making WordPress.org noreply at wordpress.org
Fri Jun 2 01:42:24 UTC 2017


#2847: allow filtering of @since tax archive by the type of change
------------------------------------+------------------
 Reporter:  pbiron                  |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:
Component:  Developer Hub           |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------
Changes (by pbiron):

 * keywords:   => has-patch dev-feedback


Comment:

 The patch I just added implements the "type of change" filtering.

 I'm more than open to suggestions for changes to the implementation if
 people think the general idea is a good one.

 Of particular note is the fact that I do the filtering in a function
 hooked to `posts_pre_query`.  This seemed the easiest way to do it at this
 stage.  What would be easier  though would be if `phpdoc-parser` were to
 add a specific post_meta that indicated whether a `@since` was an
 "introduction" or a "modification" and then the filtering would be done
 with a simple `meta_query`.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2847#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list