[wp-trac] [WordPress Trac] #30334: New Precommit Grunt Task to avoid __DIR__ and 5.3+ stuff in Core.

WordPress Trac noreply at wordpress.org
Thu Nov 13 17:30:04 UTC 2014


#30334: New Precommit Grunt Task to avoid __DIR__ and 5.3+ stuff in Core.
------------------------------+-----------------------------
 Reporter:  georgestephanis   |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  trunk
 Severity:  minor             |   Keywords:  has-patch
  Focuses:                    |
------------------------------+-----------------------------
 As was noted in [30311], a `__DIR__` crept in, which isn't available in
 5.2.

 This sounds like an ideal case for Grunt scanning for instances in the
 future to prevent future 'oops' commits.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30334>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list