Version Switch Changelog

Changelog

3.13.0

Remove service before sending to Website Reports

  • All in SIA_Version_Switch_Admin::transition_post_status()

3.12.0

Use a static WP Query object variable for counting v20.21 pages

  • Add a 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()

3.10.0

Move all role specific CSS out of the plugin

  • Remove almost all rules from sia-version-switch-editor-admin.css

3.9.0

Block access to create new pages

  • For the new create_pages capability return ‘do-not-allow’ from SIA_Version_Switch_Admin::block_create_pages_cap() hooked to map_meta_cap

3.8.1

Allow 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.

  • Change the “disabled” 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

3.8.0

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

  • Post activity events when page reviews or corrections are necessary from the new SIA_Version_Switch_Admin::transition_post_status() hooked to ‘transition_post_status’
  • When all posts are approved send a “Migration to v20.21” type activity notice event
  • Add activity events posts (type “Migration to v20.21” notice) when a settings review is requested or rescinded (level ‘warning’) from SIA_Version_Switch_Admin::acf_maybe_save_config_pending_review_control() hooked to ‘acf/save_post’

3.7.0

Use precise blog options for readiness evaluation

  • Add 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()
  • Add more readiness visual queueues to the Publish block on the Implementation settings page from SIA_Version_Switch_Admin::acf_maybe_register_config_pending_review_control()

3.6.0

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().


3.5.0

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’.


3.4.0

Preserve the request 2021 version in links

Filter term_link and post_link to add_query_arg() the 2021 version when found in $_GET.


3.3.4

Replace the theme instantiated by Timber with 2021 when the preview arg is present


3.3.3

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()


3.3.2

Move admin CSS out to Publishing


3.3.1 =

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()


3.3.0

Restrict available Page Attributes page templates depending on theme and current page template


3.2.0

Make use of Publishing is_publishing()


3.1.0

Outline the v20.21 Pages editorial process in a WP help tab


3.0.1

Fix preview theme switching


3.0.0

Display overall readiness in a Dashboard block


2.0

Register the SIA Website settings page, measure config readiness

  • Defer ACF sync to Deployment and option pages to Publishing;
  • Add the ‘Pending review’ switch for the SIA Website options page.

1.0

Management of v20.21 content

  • Use the template slug (template-v2021.php) as a marker of which pages belong to v20.21
  • Introduce the block editor for v20.21 pages exclusively
  • Allow editors to submit pages for review via the “Pending review” checkbox;
  • Allow reviewer to approve pages by moving them to Private, or send back via the “Needs correction” ACF;
  • Preview v20.21 pages in v20.21 theme;
  • Add a v20.21 view to Pages edit admin page and color code the new state.