[wp-trac] [WordPress Trac] #59690: Add missing argument type for `supports` in `register_post_type()`

WordPress Trac noreply at wordpress.org
Fri Oct 20 03:38:03 UTC 2023


#59690: Add missing argument type for `supports` in `register_post_type()`
-------------------------------+-----------------------------
 Reporter:  jeremyfelt         |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:
 Severity:  normal             |   Keywords:  has-patch
  Focuses:  docs               |
-------------------------------+-----------------------------
 The `supports` argument used when registering a post type with
 `register_post_type()` is usually passed as an array of features. If not
 included, feature support defaults to "title" and "editor". If set to
 `false`, no feature support is registered for the post type.

 This support for `false` is not currently documented.

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


More information about the wp-trac mailing list