Changeset 55822 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php
- Timestamp:
- 05/17/2023 10:44:21 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php
r53760 r55822 793 793 'context' => array( 'view', 'edit', 'embed' ), 794 794 'arg_options' => array( 795 'sanitize_callback' => function ( $value ) {795 'sanitize_callback' => static function ( $value ) { 796 796 return array_map( 'sanitize_html_class', wp_parse_list( $value ) ); 797 797 }, … … 874 874 'context' => array( 'view', 'edit', 'embed' ), 875 875 'arg_options' => array( 876 'sanitize_callback' => function ( $value ) {876 'sanitize_callback' => static function ( $value ) { 877 877 return array_map( 'sanitize_html_class', wp_parse_list( $value ) ); 878 878 },
Note: See TracChangeset
for help on using the changeset viewer.