Make WordPress Core


Ignore:
Timestamp:
07/07/2023 07:27:53 AM (15 months ago)
Author:
isabel_brison
Message:

Editor: rename sync_status and move it to top level.

Renames sync_status to wp_pattern_sync_status and moves it to top level field of wp_block post type.

Props glendaviesnz, aaronrobertshaw, mukesh27, peterwilsoncc.
Fixes 58677.

File:
1 edited

Legend:

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

    r56120 r56160  
    80428042 * Registers any additional post meta fields.
    80438043 *
    8044  * @since 6.3.0 Adds sync_status meta field to the wp_block post type so an unsynced option can be added.
     8044 * @since 6.3.0 Adds `wp_pattern_sync_status` meta field to the wp_block post type so an unsynced option can be added.
    80458045 *
    80468046 * @link https://github.com/WordPress/gutenberg/pull/51144
     
    80498049    register_post_meta(
    80508050        'wp_block',
    8051         'sync_status',
     8051        'wp_pattern_sync_status',
    80528052        array(
    80538053            'sanitize_callback' => 'sanitize_text_field',
Note: See TracChangeset for help on using the changeset viewer.