[wp-trac] [WordPress Trac] #35019: Fix list formatting in the DocBlock description for `get_post_type_labels()`

WordPress Trac noreply at wordpress.org
Fri Dec 11 18:41:39 UTC 2015


#35019: Fix list formatting in the DocBlock description for
`get_post_type_labels()`
-------------------------------+---------------------------
 Reporter:  DrewAPicture       |       Owner:  DrewAPicture
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.5
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  docs
-------------------------------+---------------------------
Changes (by DrewAPicture):

 * owner:   => DrewAPicture
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35868"]:
 {{{
 #!CommitTicketReference repository="" revision="35868"
 Docs: Remove indentation from a wrapped line in the DocBlock description
 for `get_post_type_labels()` to prevent incorrect formatting when parsed.

 With the false indentation in place, the parser for the Code Reference
 incorrectly interprets it as a block quote.

 Fixes #35019.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35019#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list