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

WordPress Trac noreply at wordpress.org
Fri Aug 19 06:40:08 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):

 Thanks for trying but it's not really helping :) (I did tell you I was
 obsessive!)

 I've disabled revisions too - I wants 1 table row for each post on my site
 without anything else in there, essentially consecutive ID numbers and I
 actually have that on my site via some plugin changes (for nav-menus and
 disabling revisions) and a small hack to the post-new.php file. Heck, I've
 even written a plugin for myself the re-IDs all of the wp_post entries in
 consecutive number order dropping auto-drafts, revisions and nav-menu
 entries.

 I guess my other option if this goes ahead without any fall back is to
 disable Widgets in my themes and hard code them in my sidebar.php file.

 As I said above it'd be nice to keep a fall back but if that's not
 possible these changes still need to work on themes without Widget support
 enable.

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


More information about the wp-trac mailing list