Skip to content

Commit 906d826

Browse files
committed
Merge branch 'trunk' into css-api/add-css-token-processor
2 parents 2415bf8 + a906b96 commit 906d826

51 files changed

Lines changed: 315 additions & 179 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/upgrade-develop-testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
db-type: [ 'mysql' ]
7676
db-version: [ '5.7', '8.4' ]
7777
# WordPress 5.3 is the oldest version that supports PHP 7.4.
78-
wp: [ '5.3', '6.8', '6.9' ]
78+
wp: [ '5.3', '6.8', '6.9', '7.0-RC2' ]
7979
multisite: [ false, true ]
8080
with:
8181
os: ${{ matrix.os }}
@@ -101,7 +101,7 @@ jobs:
101101
php: [ '7.4', '8.4' ]
102102
db-type: [ 'mysql' ]
103103
db-version: [ '8.4' ]
104-
wp: [ '6.8', '6.9' ]
104+
wp: [ '6.8', '6.9', '7.0-RC2' ]
105105
multisite: [ false, true ]
106106
with:
107107
os: ${{ matrix.os }}

.github/workflows/upgrade-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
7272
db-type: [ 'mysql' ]
7373
db-version: [ '5.7', '8.0', '8.4', '9.6' ]
74-
wp: [ '6.8', '6.9' ]
74+
wp: [ '6.8', '6.9', '7.0-RC2' ]
7575
multisite: [ false, true ]
7676
with:
7777
os: ${{ matrix.os }}

src/wp-admin/css/color-picker.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@
9494
width: 4rem;
9595
font-size: 12px;
9696
font-family: monospace;
97-
line-height: 2.33333333; /* 28px */
9897
margin: 0;
9998
padding: 0 5px;
10099
vertical-align: top;

