Changeset 51908 for trunk/src/wp-includes/rest-api.php
- Timestamp:
- 10/15/2021 02:03:38 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api.php
r51657 r51908 2636 2636 * @since 5.5.0 Added the `$param` parameter. 2637 2637 * @since 5.6.0 Support the "anyOf" and "oneOf" keywords. 2638 * @since 5.9.0 Added `text-field` and `textarea-field` formats. 2638 2639 * 2639 2640 * @param mixed $value The value to sanitize. … … 2778 2779 case 'uuid': 2779 2780 return sanitize_text_field( $value ); 2781 2782 case 'text-field': 2783 return sanitize_text_field( $value ); 2784 2785 case 'textarea-field': 2786 return sanitize_textarea_field( $value ); 2780 2787 } 2781 2788 }
Note: See TracChangeset
for help on using the changeset viewer.