Opened 9 years ago
Closed 9 years ago
#41686 closed defect (bug) (duplicate)
Store Widgets in the Posts table
| Reported by: | spacedmonkey | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Widgets | Version: | |
| Severity: | normal | Keywords: | needs-patch needs-unit-tests |
| Cc: | Focuses: | performance |
Description
Currently widgets are stored in the options table. They can be accessed using WP_Widget. But storing it options has a number of drawbacks, most of which is performance. Migrating the data to the posts table as a new post type has a number of benefits.
- Revisions for widgets
- Author
- Date created / edited
- Trashing widgets
- Interact with widgets using the posts endpoint
- Easier migration of data using the wordpress exporter
- Post meta for widgets for better extending.
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #35669.