Changeset 10955
- Timestamp:
- 05/06/2021 02:21:54 AM (3 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
r10946 r10955 309 309 GP::$translation_warnings->add( str_replace( 'warning_', '', $warning ), array( $this, $warning ) ); 310 310 } 311 312 // https://github.com/GlotPress/GlotPress-WP/pull/1237 313 add_filter( 'gp_warning_placeholders_re', function( $re ) { 314 if ( '%(\d+\$(?:\d+)?)?[bcdefgosuxEFGX]' === $re ) { 315 $re = '(?<!%)%(\d+\$(?:\d+)?)?[bcdefgosuxEFGX%]'; 316 } 317 return $re; 318 } ); 311 319 } 312 320
Note: See TracChangeset
for help on using the changeset viewer.