Changeset 57291
- Timestamp:
- 01/16/2024 04:06:41 PM (11 months ago)
- Location:
- branches/6.4
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.4
-
branches/6.4/src/wp-content/themes/twentyseventeen/inc/icon-functions.php
r55988 r57291 131 131 if ( 'social' === $args->theme_location ) { 132 132 foreach ( $social_icons as $attr => $value ) { 133 if ( str_contains( $item_output, $attr ) ) {133 if ( false !== strpos( $item_output, $attr ) ) { 134 134 $item_output = str_replace( $args->link_after, '</span>' . twentyseventeen_get_svg( array( 'icon' => esc_attr( $value ) ) ), $item_output ); 135 135 } -
branches/6.4/src/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php
r55988 r57291 47 47 48 48 // Only get audio from the content if a playlist isn't present. 49 if ( ! str_contains( $content, 'wp-playlist-script' ) ) {49 if ( false === strpos( $content, 'wp-playlist-script' ) ) { 50 50 $audio = get_media_embedded_in_content( $content, array( 'audio' ) ); 51 51 } -
branches/6.4/src/wp-content/themes/twentyseventeen/template-parts/post/content-video.php
r55988 r57291 47 47 48 48 // Only get video from the content if a playlist isn't present. 49 if ( ! str_contains( $content, 'wp-playlist-script' ) ) {49 if ( false === strpos( $content, 'wp-playlist-script' ) ) { 50 50 $video = get_media_embedded_in_content( $content, array( 'video', 'object', 'embed', 'iframe' ) ); 51 51 }
Note: See TracChangeset
for help on using the changeset viewer.