[wp-trac] [WordPress Trac] #31165: Custom post types that do not support content should not have an excerpt mode option

WordPress Trac noreply at wordpress.org
Wed Jan 28 19:12:38 UTC 2015


#31165: Custom post types that do not support content should not have an excerpt
mode option
-------------------------------+-----------------------------
 Reporter:  m0r7if3r           |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  4.1
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 == Setup ==

 Register a post type that doesn't support anything but titles with
 `show_ui` set to `true`, then view the listing of all posts of that post
 type in the backend.

 == Expected Behavior ==

 There should not be an option to show the excerpt overview, since no
 excerpts can exists, as content is not supported.

 == Actual Behavior ==

 Excerpt mode is available.  Enabling it does not do anything, potentially
 creating confusion for the end user.

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


More information about the wp-trac mailing list