WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#4413 closed defect (bug) (fixed)

Auto save generate "0" taxonomy

Reported by: tinyau Owned by:
Milestone: 2.3 Priority: high
Severity: major Version: 2.3
Component: Administration Keywords:
Focuses: Cc:

Description

SVN r5657

During preparation of new post, let auto save save the content. Then click <Save and Continue Editing> button and found several "0" categories are generated.

Invalid "0" records are generated in both wp_terms and wp_term_taxonomy tables.

Change History (3)

comment:1 devil15917 years ago

Confirmed on a fresh install

comment:2 tinyau7 years ago

Additional information.

This problem will happen if no category is selected for the post. After auto saved, invalid "0" category will be generated.

The auto save function cannot select the default category automatically if no category is selected. Instead, it generate invalid "0" category.

comment:3 ryan7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5739]) Don't create '0' categories. fixes #4413

Note: See TracTickets for help on using tickets.