Skip to content

Commit 96cc018

Browse files
b1ink0ShyamGadde
andcommitted
Add re-minification instructions notice to the Twenty Nineteen, Twenty Twenty, and Twenty Twenty-One theme stylesheet header comment
Co-authored-by: Shyamsundar Gadde <[email protected]>
1 parent d3beb63 commit 96cc018

File tree

11 files changed

+81
-2
lines changed

11 files changed

+81
-2
lines changed

src/wp-content/themes/twentynineteen/style-rtl.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ Abstract Waves by HD Wallpapers, CC0. https://stocksnap.io/photo/abstract-waves-
2929
Abstract Bokeh by HD Wallpapers, CC0. https://stocksnap.io/photo/abstract-bokeh-P4KVZBMQ6L
3030
Colorful Bokeh by HD Wallpapers, CC0. https://stocksnap.io/photo/colorful-bokeh-VN4G84GL8H
3131
*/
32+
/*
33+
* NOTICE:
34+
* This file is served minified to improve performance. In order to see edits
35+
* to this file on the frontend, either enable the `SCRIPT_DEBUG` constant or
36+
* run `npm run build` to regenerate `style.min.css`. Alternatively, if you do
37+
* not want to use minified version, then remove the `style.min.css` version from
38+
* being enqueued in `functions.php`.
39+
*/
3240
/*--------------------------------------------------------------
3341
>>> TABLE OF CONTENTS:
3442
----------------------------------------------------------------

src/wp-content/themes/twentynineteen/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ Abstract Waves by HD Wallpapers, CC0. https://stocksnap.io/photo/abstract-waves-
2929
Abstract Bokeh by HD Wallpapers, CC0. https://stocksnap.io/photo/abstract-bokeh-P4KVZBMQ6L
3030
Colorful Bokeh by HD Wallpapers, CC0. https://stocksnap.io/photo/colorful-bokeh-VN4G84GL8H
3131
*/
32+
/*
33+
* NOTICE:
34+
* This file is served minified to improve performance. In order to see edits
35+
* to this file on the frontend, either enable the `SCRIPT_DEBUG` constant or
36+
* run `npm run build` to regenerate `style.min.css`. Alternatively, if you do
37+
* not want to use minified version, then remove the `style.min.css` version from
38+
* being enqueued in `functions.php`.
39+
*/
3240
/*--------------------------------------------------------------
3341
>>> TABLE OF CONTENTS:
3442
----------------------------------------------------------------

src/wp-content/themes/twentynineteen/style.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ Abstract Bokeh by HD Wallpapers, CC0. https://stocksnap.io/photo/abstract-bokeh-
2929
Colorful Bokeh by HD Wallpapers, CC0. https://stocksnap.io/photo/colorful-bokeh-VN4G84GL8H
3030
*/
3131

32+
/*
33+
* NOTICE:
34+
* This file is served minified to improve performance. In order to see edits
35+
* to this file on the frontend, either enable the `SCRIPT_DEBUG` constant or
36+
* run `npm run build` to regenerate `style.min.css`. Alternatively, if you do
37+
* not want to use minified version, then remove the `style.min.css` version from
38+
* being enqueued in `functions.php`.
39+
*/
40+
3241
/*--------------------------------------------------------------
3342
>>> TABLE OF CONTENTS:
3443
----------------------------------------------------------------

src/wp-content/themes/twentytwenty/style-rtl.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ Use it to make something cool, have fun, and share what you've learned
2121
with others.
2222
*/
2323

24+
/*
25+
* NOTICE:
26+
* This file is served minified to improve performance. In order to see edits
27+
* to this file on the frontend, either enable the `SCRIPT_DEBUG` constant or
28+
* run `npm run build` to regenerate `style.min.css`. Alternatively, if you do
29+
* not want to use minified version, then remove the `style.min.css` version from
30+
* being enqueued in `functions.php`.
31+
*/
32+
2433
/*--------------------------------------------------------------
2534
>>> TABLE OF CONTENTS:
2635
----------------------------------------------------------------

src/wp-content/themes/twentytwenty/style.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ Use it to make something cool, have fun, and share what you've learned
2121
with others.
2222
*/
2323

24+
/*
25+
* NOTICE:
26+
* This file is served minified to improve performance. In order to see edits
27+
* to this file on the frontend, either enable the `SCRIPT_DEBUG` constant or
28+
* run `npm run build` to regenerate `style.min.css`. Alternatively, if you do
29+
* not want to use minified version, then remove the `style.min.css` version from
30+
* being enqueued in `functions.php`.
31+
*/
32+
2433
/*--------------------------------------------------------------
2534
>>> TABLE OF CONTENTS:
2635
----------------------------------------------------------------

src/wp-content/themes/twentytwentyone/assets/css/ie.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ Twenty Twenty-One WordPress Theme, (C) 2020 WordPress.org
1919
Twenty Twenty-One is distributed under the terms of the GNU GPL.
2020
*/
2121

22+
/*
23+
* NOTICE:
24+
* This file is served minified to improve performance. In order to see edits
25+
* to this file on the frontend, either enable the `SCRIPT_DEBUG` constant or
26+
* run `npm run build` to regenerate `style.min.css`. Alternatively, if you do
27+
* not want to use minified version, then remove the `style.min.css` version from
28+
* being enqueued in `functions.php`.
29+
*/
30+
2231
/**
2332
* SETTINGS
2433
* File-header..........The file header for the themes style.css file.

src/wp-content/themes/twentytwentyone/assets/css/ie.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/wp-content/themes/twentytwentyone/assets/sass/style.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
@import "01-settings/file-header";
22

3+
/*
4+
* NOTICE:
5+
* This file is served minified to improve performance. In order to see edits
6+
* to this file on the frontend, either enable the `SCRIPT_DEBUG` constant or
7+
* run `npm run build` to regenerate `style.min.css`. Alternatively, if you do
8+
* not want to use minified version, then remove the `style.min.css` version from
9+
* being enqueued in `functions.php`.
10+
*/
11+
312
/**
413
* SETTINGS
514
* File-header..........The file header for the themes style.css file.

src/wp-content/themes/twentytwentyone/style-rtl.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ Twenty Twenty-One WordPress Theme, (C) 2020 WordPress.org
1919
Twenty Twenty-One is distributed under the terms of the GNU GPL.
2020
*/
2121

22+
/*
23+
* NOTICE:
24+
* This file is served minified to improve performance. In order to see edits
25+
* to this file on the frontend, either enable the `SCRIPT_DEBUG` constant or
26+
* run `npm run build` to regenerate `style.min.css`. Alternatively, if you do
27+
* not want to use minified version, then remove the `style.min.css` version from
28+
* being enqueued in `functions.php`.
29+
*/
30+
2231
/**
2332
* SETTINGS
2433
* File-header..........The file header for the themes style.css file.

src/wp-content/themes/twentytwentyone/style.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ Twenty Twenty-One WordPress Theme, (C) 2020 WordPress.org
1919
Twenty Twenty-One is distributed under the terms of the GNU GPL.
2020
*/
2121

22+
/*
23+
* NOTICE:
24+
* This file is served minified to improve performance. In order to see edits
25+
* to this file on the frontend, either enable the `SCRIPT_DEBUG` constant or
26+
* run `npm run build` to regenerate `style.min.css`. Alternatively, if you do
27+
* not want to use minified version, then remove the `style.min.css` version from
28+
* being enqueued in `functions.php`.
29+
*/
30+
2231
/**
2332
* SETTINGS
2433
* File-header..........The file header for the themes style.css file.

0 commit comments

Comments
 (0)