[wp-trac] [WordPress Trac] #39997: Loads of child style.css using version of parent

WordPress Trac noreply at wordpress.org
Wed Mar 1 00:00:45 UTC 2017


#39997: Loads of child style.css using version of parent
-------------------------------+------------------------------
 Reporter:  parsmizban         |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Script Loader      |     Version:  4.7.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  template
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => reporter-feedback


Comment:

 Hi @parsmizban, welcome to WordPress Trac! Thanks for the ticket.

 It looks like you're not passing the version argument to
 [https://developer.wordpress.org/reference/functions/wp_enqueue_style/
 wp_enqueue_style()], so the WordPress core version is appended by default.

 Could you share the lines of code where you're calling
 `wp_enqueue_style()`?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39997#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list