View full changelog
Added
- Added new
{city}placeholder for inner pages URL.
This week's releases focused on improving inline script handling across various plugins, including the addition of custom data attributes and filters for modifying script content, dependencies, and data attributes. Additionally, a placeholder was added for inner pages URLs in one plugin.
{city} placeholder for inner pages URL.Added an option to prevent fatal errors in the admin backend due to missing Controller and Setup classes.
Added support for custom data attributes in inline critical scripts
airfleet/framework/inline-script-registry/data-attributes)airfleet/wordpress-framework to 1.15.0Added support for custom data attributes in inline critical scripts
airfleet/framework/inline-script-registry/data-attributes)airfleet/wordpress-framework to 1.15.0airfleet/wordpress-framework to 1.15.0Added endpoint /admin/pagespeed/run?url= to run PageSpeed tests for a given URL.
/admin/pagespeed/run?url= to run PageSpeed tests for a given URL.Administrators can configure global data attributes for inline script tags through the admin interface ACF Theme Support Settings.
ScriptsDataAttributes feature that allows administrators to configure global data attributes for inline script tags through the admin interface ACF Theme Support Settings. The attributes are applied via the airfleet/views/enqueue/scripts/critical/inline/data-attributes and airfleet/framework/inline-script-registry/data-attributes filter hooksAdded InlineScriptRegistry for handling inline scripts and introduced related filters.
InlineScriptRegistry for handling inline scripts, instead of using wp_add_inline_scriptairfleet/framework/inline-script-registry/content to modify inline script content before outputairfleet/framework/inline-script-registry/data-attributes to modify script data attributes before output airfleet/framework/inline-script-registry/deps to modify script dependencies before outputAdded a new filter to customize data attributes for critical view scripts
airfleet/views/enqueue/scripts/critical/inline/data-attributes to customize data attributes for critical view scripts