Changeset 59143 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 09/30/2024 11:27:34 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r59120 r59143 2944 2944 } 2945 2945 2946 if ( isset( $matches[4] ) && ! empty( $matches[4] ) ) { 2947 $url .= $matches[4]; 2948 } 2949 2946 2950 // Include parentheses in the URL only if paired. 2947 2951 while ( substr_count( $url, '(' ) < substr_count( $url, ')' ) ) { … … 3116 3120 ) 3117 3121 (\)?) # 3: Trailing closing parenthesis (for parenthesis balancing post processing). 3122 (\\.\\w{2,6})? # 4: Allowing file extensions (e.g., .jpg, .png). 3118 3123 ~xS'; 3119 3124 /*
Note: See TracChangeset
for help on using the changeset viewer.