Make WordPress Core

Changeset 54156


Ignore:
Timestamp:
09/14/2022 12:46:33 PM (19 months ago)
Author:
audrasjb
Message:

Editor: Backport Style Engine API functions, classes and tests.

This PR migrates the Style Engine PHP functions, classes and tests into Core for 6.1. It backports the original [WordPress/gutenberg#40260 PR #40260] from Gutenberg repository.

Props ramonopoly, bernhard-reiter, costdev, azaozz, andrewserong, mukesh27, aristath.
See #56467.

Location:
trunk
Files:
13 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r53874 r54156  
    333333require ABSPATH . WPINC . '/block-supports/spacing.php';
    334334require ABSPATH . WPINC . '/block-supports/typography.php';
     335require ABSPATH . WPINC . '/style-engine.php';
     336require ABSPATH . WPINC . '/style-engine/class-wp-style-engine.php';
     337require ABSPATH . WPINC . '/style-engine/class-wp-style-engine-css-declarations.php';
     338require ABSPATH . WPINC . '/style-engine/class-wp-style-engine-css-rule.php';
     339require ABSPATH . WPINC . '/style-engine/class-wp-style-engine-css-rules-store.php';
     340require ABSPATH . WPINC . '/style-engine/class-wp-style-engine-processor.php';
    335341
    336342$GLOBALS['wp_embed'] = new WP_Embed();
Note: See TracChangeset for help on using the changeset viewer.