- Created a new template part called “mast-head”.
- This makes it easier for child themes to change the mast head portion of the website without having to inherit the entirety of header.php in the process.
- This means that functionality attached to the wp_head action are now left alone.
- Refactored the Customizer controls to make use of the new WPC Customizer Manager functionality.
- Now uses the new /customizer.css dynamic stylesheet.
- The old mechanism – custom_style.php – which outputted a <style> tag in the <head> is now deleted.
- Reorganised the Customizer setup in to its own folder and split up the different sections in to different files.
- Introduced a collection of actions and filters for child themes to override and change the setup of Settings, Sections and Controls of Selkie+’s Customizer setup.
- New Actions
- selkie_plus_customizer_breadcrumb_colours_register
- selkie_plus_customizer_button_colours_register
- selkie_plus_customizer_colours_register
- selkie_plus_customizer_cta_register
- selkie_plus_customizer_fonts_register
- selkie_plus_customizer_footer_colours_register
- selkie_plus_customizer_header_colours_register
- New Filters
- selkie_plus_customizer_breadcrumb_colours_settings
- selkie_plus_customizer_button_colours_settings
- selkie_plus_customizer_colours_settings
- selkie_plus_customizer_cta_settings
- selkie_plus_customizer_fonts_settings
- selkie_plus_customizer_footer_colours_settings
- selkie_plus_customizer_header_colours_settings
- Maintained backward compatibility with the previous Customizer implementation.
- Remove the in-line style for <header> tag background colour and moved it in to the new Customizer CSS functionality.
- Fixed a number of instants where the localisation was missing or not specifying the text domain correctly or at all.
PR : https://github.com/dc-thomson/wordpress/pull/944