[wp-trac] [WordPress Trac] #39997: Loads of child style.css using version of parent
WordPress Trac
noreply at wordpress.org
Wed Mar 1 11:44:57 UTC 2017
#39997: Loads of child style.css using version of parent
-------------------------------+------------------------------
Reporter: parsmizban | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: 4.7.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: template
-------------------------------+------------------------------
Changes (by parsmizban):
* status: closed => reopened
* resolution: invalid =>
Comment:
Hi @subrataemfluence,
Friends please please attention!
When you use a child theme, WordPress loads the child style.css
automatically without using any extra code
if you use
[https://developer.wordpress.org/reference/functions/wp_enqueue_style/
wp_enqueue_style] to include child style.css, It double loads this file
So please check the source exactly before commenting here, you can create
a child theme using just 1 style.css file and activate it and check this
issue!
And please don't close this ticket again :)
Thank you for your time ! :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39997#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list