[wp-trac] [WordPress Trac] #36217: WP_Post_Type class

WordPress Trac noreply at wordpress.org
Mon May 23 04:59:28 UTC 2016


#36217: WP_Post_Type class
-----------------------------------------------------+------------------
 Reporter:  swissspidy                               |       Owner:
     Type:  enhancement                              |      Status:  new
 Priority:  normal                                   |   Milestone:  4.6
Component:  Posts, Post Types                        |     Version:  2.9
 Severity:  normal                                   |  Resolution:
 Keywords:  dev-feedback has-patch needs-unit-tests  |     Focuses:
-----------------------------------------------------+------------------

Comment (by schlessera):

 First of all, if we are rethinking the data structures, I would also vote
 for changing from "Post_<something>" to "Content_<something>", as
 WordPress wants to be a '''Content''' Management System, not only a Blog
 (= '''Post''' Management System).

 Also, while we're at it, these classes should try to be more SOLID then
 the rest of WordPress, so I think we should aim for a better way for
 dealing with the rewrite rules. As rewriting rules are also used for other
 data types, why not split this out into its own object?

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


More information about the wp-trac mailing list