[wp-trac] [WordPress Trac] #30666: Add a comment to RTL and minified files for new contributors

WordPress Trac noreply at wordpress.org
Wed Dec 10 23:40:01 UTC 2014


#30666: Add a comment to RTL and minified files for new contributors
------------------------------+------------------------------
 Reporter:  SergeyBiryukov    |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+------------------------------
Changes (by netweb):

 * keywords:   => needs-patch


Comment:

 In bbPress we add a 'banner' to the each minified CSS and JavaScript file
 by adding a 'banner' option to the associated Grunt task which results in

 e.g. `/*! bbpress - v2.6.0 - 2014-12-07 8:43:33 PM UTC -
 https://wordpress.org/plugins/bbpress/ */`

 * Minified LTR CSS
  * Source:
 https://bbpress.trac.wordpress.org/browser/trunk/Gruntfile.js#L134
  * Result:
 https://plugins.trac.wordpress.org/browser/bbpress/trunk/includes/admin/css/admin.min.css
 * Minified RTL CSS
  * Source:
 https://bbpress.trac.wordpress.org/browser/trunk/Gruntfile.js#L145
  * Result:
 https://plugins.trac.wordpress.org/browser/bbpress/trunk/includes/admin/css
 /admin-rtl.min.css
 * Minified JS
  * Source:
 https://bbpress.trac.wordpress.org/browser/trunk/Gruntfile.js#L267
  * Result:
 https://plugins.trac.wordpress.org/browser/bbpress/trunk/includes/admin/js/common.min.js

 Any specific verbiage request for the patch? Should we include WordPress
 version? Timestamp? Links?

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


More information about the wp-trac mailing list