Skip to content

Add/Edit New Sponsor: Sponsor Levels section isn't ordered #1528

@eduardozulian

Description

@eduardozulian

Describe the bug

When you create/edit a new sponsor (example: post-new.php?post_type=wcb_sponsor), you have checkboxes to select Sponsor Levels. However, theses sponsorship levels aren't ordered as you set under Sponsors > Order Sponsor Levels.

To reproduce

Steps to reproduce the behavior:

  1. Sponsors > Order Sponsor Levels and ensure you have the order you want
  2. Go to Add New Sponsor Levels
  3. Check the order

It seems like we're using the order on which they were registered in Sponsors > Sponsor Levels.

Expected behavior

Ideally, I'd like to see them in the same order as they are in Sponsors > Order Sponsor Levels.

Screenshots / Screencasts

Examples from https://brasil.wordcamp.org/2025/

Sponsor Levels (edit-tags.php?taxonomy=wcb_sponsor_level&post_type=wcb_sponsor):

Image

Order Sponsor Levels (edit.php?post_type=wcb_sponsor&page=sponsor_levels)

Image

Add New Sponsor (post-new.php?post_type=wcb_sponsor) > Sponsor sidebar

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions