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

WordPress Trac noreply at wordpress.org
Wed Mar 17 16:25:52 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:  Awaiting Review
Component:  Posts, Post Types  |    Version:
 Severity:  normal             |   Keywords:
  Focuses:  docs               |
-------------------------------+-----------------------------
 There is a minor indentation issue in some `register_post_type` function’s
 DocBlock params.

 https://developer.wordpress.org/reference/functions/register_post_type/

 The issue exists for the `$delete_with_user` and the `$template_lock`.
 Indeed, it's better to avoid dashes when items should not be presented as
 a bullet list.

 See screenshot below.

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


More information about the wp-trac mailing list