Changeset 50606 for branches/5.2/tests/phpunit/tests/shortcode.php
- Timestamp:
- 03/26/2021 08:02:01 PM (4 years ago)
- Location:
- branches/5.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
-
branches/5.2/tests/phpunit/tests/shortcode.php
r44569 r50606 746 746 function test_php_and_js_shortcode_attribute_regexes_match() { 747 747 748 $file = file_get_contents( ABSPATH . WPINC . '/js/shortcode.js' );748 $file = file_get_contents( ABSPATH . 'js/_enqueues/wp/shortcode.js' ); 749 749 $matched = preg_match( '|\s+pattern = (\/.+\/)g;|', $file, $matches ); 750 750 $php = get_shortcode_atts_regex();
Note: See TracChangeset
for help on using the changeset viewer.