WordPress.org

Making WordPress.org

#3015 closed defect (fixed)

Support Theme: Sticky dropdown does not assign sticky class or icon in individual Themes or Plugins forum

Reported by: zoonini Owned by: SergeyBiryukov
Milestone: Priority: normal
Component: Support Forums Keywords:
Cc:

Description

The "Sticky" dropdown in Themes and Plugins sub-forums does not work.

To replicate:

  1. In an individual theme or plugin forum, select the "Sticky" status from the drop-down.

https://cldup.com/fHeHER1LRO.png

  1. Submit the post.

Result: The post is not stickied - there is no sticky class and no thumbtack icon.

https://cldup.com/r1EApwhLD8.png

Expected: The post should have the sticky class and icon.

As a workaround, clicking the "Stick" link in the Topic Admin sidebar correctly stickies the thread, adding the pin icon and the sticky class.

https://cldup.com/_WNZ2IN0s7.png

https://cldup.com/bKCGRt5Aww.png

I tested the "Super sticky" dropdown and it appears to be broken as well.

Change History (5)

This ticket was mentioned in Slack in #forums by zoonini. View the logs.


23 months ago

#2 @Otto42
23 months ago

  • Resolution set to worksforme
  • Status changed from new to closed

Those are for the support forum moderators to stick topics to whole forums, not for plugin/theme authors. They don't see those options, they only see the stick/unstick hover, which sticks a topic to their plugin/theme view of the forums.

What you're doing is sticky and unstickying topics from the plugin/theme hidden sub-forums as-a-whole. You can do that because you're a mod/admin. You should please stop doing it if you don't know what it does. :)

#3 @Otto42
23 months ago

To clarify: There are two hidden "forums" where plugin and theme topics are all held together. The "Support" views for plugins and themes are just that, "views" of specific sets of topics in those hidden forums.

  • For their view alone, plugin/theme authors can see a "Stick" link on hovering over a topic. That sticks the topic in their specific "view" of their support posts.

These two different kinds of stickies are different and so have different links. Only moderators/admins should be able to see the Topic Admin and/or Sticky dropdown. Authors should not.

(Edit: Note that the "Stick" link in the topic-admin gets overridden when you're in a topic in your plugin/theme forum, ostensibly to prevent you from accidentally using the wrong one. Doesn't fix the dropdown though.)

So, yeah, okay, using the same wording sucks, I grant you that. But there's only so many ways to express the concept of "sticky". :)

Last edited 23 months ago by Otto42 (previous) (diff)

#4 @Otto42
23 months ago

  • Resolution worksforme deleted
  • Status changed from closed to reopened

Given the fact that this is specifically about the dropdown, then I'll reopen it if it is desirable to be fixed.

However, my suggestion that instead of fixing it, we remove the dropdown entirely. There's no reason for a moderator or admin to be able to create a topic and instantly sticky it to a forum or view when it's only saving them one extra click, and when we have this sort of confusion over what constitutes "sticky" in various differing forums and views.

Simplify it, and just remove the dropdown.

#5 @SergeyBiryukov
23 months ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from reopened to closed

In 5733:

Support Theme: Remove "Topic Type" dropdown from the topic form.

Given that plugin or theme stickies are handled differently from regular topics, there's no need for a moderator or admin to be able to create a topic and instantly sticky it to a forum or view when it's only saving them one extra click.

Fixes #3015.

Note: See TracTickets for help on using tickets.