Edit File by line
/home/zeestwma/ajeebong.../wp-inclu...
File: post.php
}
[8500] Fix | Delete
[8501] Fix | Delete
/**
[8502] Fix | Delete
* Registers any additional post meta fields.
[8503] Fix | Delete
*
[8504] Fix | Delete
* @since 6.3.0 Adds `wp_pattern_sync_status` meta field to the wp_block post type so an unsynced option can be added.
[8505] Fix | Delete
*
[8506] Fix | Delete
* @link https://github.com/WordPress/gutenberg/pull/51144
[8507] Fix | Delete
*/
[8508] Fix | Delete
function wp_create_initial_post_meta() {
[8509] Fix | Delete
register_post_meta(
[8510] Fix | Delete
'wp_block',
[8511] Fix | Delete
'wp_pattern_sync_status',
[8512] Fix | Delete
array(
[8513] Fix | Delete
'sanitize_callback' => 'sanitize_text_field',
[8514] Fix | Delete
'single' => true,
[8515] Fix | Delete
'type' => 'string',
[8516] Fix | Delete
'show_in_rest' => array(
[8517] Fix | Delete
'schema' => array(
[8518] Fix | Delete
'type' => 'string',
[8519] Fix | Delete
'enum' => array( 'partial', 'unsynced' ),
[8520] Fix | Delete
),
[8521] Fix | Delete
),
[8522] Fix | Delete
)
[8523] Fix | Delete
);
[8524] Fix | Delete
}
[8525] Fix | Delete
[8526] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function