@@ -2996,6 +2996,8 @@ public function upgrade($plugin, $args = array())
2996
2996
* @since 2.8.0
2997
2997
* @since 3.7.0 The `$args` parameter was added, making clearing the plugin update cache optional.
2998
2998
*
2999
+ * @global string $wp_version The WordPress version string.
3000
+ *
2999
3001
* @param string[] $plugins Array of paths to plugin files relative to the plugins directory.
3000
3002
* @param array $args {
3001
3003
* Optional. Other arguments for upgrading several plugins at once.
@@ -19507,6 +19509,9 @@ public function register($hook, $callback, $priority = 0)
19507
19509
public function dispatch($hook, $parameters = [])
19508
19510
{
19509
19511
}
19512
+ public function __wakeup()
19513
+ {
19514
+ }
19510
19515
}
19511
19516
/**
19512
19517
* IDNA URL encoder
@@ -19942,6 +19947,9 @@ protected function scheme_normalization()
19942
19947
public function is_valid()
19943
19948
{
19944
19949
}
19950
+ public function __wakeup()
19951
+ {
19952
+ }
19945
19953
/**
19946
19954
* Set the entire IRI. Returns true on success, false on failure (if there
19947
19955
* are any invalid characters).
@@ -21205,6 +21213,9 @@ public function request($url, $headers = [], $data = [], $type = \WpOrg\Requests
21205
21213
public function request_multiple($requests, $options = [])
21206
21214
{
21207
21215
}
21216
+ public function __wakeup()
21217
+ {
21218
+ }
21208
21219
/**
21209
21220
* Merge a request's data with the default data
21210
21221
*
@@ -31520,6 +31531,9 @@ public function get_all_registered($outside_init_only = \false)
31520
31531
public function is_registered($pattern_name)
31521
31532
{
31522
31533
}
31534
+ public function __wakeup()
31535
+ {
31536
+ }
31523
31537
/**
31524
31538
* Utility method to retrieve the main instance of the class.
31525
31539
*
@@ -31965,6 +31979,9 @@ public function get_all_registered()
31965
31979
public function is_registered($name)
31966
31980
{
31967
31981
}
31982
+ public function __wakeup()
31983
+ {
31984
+ }
31968
31985
/**
31969
31986
* Utility method to retrieve the main instance of the class.
31970
31987
*
@@ -32547,7 +32564,9 @@ class WP_Classic_To_Block_Menu_Converter
32547
32564
* @since 6.3.0
32548
32565
*
32549
32566
* @param WP_Term $menu The Menu term object of the menu to convert.
32550
- * @return string the serialized and normalized parsed blocks.
32567
+ * @return string|WP_Error The serialized and normalized parsed blocks on success,
32568
+ * an empty string when there are no menus to convert,
32569
+ * or WP_Error on invalid menu.
32551
32570
*/
32552
32571
public static function convert($menu)
32553
32572
{
@@ -52355,6 +52374,7 @@ protected static function filter_slugs($node, $slugs)
52355
52374
* Removes insecure data from theme.json.
52356
52375
*
52357
52376
* @since 5.9.0
52377
+ * @since 6.3.2 Preserves global styles block variations when securing styles.
52358
52378
*
52359
52379
* @param array $theme_json Structure to sanitize.
52360
52380
* @return array Sanitized structure.
@@ -52661,6 +52681,16 @@ public function exists()
52661
52681
public function parent()
52662
52682
{
52663
52683
}
52684
+ /**
52685
+ * Perform reinitialization tasks.
52686
+ *
52687
+ * Prevents a callback from being injected during unserialization of an object.
52688
+ *
52689
+ * @return void
52690
+ */
52691
+ public function __wakeup()
52692
+ {
52693
+ }
52664
52694
/**
52665
52695
* Clears the cache for the theme.
52666
52696
*
@@ -62229,6 +62259,8 @@ public function __construct($start, $end)
62229
62259
* unquoted values will appear in the output with double-quotes.
62230
62260
*
62231
62261
* @since 6.2.0
62262
+ * @since 6.2.1 Fix: Support for various invalid comments; attribute updates are case-insensitive.
62263
+ * @since 6.3.2 Fix: Skip HTML-like content inside rawtext elements such as STYLE.
62232
62264
*/
62233
62265
class WP_HTML_Tag_Processor
62234
62266
{
@@ -86352,6 +86384,7 @@ function admin_created_user_email($text)
86352
86384
*
86353
86385
* @since 5.6.0
86354
86386
* @since 6.2.0 Allow insecure HTTP connections for the local environment.
86387
+ * @since 6.3.2 Validates the success and reject URLs to prevent javascript pseudo protocol being executed.
86355
86388
*
86356
86389
* @param array $request {
86357
86390
* The array of request data. All arguments are optional and may be empty.
@@ -86373,6 +86406,18 @@ function admin_created_user_email($text)
86373
86406
function wp_is_authorize_application_password_request_valid($request, $user)
86374
86407
{
86375
86408
}
86409
+ /**
86410
+ * Validates the redirect URL protocol scheme. The protocol can be anything except http and javascript.
86411
+ *
86412
+ * @since 6.3.2
86413
+ *
86414
+ * @param string $url - The redirect URL to be validated.
86415
+ *
86416
+ * @return true|WP_Error True if the redirect URL is valid, a WP_Error object otherwise.
86417
+ */
86418
+ function wp_is_authorize_application_redirect_url_valid($url)
86419
+ {
86420
+ }
86376
86421
/**
86377
86422
* WordPress Widgets Administration API
86378
86423
*
@@ -89311,6 +89356,63 @@ function build_comment_query_vars_from_block($block)
89311
89356
function get_comments_pagination_arrow($block, $pagination_type = 'next')
89312
89357
{
89313
89358
}
89359
+ /**
89360
+ * Strips all HTML from the content of footnotes, and sanitizes the ID.
89361
+ * This function expects slashed data on the footnotes content.
89362
+ *
89363
+ * @access private
89364
+ * @since 6.3.2
89365
+ *
89366
+ * @param string $footnotes JSON encoded string of an array containing the content and ID of each footnote.
89367
+ * @return string Filtered content without any HTML on the footnote content and with the sanitized id.
89368
+ */
89369
+ function _wp_filter_post_meta_footnotes($footnotes)
89370
+ {
89371
+ }
89372
+ /**
89373
+ * Adds the filters to filter footnotes meta field.
89374
+ *
89375
+ * @access private
89376
+ * @since 6.3.2
89377
+ */
89378
+ function _wp_footnotes_kses_init_filters()
89379
+ {
89380
+ }
89381
+ /**
89382
+ * Removes the filters that filter footnotes meta field.
89383
+ *
89384
+ * @access private
89385
+ * @since 6.3.2
89386
+ */
89387
+ function _wp_footnotes_remove_filters()
89388
+ {
89389
+ }
89390
+ /**
89391
+ * Registers the filter of footnotes meta field if the user does not have unfiltered_html capability.
89392
+ *
89393
+ * @access private
89394
+ * @since 6.3.2
89395
+ */
89396
+ function _wp_footnotes_kses_init()
89397
+ {
89398
+ }
89399
+ /**
89400
+ * Initializes footnotes meta field filters when imported data should be filtered.
89401
+ *
89402
+ * This filter is the last being executed on force_filtered_html_on_import.
89403
+ * If the input of the filter is true it means we are in an import situation and should
89404
+ * enable kses, independently of the user capabilities.
89405
+ * So in that case we call _wp_footnotes_kses_init_filters;
89406
+ *
89407
+ * @access private
89408
+ * @since 6.3.2
89409
+ *
89410
+ * @param string $arg Input argument of the filter.
89411
+ * @return string Input argument of the filter.
89412
+ */
89413
+ function _wp_footnotes_force_filtered_html_on_import_filter($arg)
89414
+ {
89415
+ }
89314
89416
/**
89315
89417
* Server-side rendering of the `core/archives` block.
89316
89418
*
@@ -90140,6 +90242,8 @@ function register_block_core_image()
90140
90242
* avoids unnecessary logic and filesystem lookups in the other function.
90141
90243
*
90142
90244
* @since 6.3.0
90245
+ *
90246
+ * @global string $wp_version The WordPress version string.
90143
90247
*/
90144
90248
function register_core_block_style_handles()
90145
90249
{
@@ -128516,6 +128620,22 @@ function shortcode_exists($tag)
128516
128620
function has_shortcode($content, $tag)
128517
128621
{
128518
128622
}
128623
+ /**
128624
+ * Returns a list of registered shortcode names found in the given content.
128625
+ *
128626
+ * Example usage:
128627
+ *
128628
+ * get_shortcode_tags_in_content( '[audio src="file.mp3"][/audio] [foo] [gallery ids="1,2,3"]' );
128629
+ * // array( 'audio', 'gallery' )
128630
+ *
128631
+ * @since 6.3.2
128632
+ *
128633
+ * @param string $content The content to check.
128634
+ * @return string[] An array of registered shortcode names found in the content.
128635
+ */
128636
+ function get_shortcode_tags_in_content($content)
128637
+ {
128638
+ }
128519
128639
/**
128520
128640
* Searches content for shortcodes and filter shortcodes through their hooks.
128521
128641
*
@@ -131323,6 +131443,17 @@ function wp_attach_theme_preview_middleware()
131323
131443
function wp_block_theme_activate_nonce()
131324
131444
{
131325
131445
}
131446
+ /**
131447
+ * Add filters and actions to enable Block Theme Previews in the Site Editor.
131448
+ *
131449
+ * The filters and actions should be added after `pluggable.php` is included as they may
131450
+ * trigger code that uses `current_user_can()` which requires functionality from `pluggable.php`.
131451
+ *
131452
+ * @since 6.3.2
131453
+ */
131454
+ function wp_initialize_theme_preview_hooks()
131455
+ {
131456
+ }
131326
131457
/**
131327
131458
* Sets a custom slug when creating auto-draft template parts.
131328
131459
*
0 commit comments