[wp-trac] [WordPress Trac] #35669: Store widgets in a custom post type instead of options

WordPress Trac noreply at wordpress.org
Thu Aug 18 15:44:13 UTC 2016


#35669: Store widgets in a custom post type instead of options
--------------------------+------------------------------
 Reporter:  westonruter   |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Widgets       |     Version:  2.8
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+------------------------------

Comment (by MattyRob):

 First I need to admit that I'm obsessive about my WordPress databases and
 I like to keep them just so.

 Reading this ticket sent me into a panic that more 'non-post' stuff is
 going to be stored in the wp_posts table.

 If this does get implement please, please, please can you keep the current
 system as a fallback and implement some sort of filter so I can keep my
 Widgets out of my post table.

 I think for me the issue is that the wp_posts table is now poorly named
 and used for stuff it was not originally intended for. (I actually
 implement my nav menus though code to keep entries out of the database!)

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


More information about the wp-trac mailing list