[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 11:47:44 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:
---------------------------+--------------------
Changes (by ocean90):

 * keywords:   => has-patch


Comment:

 I think we should simply revert the code as in comment:1. Makes it
 consistent with `wp_enqueue_style()`.

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


More information about the wp-trac mailing list