Changeset 52127
- Timestamp:
- 11/10/2021 06:39:40 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r52069 r52127 2625 2625 * 2626 2626 * @param string $javascript Inline JavaScript code. 2627 * @param array $attributes 2627 * @param array $attributes Optional. Key-value pairs representing `<script>` tag attributes. 2628 2628 * @return string String containing inline JavaScript code wrapped around `<script>` tag. 2629 2629 */ … … 2637 2637 * @since 5.7.0 2638 2638 * 2639 * @param array $attributes Key-value pairs representing `<script>` tag attributes. 2640 * Only the attribute name is added to the `<script>` tag for 2641 * entries with a boolean value, and that are true. 2639 * @param array $attributes Key-value pairs representing `<script>` tag attributes. 2640 * Only the attribute name is added to the `<script>` tag for 2641 * entries with a boolean value, and that are true. 2642 * @param string $javascript Inline JavaScript code. 2642 2643 */ 2643 2644 $attributes = apply_filters( 'wp_inline_script_attributes', $attributes, $javascript );
Note: See TracChangeset
for help on using the changeset viewer.