[wp-meta] [Making WordPress.org] #5304: Incorrect code tags in @param block for WP_Term_Query::__construct()

Making WordPress.org noreply at wordpress.org
Mon Jul 6 18:46:24 UTC 2020


#5304: Incorrect code tags in @param block for WP_Term_Query::__construct()
---------------------------+---------------------
 Reporter:  ocean90        |       Owner:  (none)
     Type:  defect         |      Status:  new
 Priority:  normal         |   Milestone:
Component:  Developer Hub  |  Resolution:
 Keywords:  needs-patch    |
---------------------------+---------------------

Comment (by ocean90):

 [attachment:"5304.diff"] applies `fix_param_hash_formatting()` on each
 description in a hash notation. This seems to work so far, see
 [attachment:"after.png"].

 Unfortunally it keeps breaking the code tags around the auto-linked
 `WP_Meta_Query`, see [attachment:"after-broken-autolink.png"]. The HTML
 is:

 {{{
 <li><b>'meta_query'</b><br /><i><span class='type'>(array)</span></i>
 Optional. Meta query clauses to limit retrieved terms by. See</code><a
 href="https://developer.wordpress.org/reference/classes/wp_meta_query/">WP_Meta_Query</a><code>.
 </li>
 }}}

 @coffee2code Do you have some other ideas to work around the issue?

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


More information about the wp-meta mailing list