WordPress.org

Make WordPress Core

Changeset 51159


Ignore:
Timestamp:
06/15/2021 04:03:04 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing documentation for wp_migrate_old_typography_shape().

Follow-up to [51089].

See #52991, #52628.

File:
1 edited

Legend:

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

    r51153 r51159  
    976976}
    977977
     978/**
     979 * Converts typography keys declared under `supports.*` to `supports.typography.*`.
     980 *
     981 * Displays a `_doing_it_wrong()` notice when a block using the older format is detected.
     982 *
     983 * @since 5.8.0
     984 *
     985 * @param array $metadata Metadata for registering a block type.
     986 * @return array Filtered metadata for registering a block type.
     987 */
    978988function wp_migrate_old_typography_shape( $metadata ) {
    979989    $typography_keys = array(
Note: See TracChangeset for help on using the changeset viewer.