Make WordPress Core

Ticket #64517: 64517.patch

File 64517.patch, 1.0 KB (added by nareshbheda, 8 months ago)
  • src/wp-includes/interactivity-api/class-wp-interactivity-api.php

    diff --git a/src/wp-includes/interactivity-api/class-wp-interactivity-api.php b/src/wp-includes/interactivity-api/class-wp-interactivity-api.php
    index f2c66b07fc..f8ac1b2b69 100644
    a b final class WP_Interactivity_API {  
    636636         * @since 6.6.0 The function now adds a warning when the namespace is null, falsy, or the directive value is empty.
    637637         * @since 6.6.0 Removed `default_namespace` and `context` arguments.
    638638         * @since 6.6.0 Add support for derived state.
    639          * @since 6.9.0 Recieve $entry as an argument instead of the directive value string.
     639         * @since 6.9.0 Receive $entry as an argument instead of the directive value string.
    640640         *
    641641         * @param array $entry An array containing a whole directive entry with its namespace, value, suffix, or unique ID.
    642642         * @return mixed|null The result of the evaluation. Null if the reference path doesn't exist or the namespace is falsy.