WordPress / Documentation-Issue-Tracker

Issue Tracker for the WordPress Documentation team.
https://make.wordpress.org/docs/
Other
81 stars 42 forks source link

Mistake in how to load Frontend stylesheets in the theme development docs #1746

Closed cent-kanayo closed 1 hour ago

cent-kanayo commented 2 hours ago

Issue Description

When explaining the function to be used in loading stylesheets on the Front-end, the docs named wp_enqueue_scripts instead of Image 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.

github-actions[bot] commented 2 hours ago

Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.

cent-kanayo commented 1 hour ago

I wish to be assigned the issue. I want to be a contributor

cent-kanayo commented 1 hour ago

Sorry Guys, actually there was no issue