Changeset 56031 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 06/26/2023 10:15:04 AM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r55988 r56031 908 908 909 909 $url = true; 910 if ( strpos( $show, 'url' ) === false && 911 strpos( $show, 'directory' ) === false && 912 strpos( $show, 'home' ) === false ) { 910 911 if ( ! str_contains( $show, 'url' ) 912 && ! str_contains( $show, 'directory' ) 913 && ! str_contains( $show, 'home' ) 914 ) { 913 915 $url = false; 914 916 } … … 3739 3741 $wp_rich_edit = ! wp_is_mobile() || ( preg_match( '!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'], $match ) && (int) $match[1] >= 534 ); 3740 3742 } elseif ( $is_IE ) { 3741 $wp_rich_edit = ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Trident/7.0;' ) !== false);3743 $wp_rich_edit = str_contains( $_SERVER['HTTP_USER_AGENT'], 'Trident/7.0;' ); 3742 3744 } elseif ( $is_gecko || $is_chrome || $is_edge || ( $is_opera && ! wp_is_mobile() ) ) { 3743 3745 $wp_rich_edit = true;
Note: See TracChangeset
for help on using the changeset viewer.