[wp-trac] [WordPress Trac] #60796: An error for page and post without revisions support
WordPress Trac
noreply at wordpress.org
Mon Mar 18 10:03:04 UTC 2024
#60796: An error for page and post without revisions support
-------------------------------+-----------------------------
Reporter: danielpietrasik | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 6.4
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
Since **6.4.0** the `$revisions_enabled` argument was added to the
arguments array of `register_meta()` function
(https://developer.wordpress.org/reference/functions/register_meta/#changelog).
For post and page with disabled revisions support there is an error:
Error: Function register_meta was called incorrectly. Meta keys cannot
enable revisions support unless the object subtype supports revisions.
Please see Debugging in WordPress for more information. (This message was
added in version 6.4.0.).
In register_block_core_footnotes() function `revisions_enabled` argument
is permanently set to true and it's makes this error.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60796>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list