Make WordPress Core


Ignore:
Timestamp:
05/23/2024 07:37:08 PM (9 months ago)
Author:
ellatrix
Message:

Editor: Update npm packages.

Updates the editor npm packages to latest versions.

See https://github.com/WordPress/wordpress-develop/pull/6612.

Props ellatrix, mukesh27, youknowriad, mamaduka.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks/calendar.php

    r57377 r58187  
    88/**
    99 * Renders the `core/calendar` block on server.
     10 *
     11 * @since 5.2.0
     12 *
     13 * @global int $monthnum.
     14 * @global int $year.
    1015 *
    1116 * @param array $attributes The block attributes.
     
    7782/**
    7883 * Registers the `core/calendar` block on server.
     84 *
     85 * @since 5.2.0
    7986 */
    8087function register_block_core_calendar() {
     
    94101 * Used to hide the calendar block when there are no published posts.
    95102 * This compensates for a known Core bug: https://core.trac.wordpress.org/ticket/12016
     103 *
     104 * @since 5.9.0
    96105 *
    97106 * @return bool Has any published posts or not.
     
    118127 * a flag whether any published post exists or not.
    119128 *
     129 * @since 5.9.0
     130 *
     131 * @global wpdb $wpdb WordPress database abstraction object.
     132 *
    120133 * @return bool Has any published posts or not.
    121134 */
     
    133146     * Handler for updating the has published posts flag when a post is deleted.
    134147     *
     148     * @since 5.9.0
     149     *
    135150     * @param int $post_id Deleted post ID.
    136151     */
     
    147162    /**
    148163     * Handler for updating the has published posts flag when a post status changes.
     164     *
     165     * @since 5.9.0
    149166     *
    150167     * @param string  $new_status The status the post is changing to.
Note: See TracChangeset for help on using the changeset viewer.