mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 04:25: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. 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:
parent
625849cc60
commit
88d2bb035a
@ -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() {}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-39672';
|
||||
$wp_version = '4.8-alpha-39673';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user