[wp-trac] [WordPress Trac] #60796: An error for page and post without revisions support

WordPress Trac noreply at wordpress.org
Wed Apr 3 11:08:39 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             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by danielpietrasik):

 Thx @mrahsankhan for your answer, but you misunderstood me.

 I know how to fixed it in custom post type. I suggest you to fixed it in
 core for built-in post types.

 E.g. in `register_block_core_footnotes()` function `$revisions_enabled`
 argument is permanently set to `true` without checking is revision is
 enabled. It's very easy to add a simple condition in this place in core.

 Consider to add this simple modification, please.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60796#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list