WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 3 months ago

#14745 new defect (bug)

Renaming a Link-Category Resets Link Widget Options of that Category

Reported by: hakre Owned by:
Milestone: Future Release Priority: low
Severity: normal Version:
Component: Taxonomy Keywords: needs-patch
Focuses: Cc:

Description

When renaming the name of a Link Category that is used as well in a Link Widget, the Link Widget stops working.

Step to Reproduce:

  1. Create a Link Category "Test Start".
  2. Add 10 Links into the Category "Test Start".
  3. Go to the Widgets Screen and add a new Link Widget to a sidebar.
  4. Select that Link-Widget and set it from "All-Links" to the Category "Test Start".
  5. Visit your Frontpage so proof that the Widget displays.
  6. Go to the Link Cagegory Editor and quick-edit the "Test Start" Category.
  7. Rename it to "Test End".
  8. Save Changes.
  9. Visit your Frontpage.

=>> The Widget has disappeared.

Expected behavior: Widget displaying with the (renamed) link category.

Change History (3)

comment:1 nacin3 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release
  • Priority changed from normal to low

comment:2 SergeyBiryukov3 years ago

Can't reproduce on 3.1-RC1-17157. The widget stores only the category ID and uses wp_list_bookmarks() for display. Changing category name or slug doesn't seem to have any effect.

comment:3 nacin3 months ago

  • Component changed from General to Taxonomy
Note: See TracTickets for help on using tickets.