[wp-trac] [WordPress Trac] #31636: 4.2-beta1 - PHP warning when enqueuing script on specific pages only

WordPress Trac noreply at wordpress.org
Sat Mar 14 15:32:53 UTC 2015


#31636: 4.2-beta1 - PHP warning when enqueuing script on specific pages only
---------------------------+--------------------
 Reporter:  harmr          |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  4.2
Component:  Script Loader  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+--------------------

Comment (by SergeyBiryukov):

 Replying to [comment:7 ocean90]:
 > I think we should simply revert the code as in comment:1. Makes it
 consistent with `wp_enqueue_style()`.

 That would reintroduce #14488 though?

 Looks like
 [https://core.trac.wordpress.org/attachment/ticket/14488/14488.diff
 sorich87's patch] there was more correct, should we reopen the ticket and
 commit that one instead?

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


More information about the wp-trac mailing list