Changeset 60188 for branches/6.8/src/wp-includes/script-loader.php
- Timestamp:
- 04/25/2025 06:36:02 PM (7 months ago)
- Location:
- branches/6.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/script-loader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.8
-
branches/6.8/src/wp-includes/script-loader.php
r59980 r60188 757 757 $scripts->add( 'common', "/wp-admin/js/common$suffix.js", array( 'jquery', 'hoverIntent', 'utils', 'wp-a11y' ), false, 1 ); 758 758 $scripts->set_translations( 'common' ); 759 760 $bulk_action_observer_ids = array( 761 'bulk_action' => 'action', 762 'changeit' => 'new_role', 763 ); 764 did_action( 'init' ) && $scripts->localize( 765 'common', 766 'bulkActionObserverIds', 767 /** 768 * Filters the array of field name attributes for bulk actions. 769 * 770 * @since 6.8.1 771 * 772 * @param array $bulk_action_observer_ids { 773 * An array of field name attributes for bulk actions. 774 * 775 * @type string $bulk_action The bulk action field name. Default 'action'. 776 * @type string $changeit The new role field name. Default 'new_role'. 777 * } 778 */ 779 apply_filters( 'bulk_action_observer_ids', $bulk_action_observer_ids ) 780 ); 759 781 760 782 $scripts->add( 'wp-sanitize', "/wp-includes/js/wp-sanitize$suffix.js", array(), false, 1 );
Note: See TracChangeset
for help on using the changeset viewer.