Make WordPress Core

Changeset 51140


Ignore:
Timestamp:
06/13/2021 04:27:38 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Tests: Fix typo in a retrieve_widgets() test name.

Correct parameter description for data_wp_widget_get_field_name().

Follow-up to [34780], [41555].

See #52625.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/widgets.php

    r51088 r51140  
    489489         * @return array {
    490490         *     @type array {
    491          *         @type string $expected      The expected field id to be returned.
     491         *         @type string $expected      The expected field name to be returned.
    492492         *         @type string $value_to_test The value being passed to the get_field_name method.
    493493         *     }
    … …  
    10831083        }
    10841084
    1085         function test_retreive_widgets_with_single_widget() {
     1085        function test_retrieve_widgets_with_single_widget() {
    10861086                global $sidebars_widgets;
    10871087
Note: See TracChangeset for help on using the changeset viewer.