Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#22488 closed defect (bug) (fixed)

Upgrade to 3.5 beta 3 distorts existing galleries

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


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)

#1 @SergeyBiryukov
12 years ago

  • Milestone changed from Awaiting Review to 3.5


#2 @koopersmith
12 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.

#3 @nacin
12 years ago

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

#4 @rcamies
12 years ago

  • Cc rcamies added

#5 @koopersmith
12 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.