From dae8858b4a46c27d446080a3e12302f3afece1d1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 25 Feb 2021 12:01:00 +0000 Subject: [PATCH] Docs: Correct function name in `add_settings_field()` DocBlock. See #52628. git-svn-id: https://develop.svn.wordpress.org/trunk@50434 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 746be839af..c3dd095d64 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -1592,7 +1592,7 @@ function add_settings_section( $id, $title, $callback, $page ) { * * Part of the Settings API. Use this to define a settings field that will show * as part of a settings section inside a settings page. The fields are shown using - * do_settings_fields() in do_settings-sections() + * do_settings_fields() in do_settings_sections(). * * The $callback argument should be the name of a function that echoes out the * HTML input tags for this setting field. Use get_option() to retrieve existing