From 99e7e759ecf87043e805e038ec35bfaf64cc4019 Mon Sep 17 00:00:00 2001 From: SergeyBiryukov Date: Wed, 4 Jan 2017 13:33:03 +0000 Subject: [PATCH] Docs: Add missing `@since` and `@access` tags for `WP_Widget_Form_Customize_Control::to_json()` and `::render_content()`. Props keesiemeijer. Fixes #39463. git-svn-id: https://develop.svn.wordpress.org/trunk@39673 602fd350-edb4-49c9-b593-d223f7449a82 --- .../customize/class-wp-widget-form-customize-control.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wp-includes/customize/class-wp-widget-form-customize-control.php b/src/wp-includes/customize/class-wp-widget-form-customize-control.php index f992eea333..a71364521d 100644 --- a/src/wp-includes/customize/class-wp-widget-form-customize-control.php +++ b/src/wp-includes/customize/class-wp-widget-form-customize-control.php @@ -27,6 +27,9 @@ class WP_Widget_Form_Customize_Control extends WP_Customize_Control { /** * Gather control params for exporting to JavaScript. * + * @since 3.9.0 + * @access public + * * @global array $wp_registered_widgets */ public function to_json() { @@ -60,6 +63,9 @@ class WP_Widget_Form_Customize_Control extends WP_Customize_Control { /** * Override render_content to be no-op since content is exported via to_json for deferred embedding. + * + * @since 3.9.0 + * @access public */ public function render_content() {}