src/wp-admin/css/common.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,6 @@ th.action-links {
11151115

11161116
.wp-filter .search-form input[type="search"] {
11171117
min-height: 32px;
1118-
line-height: 2.14285714; /* 30px for 32px height with 14px font */
11191118
padding: 0 8px;
11201119
}
11211120

src/wp-admin/css/customize-controls.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2184,7 +2184,6 @@ p.customize-section-description {
21842184
}
21852185

21862186
.themes-filter-bar .wp-filter-search {
2187-
line-height: 2.14285714; /* 30px for 32px compact input */
21882187
padding: 0 10px 0 30px;
21892188
max-width: 100%;
21902189
width: 40%;

src/wp-admin/css/dashboard.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,6 @@
533533
width: 40%;
534534
margin: 0;
535535
min-height: 32px;
536-
line-height: 2.14285714;
537536
padding: 0 8px;
538537
}
539538

src/wp-admin/css/forms.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ input[type="url"],
6969
input[type="week"] {
7070
padding: 0 12px;
7171
/* inherits font size 14px */
72-
line-height: 2.71428571; /* 38px for 40px min-height */
7372
min-height: 40px;
7473
}
7574

@@ -816,7 +815,6 @@ p.search-box {
816815
p.search-box input[type="search"],
817816
p.search-box input[type="text"] {
818817
min-height: 32px;
819-
line-height: 2.14285714; /* 30px for 32px height with 14px font */
820818
padding: 0 8px;
821819
}
822820

@@ -1237,8 +1235,7 @@ table.form-table td .updated p {
12371235
.options-general-php input.small-text {
12381236
width: 56px;
12391237
margin: -2px 0;
1240-
min-height: 24px;
1241-
line-height: 1.71428571; /* 24px for 14px font size */
1238+
min-height: 32px;
12421239
}
12431240

12441241
.options-general-php .spinner {
@@ -1601,7 +1598,6 @@ table.form-table td .updated p {
16011598
-webkit-appearance: none;
16021599
padding: 0 12px;
16031600
min-height: 40px;
1604-
line-height: 2.5; /* 40px for 16px font */
16051601
}
16061602

16071603
::-webkit-datetime-edit {

src/wp-admin/css/list-tables.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,6 @@ th.sorted a span {
686686
font-size: 13px;
687687
text-align: center;
688688
min-height: 32px;
689-
line-height: 2.30769231; /* 30px for 32px height with 13px font */
690689
padding: 0 8px;
691690
}
692691

@@ -1099,7 +1098,6 @@ tr.inline-edit-row td {
10991098

11001099
.inline-edit-row select,
11011100
.inline-edit-row input:where(:not([type=checkbox],[type=radio],[type=submit],[type=button])) {
1102-
line-height: 2.14285714;
11031101
min-height: 32px;
11041102
padding: 0 8px 0 8px;
11051103
}

src/wp-admin/css/media.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,6 @@ border color while dragging a file over the uploader drop area */
568568

569569
.media-frame.mode-grid .media-toolbar input[type="search"] {
570570
min-height: 32px;
571-
line-height: 2.14285714; /* 30px for 32px height with 14px font */
572571
padding: 0 8px;
573572
}
574573

src/wp-admin/includes/class-pclzip.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ function create($p_filelist)
296296
$v_size--;
297297

298298
// ----- Look for first arg
299-
if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) {
299+
if ((is_int($v_arg_list[0])) && ($v_arg_list[0] > 77000)) {
300300

301301
// ----- Parse the options
302302
$v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options,
@@ -479,7 +479,7 @@ function add($p_filelist)
479479
$v_size--;
480480

481481
// ----- Look for first arg
482-
if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) {
482+
if ((is_int($v_arg_list[0])) && ($v_arg_list[0] > 77000)) {
483483

484484
// ----- Parse the options
485485
$v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options,
@@ -732,7 +732,7 @@ function extract()
732732
$v_arg_list = func_get_args();
733733

734734
// ----- Look for first arg
735-
if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) {
735+
if ((is_int($v_arg_list[0])) && ($v_arg_list[0] > 77000)) {
736736

737737
// ----- Parse the options
738738
$v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options,
@@ -893,7 +893,7 @@ function extractByIndex($p_index)
893893
$v_size--;
894894

895895
// ----- Look for first arg
896-
if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) {
896+
if ((is_int($v_arg_list[0])) && ($v_arg_list[0] > 77000)) {
897897

898898
// ----- Parse the options
899899
$v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options,
@@ -1479,7 +1479,7 @@ function privParseOptions(&$p_options_list, $p_size, &$v_result_list, $v_request
14791479

14801480
// ----- Check the value
14811481
$v_value = $p_options_list[$i+1];
1482-
if ((!is_integer($v_value)) || ($v_value<0)) {
1482+
if ((!is_int($v_value)) || ($v_value<0)) {
14831483
PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Integer expected for option '".PclZipUtilOptionText($p_options_list[$i])."'");
14841484
return PclZip::errorCode();
14851485
}
@@ -1646,7 +1646,7 @@ function privParseOptions(&$p_options_list, $p_size, &$v_result_list, $v_request
16461646
// ----- Parse items
16471647
$v_work_list = explode(",", $p_options_list[$i+1]);
16481648
}
1649-
else if (is_integer($p_options_list[$i+1])) {
1649+
else if (is_int($p_options_list[$i+1])) {
16501650
$v_work_list[0] = $p_options_list[$i+1].'-'.$p_options_list[$i+1];
16511651
}
16521652
else if (is_array($p_options_list[$i+1])) {
@@ -1944,7 +1944,7 @@ function privFileDescrParseAtt(&$p_file_list, &$p_filedescr, $v_options, $v_requ
19441944
break;
19451945

19461946
case PCLZIP_ATT_FILE_MTIME :
1947-
if (!is_integer($v_value)) {
1947+
if (!is_int($v_value)) {
19481948
PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". Integer expected for attribute '".PclZipUtilOptionText($v_key)."'");
19491949
return PclZip::errorCode();
19501950
}

0 commit comments

Comments
 (0)