Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated async attribute to correct implementation. This change in version WordPress 6.3, to allow scripts to have async defer added when enqueueing: https://make.wordpress.org/core/2023/07/14/registering-scripts-with-async-and-defer-attributes-in-wordpress-6-3/ Original code causes issues for some folks whereby the src was added as src="https://cdn.onesignal.com/sdks/OneSignalSDK.js' async='async" causing a 404. Originally assumed to be CDn/Optimise type plugin problem.
- Loading branch information