WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 5 months ago

#42474 new defect (bug)

bulk_edit_posts should honor the show_in_quick_edit property of taxonomies

Reported by: Chouby Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Quick/Bulk Edit Keywords: has-patch needs-testing
Focuses: performance Cc:

Description

When bulk editing posts, several database queries are related to taxonomies for which show_in_quick_edit is set to false. Since the terms are not modified, these queries uselessly harm the performance.

This is because bulk_edit_posts does not check this property when building arguments to pass to wp_update_post.

Attachments (2)

42474.diff (1.5 KB) - added by Chouby 3 years ago.
42474.1.diff (1.6 KB) - added by sabernhardt 5 months ago.
simple refresh

Download all attachments as: .zip

Change History (4)

@Chouby
3 years ago

#1 @Chouby
3 years ago

  • Keywords has-patch added

@sabernhardt
5 months ago

simple refresh

#2 @sabernhardt
5 months ago

  • Keywords needs-testing added
  • Version 4.2 deleted

@Chouby Your approach looks good. I refreshed the patch to work with the current file.

Note: See TracTickets for help on using tickets.