Changeset 46703
- Timestamp:
- 11/11/2019 03:08:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r46664 r46703 652 652 $scripts->add_inline_script( 653 653 'wp-api-fetch', 654 sprintf( 655 'wp.apiFetch.use( wp.apiFetch.createRootURLMiddleware( "%s" ) );', 656 esc_url_raw( get_rest_url() ) 657 ), 658 'after' 659 ); 660 $scripts->add_inline_script( 661 'wp-api-fetch', 654 662 implode( 655 663 "\n", … … 669 677 'after' 670 678 ); 671 $scripts->add_inline_script(672 'wp-api-fetch',673 sprintf(674 'wp.apiFetch.use( wp.apiFetch.createRootURLMiddleware( "%s" ) );',675 esc_url_raw( get_rest_url() )676 ),677 'after'678 );679 680 679 $scripts->add_inline_script( 681 680 'wp-data',
Note: See TracChangeset
for help on using the changeset viewer.