mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
Docs: Improve documentation of known return types, plus other docs fixes.
See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46660 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -207,7 +207,7 @@ class WP_Customize_Media_Control extends WP_Customize_Control {
|
||||
*
|
||||
* @since 4.9.0
|
||||
*
|
||||
* @return array An associative array of default button labels.
|
||||
* @return string[] An associative array of default button labels keyed by the button name.
|
||||
*/
|
||||
public function get_default_button_labels() {
|
||||
// Get just the mime type and strip the mime subtype if present.
|
||||
|
||||
@@ -381,7 +381,7 @@ class WP_Customize_Nav_Menu_Setting extends WP_Customize_Setting {
|
||||
* @since 4.3.0
|
||||
*
|
||||
* @param array $nav_menu_options Nav menu options including auto_add.
|
||||
* @return array (Kaybe) modified nav menu options.
|
||||
* @return array (Maybe) modified nav menu options.
|
||||
*/
|
||||
public function filter_nav_menu_options( $nav_menu_options ) {
|
||||
if ( $this->_previewed_blog_id !== get_current_blog_id() ) {
|
||||
|
||||
Reference in New Issue
Block a user