Remove service before sending to Website Reports
SIA_Version_Switch_Admin::transition_post_status()Use a static WP Query object variable for counting v20.21 pages
SIA_Version_Switch_Public::get_v2021_pages_query_object() method that returns a static functionn variable when counting v20.21 pages in SIA_Version_Switch_Public::count_v2021_pages()Move all role specific CSS out of the plugin
sia-version-switch-editor-admin.cssBlock access to create new pages
create_pages capability return ‘do-not-allow’ from SIA_Version_Switch_Admin::block_create_pages_cap() hooked to map_meta_capAllow submitting Implementation for review above 10 settings
Some terms will not be translated (e.g. ‘Feedback’ in German) which would prevent even submitting settings for review.
checkbox and the submission reversal switches to check if 10 settings are filled out in SIA_Version_Switch_Admin::acf_maybe_register_config_pending_review_control() and SIA_Version_Switch_Admin::acf_maybe_save_config_pending_review_control() respectively Post migration progress to the Network Activity in the Wanda campaign
While a post’s status moves through the post statuses watched for the migration post novice level events to Network Activity. Same when a settings review is requested
SIA_Version_Switch_Admin::transition_post_status() hooked to ‘transition_post_status’ SIA_Version_Switch_Admin::acf_maybe_save_config_pending_review_control() hooked to ‘acf/save_post’Use precise blog options for readiness evaluation
static and start using options set by SIA Publishing (sia_publishing_settings_total and sia_publishing_settings_filled_out) for evaluating readiness in SIA_Version_Switch_Public::evaluate_config_readiness()SIA_Version_Switch_Admin::acf_maybe_register_config_pending_review_control()Preserve the request 2021 version for custom post types
Filter post_type_link with SIA_Version_Switch_Public::add_version_arg_to_url() in SIA_Version_Switch::define_public_hooks().
Finally add a ‘v20.21’ Pages submenu
Filter admin_menu with SIA_Version_Switch_Admin::register_pages_submenu() and add the ‘v20.21 Pages’ admin menu under ‘Pages’.
Preserve the request 2021 version in links
Filter term_link and post_link to add_query_arg() the 2021 version when found in $_GET.
Replace the theme instantiated by Timber with 2021 when the preview arg is present
Call Publishing’s ACF field group import from own group import and stop checking for ACF field groups to import while DOING_AJAX in SIA_Version_Switch_Admin::maybe_sync_acf()
Move admin CSS out to Publishing
Fix incorrect Publishing options page screen id from guard clauses
Use correct screen ids in SIA_Version_Switch_Admin::acf_maybe_register_config_pending_review_control() hooked to and SIA_Version_Switch_Admin::acf_maybe_save_config_pending_review_control()
Restrict available Page Attributes page templates depending on theme and current page template
Make use of Publishing is_publishing()
Outline the v20.21 Pages editorial process in a WP help tab
Fix preview theme switching
Display overall readiness in a Dashboard block
Register the SIA Website settings page, measure config readiness
Management of v20.21 content