Make WordPress Core

Changeset 57909


Ignore:
Timestamp:
04/01/2024 08:43:46 PM (3 months ago)
Author:
audrasjb
Message:

General: Fix various typo issues found in deprecated.php and Font Library unit tests.

Props shailu25, mukesh27, sabernhardt, audrasjb.
Fixes #60870.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/deprecated.php

    r57859 r57909  
    26352635 * Sanitize every user field.
    26362636 *
    2637  * If the context is 'raw', then the user object or array will get minimal santization of the int fields.
     2637 * If the context is 'raw', then the user object or array will get minimal sanitization of the int fields.
    26382638 *
    26392639 * @since 2.3.0
  • trunk/tests/phpunit/tests/fonts/font-library/wpRestFontFamiliesController.php

    r57657 r57909  
    488488     * @param string $expected Expected settings result.
    489489     */
    490     public function test_create_item_santize_font_family_settings( $settings, $expected ) {
     490    public function test_create_item_sanitize_font_family_settings( $settings, $expected ) {
    491491        $settings = array_merge( self::$default_settings, $settings );
    492492        $expected = array_merge( self::$default_settings, $expected );
     
    753753     * @param string $expected Expected settings result.
    754754     */
    755     public function test_update_item_santize_font_family_settings( $settings, $expected ) {
     755    public function test_update_item_sanitize_font_family_settings( $settings, $expected ) {
    756756        // Unset/modify slug from the data provider, since we're updating rather than creating.
    757757        unset( $settings['slug'] );
Note: See TracChangeset for help on using the changeset viewer.