Changeset 54778
- Timestamp:
- 11/09/2022 04:28:07 PM (2 years ago)
- Location:
- branches/6.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.1
-
branches/6.1/src/wp-includes/class-wp-theme-json.php
r54501 r54778 395 395 * Defines which pseudo selectors are enabled for which elements. 396 396 * 397 * The order of the selectors should be: visited, hover, focus, active. 398 * This is to ensure that 'visited' has the lowest specificity 399 * and the other selectors can always overwrite it. 400 * 401 * See https://core.trac.wordpress.org/ticket/56928. 397 402 * Note: this will affect both top-level and block-level elements. 398 403 * … … 400 405 */ 401 406 const VALID_ELEMENT_PSEUDO_SELECTORS = array( 402 'link' => array( ': hover', ':focus', ':active', ':visited' ),403 'button' => array( ': hover', ':focus', ':active', ':visited' ),407 'link' => array( ':visited', ':hover', ':focus', ':active' ), 408 'button' => array( ':visited', ':hover', ':focus', ':active' ), 404 409 ); 405 410
Note: See TracChangeset
for help on using the changeset viewer.