Changeset 7373 for trunk/src/includes/common/formatting.php
- Timestamp:
- 11/18/2025 01:03:20 AM (6 months ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/formatting.php
r7368 r7373 313 313 314 314 // Bail on links that match the current domain 315 if ( preg_match( '%href=["\'](' . preg_quote( set_url_scheme( $home_url, 'http' ) ) . ')%i', $text ) || 316 preg_match( '%href=["\'](' . preg_quote( set_url_scheme( $home_url, 'https' ) ) . ')%i', $text ) 315 if ( 316 preg_match( '%href=["\'](' . preg_quote( set_url_scheme( $home_url, 'http' ) ) . ')%i', $text ) 317 || 318 preg_match( '%href=["\'](' . preg_quote( set_url_scheme( $home_url, 'https' ) ) . ')%i', $text ) 317 319 ) { 318 320 return "<a {$text}>";
Note: See TracChangeset
for help on using the changeset viewer.