[wp-trac] [WordPress Trac] #40413: Handle `register_post_type` support's array

WordPress Trac noreply at wordpress.org
Mon Sep 23 15:56:04 UTC 2019


#40413: Handle `register_post_type` support's array
-------------------------------------------------+-------------------------
 Reporter:  MaximeCulea                          |       Owner:  desrosj
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.3
Component:  Posts, Post Types                    |     Version:  2.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note commit                                    |
-------------------------------------------------+-------------------------

Comment (by pbiron):

 @desrosj also note: when I created that screenshot I fixed a slight error
 in the patch (that I thought I mentioned when I posted the screenshot but
 now see I didn't).

 As it stands, the patch will produce a DocBlock that ends with:

  ...Default is an array.  containing 'title' and 'editor'

 and that should be:

  ...Default is an array containing 'title' and 'editor'.

 i.e., no `full-stop` after the word `array`.

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


More information about the wp-trac mailing list