Make WordPress Core

Changeset 56317


Ignore:
Timestamp:
07/27/2023 10:08:40 AM (2 years ago)
Author:
audrasjb
Message:

Editor: Revert [56316].

This reverts [56316] as it needs to be fixed by updating npm packages.

Unprops audrasjb.
Props swissspidy.
See #58920.

File:
1 edited

Legend:

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

    r56316 r56317  
    251251            ),
    252252            'scope'       => array( 'inserter' ),
    253             'icon'        => isset( $icon_by_area[ $template_part->area ] ) ? $icon_by_area[ $template_part->area ] : null,
     253            'icon'        => $icon_by_area[ $template_part->area ],
    254254            'example'     => array(
    255255                'attributes' => array(
Note: See TracChangeset for help on using the changeset viewer.