WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/12/2021 01:33:21 PM (9 months ago)
Author:
gziolo
Message:

Editor: Make block type aware of variations

Currently block variations are only defined on the client. In some cases, creating block variations on the server can be very useful, especially when needed data is not exposed in the REST APIs.

Related to https://github.com/WordPress/gutenberg/pull/29095.

Props: gwwar, timothyblynjacobs.
Fixes: #52688.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/post.php

    r50505 r50527  
    22582258        'keywords'         => 'keywords',
    22592259        'example'          => 'example',
     2260        'variations'       => 'variations',
    22602261    );
    22612262
Note: See TracChangeset for help on using the changeset viewer.