mirror of
git://develop.git.wordpress.org/
synced 2025-03-23 05:20:01 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@51140 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
376840b83c
commit
132984c20f
@ -488,7 +488,7 @@ class Tests_Widgets extends WP_UnitTestCase {
|
||||
*
|
||||
* @return array {
|
||||
* @type array {
|
||||
* @type string $expected The expected field id to be returned.
|
||||
* @type string $expected The expected field name to be returned.
|
||||
* @type string $value_to_test The value being passed to the get_field_name method.
|
||||
* }
|
||||
* }
|
||||
@ -1082,7 +1082,7 @@ class Tests_Widgets extends WP_UnitTestCase {
|
||||
$this->assertNotEquals( $sidebars_widgets, wp_get_sidebars_widgets() );
|
||||
}
|
||||
|
||||
function test_retreive_widgets_with_single_widget() {
|
||||
function test_retrieve_widgets_with_single_widget() {
|
||||
global $sidebars_widgets;
|
||||
|
||||
wp_widgets_init();
|
||||
|
Loading…
x
Reference in New Issue
Block a user