- Timestamp:
- 11/09/2022 04:06:47 AM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r54501 r54774 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.