[wp-meta] [Making WordPress.org] #1468: Encoded `<code>` tags in parameter docblocks

Making WordPress.org noreply at wordpress.org
Mon Dec 28 05:54:49 UTC 2015


#1468: Encoded `<code>` tags in parameter docblocks
--------------------------+-------------------------------------
  Reporter:  johnbillion  |      Owner:
      Type:  defect       |     Status:  new
  Priority:  normal       |  Component:  developer.wordpress.org
Resolution:               |   Keywords:  needs-patch
--------------------------+-------------------------------------

Comment (by netweb):

 That said, even though it appears resolved per comment 2 above for that
 use case, another instance of this same issue can be seen in the
 "changelog" section for `get_post_type_labels()`:
 *
 https://developer.wordpress.org/reference/functions/get_post_type_labels/

 The source code: https://core.trac.wordpress.org/browser/tags/4.4/src/wp-
 includes/post.php#L1348
 {{{
 * @since 4.3.0 Added the `featured_image`, `set_featured_image`,
 `remove_featured_image`,
 *              and `use_featured_image` labels.
 * @since 4.4.0 Added the `insert_into_item`, `uploaded_to_this_item`,
 `filter_items_list`,
 *              `items_list_navigation`, and `items_list` labels.
 }}}

 The rendered output does dot wrap the above in "code tags":
 *
 https://developer.wordpress.org/reference/functions/get_post_type_labels/
 * [[Image(https://cldup.com/ZNpzHLqnyR.png)]]

 {{{
 #!text/html
 <section class="changelog">
         <h2>Changelog</h2>
         <ul>
                 <li><strong>Since:</strong> WordPress <a
 href="https://developer.wordpress.org/reference/since/3.0.0/">3.0.0</a>
 </li>
                 <li><strong>Since:</strong> WordPress <a
 href="https://developer.wordpress.org/reference/since/4.3.0/">4.3.0</a>
 <span class="since-description">Added the featured_image,
 set_featured_image, remove_featured_image,              and
 use_featured_image labels.</span></li>
                 <li><strong>Since:</strong> WordPress <a
 href="https://developer.wordpress.org/reference/since/4.4.0/">4.4.0</a>
 <span class="since-description">Added the insert_into_item,
 uploaded_to_this_item, filter_items_list,
 items_list_navigation, and items_list labels.</span></li>
         </ul>
 </section>
 }}}

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


More information about the wp-meta mailing list