Closed cent-kanayo closed 1 hour ago
When explaining the function to be used in loading stylesheets on the Front-end, the docs named wp_enqueue_scripts instead of wp_enqueue_style. However, it did use the correct function in the code example.
https://developer.wordpress.org/themes/core-concepts/including-assets/
It can be confusing for beginners.
Replacing wp_enqueue_scripts with wp_enqueue_style.
Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.
I wish to be assigned the issue. I want to be a contributor
Sorry Guys, actually there was no issue
Issue Description
When explaining the function to be used in loading stylesheets on the Front-end, the docs named wp_enqueue_scripts instead of wp_enqueue_style. However, it did use the correct function in the code example.
URL of the Page with the Issue
https://developer.wordpress.org/themes/core-concepts/including-assets/
Section of Page with the issue
Front-end stylesheets
Why is this a problem?
It can be confusing for beginners.
Suggested Fix
Replacing wp_enqueue_scripts with wp_enqueue_style.