Changeset 57909
- Timestamp:
- 04/01/2024 08:43:46 PM (10 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r57859 r57909 2635 2635 * Sanitize every user field. 2636 2636 * 2637 * If the context is 'raw', then the user object or array will get minimal san tization of the int fields.2637 * If the context is 'raw', then the user object or array will get minimal sanitization of the int fields. 2638 2638 * 2639 2639 * @since 2.3.0 -
trunk/tests/phpunit/tests/fonts/font-library/wpRestFontFamiliesController.php
r57657 r57909 488 488 * @param string $expected Expected settings result. 489 489 */ 490 public function test_create_item_san tize_font_family_settings( $settings, $expected ) {490 public function test_create_item_sanitize_font_family_settings( $settings, $expected ) { 491 491 $settings = array_merge( self::$default_settings, $settings ); 492 492 $expected = array_merge( self::$default_settings, $expected ); … … 753 753 * @param string $expected Expected settings result. 754 754 */ 755 public function test_update_item_san tize_font_family_settings( $settings, $expected ) {755 public function test_update_item_sanitize_font_family_settings( $settings, $expected ) { 756 756 // Unset/modify slug from the data provider, since we're updating rather than creating. 757 757 unset( $settings['slug'] );
Note: See TracChangeset
for help on using the changeset viewer.