[wp-trac] [WordPress Trac] #37974: Add multi-panel feature to pages through add_theme_support
WordPress Trac
noreply at wordpress.org
Wed Oct 12 09:28:00 UTC 2016
#37974: Add multi-panel feature to pages through add_theme_support
-----------------------------------------+------------------
Reporter: karmatosed | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 4.7
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-ux-feedback needs-patch | Focuses: ui
-----------------------------------------+------------------
Comment (by pento):
[attachment:37974.8.diff] adds the front page to the sortable list. There
are some things that need polishing, but it's enough for testing.
Issues I'm aware of:
* The "Front Page Sections" list needs to refresh when the Front Page
dropdown changes.
* The new behaviour in `WP_Query` should be hidden behind a query arg.
* I haven't tested yet, but I suspect `get_post( get_option(
'page_on_front' ) )` may have some funky behaviour.
* There's probably some insane behaviour if someone runs `wp_delete_post(
get_option( 'page_on_front' ), true )`.
* This needs so many unit tests. I'd like to wrap up the `WP_Query`
changes fairly soon, so we can get piles of tests written.
My Customizer code is... okay. Please review and rewrite as necessary. :-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37974#comment:117>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list