diff --git a/wp-includes/class-wp-block-type-registry.php b/wp-includes/class-wp-block-type-registry.php index 0cc3e94c18..2cddfb07e8 100644 --- a/wp-includes/class-wp-block-type-registry.php +++ b/wp-includes/class-wp-block-type-registry.php @@ -43,6 +43,7 @@ final class WP_Block_Type_Registry { * * @type callable $render_callback Callback used to render blocks of this block type. * @type array $attributes Block attributes mapping, property name to schema. + * Accepts any public property of `WP_Block_Type`. * } * @return WP_Block_Type|false The registered block type on success, or false on failure. */ diff --git a/wp-includes/cron.php b/wp-includes/cron.php index e6957c35c3..7337ba307e 100644 --- a/wp-includes/cron.php +++ b/wp-includes/cron.php @@ -130,8 +130,8 @@ function wp_schedule_single_event( $timestamp, $hook, $args = array() ) { * * @since 3.1.0 * - * @param stdClass $event { - * An object containing an event's data. + * @param stdClass|false $event { + * An object containing an event's data, or boolean false to prevent the event from being scheduled. * * @type string $hook Action hook to execute when the event is run. * @type int $timestamp Unix timestamp (UTC) for when to next run the event. diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 688b758263..dae8d4f742 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -176,8 +176,8 @@ function add_user_to_blog( $blog_id, $user_id, $role ) { * * @since 4.9.0 * - * @param bool|WP_Error $retval True if the user should be added to the site, false - * or error object otherwise. + * @param true|WP_Error $retval True if the user should be added to the site, error + * object otherwise. * @param int $user_id User ID. * @param string $role User role. * @param int $blog_id Site ID. diff --git a/wp-includes/version.php b/wp-includes/version.php index 085c37a58f..7f72ce0653 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-47753'; +$wp_version = '5.5-alpha-47754'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.