mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
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
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