[wp-trac] [WordPress Trac] #52836: Docs: indentation error on `register_post_type` function DocBlock parameters

WordPress Trac noreply at wordpress.org
Wed Mar 17 17:28:53 UTC 2021


#52836: Docs: indentation error on `register_post_type` function DocBlock
parameters
---------------------------------------+---------------------
 Reporter:  audrasjb                   |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  5.8
Component:  Posts, Post Types          |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  docs
---------------------------------------+---------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review => 5.8


Comment:

 Thanks for the patch!

 It looks like the `publicly_queryable` parameter [source:tags/5.7/src/wp-
 includes/post.php?marks=1344-1349#L1341 uses an asterisk for list items]
 and does not have this problem, see [attachment:"52836.png"]. So I think
 we can use an asterisk here too for better readability.

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


More information about the wp-trac mailing list