Docs: Add missing @since and @access tags for WP_Widget_Form_Customize_Control::to_json() and ::render_content().
Props keesiemeijer. Fixes #39463. Built from https://develop.svn.wordpress.org/trunk@39673 git-svn-id: http://core.svn.wordpress.org/trunk@39613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user