Skip to content

Commit 185f311

Browse files
committed
Merge branch 'trunk' into remove-ie-conditionals
2 parents 14c196b + 8316c7d commit 185f311

File tree

21 files changed

+733
-496
lines changed

21 files changed

+733
-496
lines changed

.github/workflows/phpunit-tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ jobs:
202202
matrix:
203203
os: [ ubuntu-24.04 ]
204204
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
205-
db-type: [ 'mysql' ]
206-
db-version: [ '9.4' ]
205+
db-type: [ 'mysql', 'mariadb' ]
206+
db-version: [ '9.4', '12.0' ]
207207
multisite: [ false, true ]
208208
memcached: [ false ]
209209
db-innovation: [ true ]
@@ -214,6 +214,11 @@ jobs:
214214
db-version: '9.4'
215215
- php: '7.3'
216216
db-version: '9.4'
217+
# Exclude version combinations that don't exist.
218+
- db-type: 'mariadb'
219+
db-version: '9.4'
220+
- db-type: 'mysql'
221+
db-version: '12.0'
217222
with:
218223
os: ${{ matrix.os }}
219224
php: ${{ matrix.php }}

Gruntfile.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,8 +838,17 @@ module.exports = function(grunt) {
838838
'!**/*.min.js',
839839
'!wp-admin/js/custom-header.js', // Why? We should minify this.
840840
'!wp-admin/js/farbtastic.js',
841+
'!wp-includes/js/wp-emoji-loader.js', // This is a module. See the emoji-loader task below.
841842
]
842843
},
844+
'emoji-loader': {
845+
options: {
846+
module: true,
847+
toplevel: true,
848+
},
849+
src: WORKING_DIR + 'wp-includes/js/wp-emoji-loader.js',
850+
dest: WORKING_DIR + 'wp-includes/js/wp-emoji-loader.min.js',
851+
},
843852
'jquery-ui': {
844853
options: {
845854
// Preserve comments that start with a bang.
@@ -1549,6 +1558,7 @@ module.exports = function(grunt) {
15491558

15501559
grunt.registerTask( 'uglify:all', [
15511560
'uglify:core',
1561+
'uglify:emoji-loader',
15521562
'uglify:jquery-ui',
15531563
'uglify:imgareaselect',
15541564
'uglify:jqueryform',

0 commit comments

Comments
 (0)