Make WordPress Core


Ignore:
Timestamp:
11/12/2016 11:38:43 PM (8 years ago)
Author:
karmatosed
Message:

Twenty Seventeen: Keyboard navigation on Safari 10 fix

This resolves the weird behaviour on Safari 10 has some weird behaviour.

Props rianrietveld, swisspidy, afercia, sami.keijonen, arush, davidakennedy
Fixes #38387

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/inc/icon-functions.php

    r39164 r39206  
    103103     * See https://core.trac.wordpress.org/ticket/38387.
    104104     */
    105     $svg .= ' <use xlink:href="#icon-' . esc_html( $args['icon'] ) . '"></use> ';
     105    $svg .= ' <use href="#icon-' . esc_html( $args['icon'] ) . '" xlink:href="#icon-' . esc_html( $args['icon'] ) . '"></use> ';
    106106
    107107    // Add some markup to use as a fallback for browsers that do not support SVGs.
Note: See TracChangeset for help on using the changeset viewer.