[wp-trac] [WordPress Trac] #64952: Dashboard Quick Draft allows creating an empty draft without title or content

WordPress Trac noreply at wordpress.org
Thu Mar 26 06:20:55 UTC 2026


#64952: Dashboard Quick Draft allows creating an empty draft without title or
content
-------------------------+-------------------------------------------------
 Reporter:  sumitsingh   |       Owner:  (none)
     Type:  defect       |      Status:  new
  (bug)                  |
 Priority:  normal       |   Milestone:  Awaiting Review
Component:               |     Version:  trunk
  Administration         |
 Severity:  normal       |  Resolution:
 Keywords:  has-         |     Focuses:  accessibility, javascript,
  screenshots            |  administration, coding-standards
-------------------------+-------------------------------------------------

Comment (by huzaifaalmesbah):

 == Reproduction Report

 === Environment

 * WordPress: 7.0-RC1-62111-src
 * PHP: 8.3.30
 * Server: nginx/1.29.6
 * Database: mysqli (Server: 8.4.8 / Client: mysqlnd 8.3.30)
 * Browser: Chrome 146.0.0.0
 * OS: macOS
 * Theme: Twenty Thirteen 4.5
 * MU Plugins: None activated
 * Plugins:

   * Query Monitor 3.20.4
   * Test Reports 1.2.1

 === Steps taken

 1. Go to **Dashboard → Quick Draft**
 2. Leave both **Title** and **Content** fields empty
 3. Click on **Save Draft**
 4. 🐞 Bug occurs

 === Expected behavior

 * WordPress should prevent saving a draft when both title and content are
 empty,
   **or**
 * Require at least a title or content before allowing the draft to be
 created

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


More information about the wp-trac mailing list