Changeset 11018 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-custom-warnings/wporg-gp-custom-warnings.php
- Timestamp:
- 06/08/2021 01:21:53 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-custom-warnings/wporg-gp-custom-warnings.php
r11015 r11018 276 276 public function warning_unexpected_sprintf_token( $original, $translation ) { 277 277 $unexpected_tokens = []; 278 $is_sprintf = preg_match( '!%((\d+\$(?:\d+)?)?[bcdefgosuxl]) !i', $original );278 $is_sprintf = preg_match( '!%((\d+\$(?:\d+)?)?[bcdefgosuxl])\b!i', $original ); 279 279 280 280 // Find any percents that are not valid or escaped.
Note: See TracChangeset
for help on using the changeset viewer.