General: revert [55045].

This changeset reverts [55045] to maintain backward compatibility for developers using the function in their SCSS.

Follow-up to [55045].

Unprops audrasjb.
Props peterwilsoncc, kebbet.
See #56811.

Built from https://develop.svn.wordpress.org/trunk@55048


git-svn-id: http://core.svn.wordpress.org/trunk@54581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-01-11 09:17:21 +00:00
parent 07a0b36562
commit c5409cd17b
18 changed files with 71 additions and 3 deletions

View File

@ -2,7 +2,11 @@
@import 'variables'; @import 'variables';
@import 'mixins'; @import 'mixins';
@function url-friendly-color( $color ) { /**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
@function url-friendly-colour( $color ) {
@return '%23' + str-slice( '#{ $color }', 2, -1 ); @return '%23' + str-slice( '#{ $color }', 2, -1 );
} }
@ -62,7 +66,7 @@ span.wp-media-buttons-icon:before {
/* Forms */ /* Forms */
input[type=checkbox]:checked::before { input[type=checkbox]:checked::before {
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27#{url-friendly-color($form-checked)}%27%2F%3E%3C%2Fsvg%3E"); content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27#{url-friendly-colour($form-checked)}%27%2F%3E%3C%2Fsvg%3E");
} }
input[type=radio]:checked::before { input[type=radio]:checked::before {

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f5f5f5; background: #f5f5f5;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f5f5f5; background: #f5f5f5;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct * Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color. * highlights/shadows, based on a base color.
*/ */
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body { body {
background: #f1f1f1; background: #f1f1f1;
} }

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.2-alpha-55047'; $wp_version = '6.2-alpha-55048';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.