[wp-trac] [WordPress Trac] #54983: The post has already been deleted.

WordPress Trac noreply at wordpress.org
Mon Jan 31 07:54:07 UTC 2022


#54983: The post has already been deleted.
-------------------------------+-----------------------------
 Reporter:  sumitsingh         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  6.0
Component:  Posts, Post Types  |     Version:  5.9
 Severity:  major              |  Resolution:
 Keywords:  has-screenshots    |     Focuses:  administration
-------------------------------+-----------------------------

Comment (by costdev):

 @mukesh27 After reading your comment, I went on the hunt for similar alert
 messages in Core for consistency. I couldn't find any that would appear in
 the form, except for red outlines added to the inputs. Highlighting both
 inputs wouldn't be accurate, as only one is needed for a valid post.

 Alternatively, disabling the `Submit` button until the draft has either a
 title or content would be consistent with how the Block Editor works. I'll
 attach a patch for testing and review (remember to `npm run build:dev`).

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


More information about the wp-trac mailing list