Make WordPress Core

Changeset 55628


Ignore:
Timestamp:
04/04/2023 11:35:21 PM (19 months ago)
Author:
peterwilsoncc
Message:

Script Loader: Remove unused wp-nux CSS dependency.

Neither wp-edit-post nor wp-editor use the styles included in the wp-nux CSS file. This removes nux as a dependency from the registration of the two files.

Props flixos90, youknowriad, peterwilsoncc.
Fixes #57827.
See #57643.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r55612 r55628  
    16641664            'wp-edit-blocks',
    16651665            'wp-block-library',
    1666             'wp-nux',
    16671666        ),
    16681667        'editor'               => array(
    16691668            'wp-components',
    16701669            'wp-block-editor',
    1671             'wp-nux',
    16721670            'wp-reusable-blocks',
    16731671        ),
Note: See TracChangeset for help on using the changeset viewer.