Make WordPress Core


Ignore:
Timestamp:
04/01/2024 08:43:46 PM (3 years 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.