Skip to content

Commit 9317edf

Browse files
committed
Generate stubs for WordPress 6.7.4
1 parent 52b7409 commit 9317edf

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

source/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"ext-mbstring": "*",
88
"ext-openssl": "*",
99
"ext-sodium": "*",
10-
"johnpbloch/wordpress": "6.7.3"
10+
"johnpbloch/wordpress": "6.7.4"
1111
},
1212
"minimum-stability": "stable",
1313
"config": {

wordpress-stubs.php

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60698,7 +60698,6 @@ class WP_Customize_Nav_Menu_Item_Setting extends \WP_Customize_Setting
6069860698
'classes' => '',
6069960699
'xfn' => '',
6070060700
'status' => 'publish',
60701-
'original_title' => '',
6070260701
'nav_menu_term_id' => 0,
6070360702
// This will be supplied as the $menu_id arg for wp_update_nav_menu_item().
6070460703
'_invalid' => \false,
@@ -60822,13 +60821,23 @@ public function flush_cached_value($menu_id, $menu_item_id)
6082260821
public function value()
6082360822
{
6082460823
}
60824+
/**
60825+
* Prepares the value for editing on the client.
60826+
*
60827+
* @since 6.8.3
60828+
*
60829+
* @return array|false Value prepared for the client.
60830+
*/
60831+
public function js_value()
60832+
{
60833+
}
6082560834
/**
6082660835
* Get original title.
6082760836
*
6082860837
* @since 4.7.0
6082960838
*
6083060839
* @param object $item Nav menu item.
60831-
* @return string The original title.
60840+
* @return string The original title, without entity decoding.
6083260841
*/
6083360842
protected function get_original_title($item)
6083460843
{
@@ -60919,7 +60928,7 @@ public function value_as_wp_post_nav_menu_item()
6091960928
* @since 4.3.0
6092060929
* @since 5.9.0 Renamed `$menu_item_value` to `$value` for PHP 8 named parameter support.
6092160930
*
60922-
* @param array $value The menu item value to sanitize.
60931+
* @param array|false $value The menu item value to sanitize.
6092360932
* @return array|false|null|WP_Error Null or WP_Error if an input isn't valid. False if it is marked for deletion.
6092460933
* Otherwise the sanitized value.
6092560934
*/

0 commit comments

Comments
 (0)