WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#22488 closed defect (bug) (fixed)

Upgrade to 3.5 beta 3 distorts existing galleries

Reported by: rcamies Owned by: koopersmith
Milestone: 3.5 Priority: normal
Severity: major Version: 3.5
Component: Gallery Keywords:
Focuses: Cc:

Description

After updating to 3.5 beta 3, editing existing galleries in previous posts brings up a screen with photo's from multiple posts and does not allow reordering by drag and drop.

  • tested in Win 8 and ipad, with IE10, Firefox and safari
  • tested on both single and multisite installs

it appears when looking at the text of the post that galleries existing in old posts do not have a "ids=" tag, while the new ones do.

New galleries work properly, it's only existing ones that get messed up when editing after upgrading to 3.5 beta 3

Change History (5)

comment:1 @SergeyBiryukov3 years ago

  • Milestone changed from Awaiting Review to 3.5

Confirmed.

comment:2 @koopersmith3 years ago

Confirmed. To fix this, we need to bust the gallery query props (namely orderby, to unset the comparator) after the query completes so the sortable property will engage.

comment:3 @nacin3 years ago

  • Owner set to koopersmith
  • Status changed from new to assigned

comment:4 @rcamies3 years ago

  • Cc rcamies added

comment:5 @koopersmith3 years ago

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

In 22713:

Media: Allow all galleries to be sortable. fixes #22488, see #21390.

Note: See TracTickets for help on using tickets.