Making WordPress.org

Opened 5 weeks ago

Last modified 5 weeks ago

#8141 new defect (bug)

Missing “Login” option on plugin support pages with no topics

Reported by: hmbashar's profile hmbashar Owned by:
Milestone: Priority: normal
Component: Support Forums Keywords: has-patch
Cc:

Description

Hi Team,

I noticed a small usability issue on plugin support pages in the WordPress.org directory.

When a plugin already has support topics and the user is not logged in, the page correctly displays a “Login to Create Topic” button (example: https://wordpress.org/support/plugin/post-url-qr-code/ — screenshot: https://prnt.sc/0aWBD-WdVmEv
).

However, when a plugin has no topics at all, the page shows the message:

"No topics found. Select another view or start a new post."

Example: https://wordpress.org/support/plugin/smart-password-protect/

Screenshot: https://prnt.sc/Bk36d0E5DI77

The issue is:

There is no login link or button shown in this state, so logged-out users have no clear path to log in and create the first support topic.

Suggestion:
It would be great if a “Login to Create Topic” button (or at least a login text/link) could be added in this “no topics found” view — similar to what appears on the plugin submission page (example: https://prnt.sc/cfv08p19L8Em
).

Even adding something like:

"No topics found. Select another view or start a new post. Please log in first."
with a login link would help improve user experience.

This small addition would make the support flow more consistent and more user-friendly.

Thank you!

Attachments (3)

8141.diff (1.0 KB) - added by hmbashar 5 weeks ago.
8141.1.diff (989 bytes) - added by hmbashar 5 weeks ago.
8141-login-link-no-topics.diff (1.2 KB) - added by manhphucofficial 5 weeks ago.
Adds a login call-to-action for logged-out users when no topics are found. Logged-in users continue to see the original message. The login URL includes a redirect back to the forum. Fixes #8141.

Download all attachments as: .zip

Change History (7)

#1 @dd32
5 weeks ago

  • Component changed from Plugin Directory to Support Forums
  • Priority changed from high to normal

@hmbashar
5 weeks ago

@hmbashar
5 weeks ago

@manhphucofficial
5 weeks ago

Adds a login call-to-action for logged-out users when no topics are found. Logged-in users continue to see the original message. The login URL includes a redirect back to the forum. Fixes #8141.

#2 @manhphucofficial
5 weeks ago

Thanks everyone! 👋

I've attached a small enhancement to this template.

For logged-in users, the existing message remains unchanged.
For logged-out users, the patch adds a login call-to-action, using wp_login_url( bbp_get_forum_permalink() ) to ensure they return to the correct forum after authentication.

This should make the flow clearer for visitors who try to start a new topic without being logged in.

Happy to adjust anything if needed. 🙂

This ticket was mentioned in PR #533 on WordPress/wordpress.org by @manhphucofficial.


5 weeks ago
#3

  • Keywords has-patch added

This PR adds a small usability improvement to the Support Forums theme by showing a login call-to-action when no topics are found.

### What’s changed?

  • Logged-in users continue to see the original message: “No topics found. Select another view or start a new post.”
  • Logged-out users now see a friendly prompt with a login link and an automatic redirect back to the same forum after logging in.

### Why?
Some users attempt to start a topic without noticing that they are logged out. This update provides a clearer path forward and improves the overall user experience with minimal impact to existing behavior.

### Related ticket
https://meta.trac.wordpress.org/ticket/8141

Happy to adjust anything if needed — wording, formatting, or approach. 🙂

#4 @manhphucofficial
5 weeks ago

A quick follow-up 😊

A corresponding GitHub PR is also available here, in case it's helpful for reviewing:
https://github.com/WordPress/wordpress.org/pull/533

Happy to refine the patch or wording in any way that works best. Thanks everyone!

Last edited 5 weeks ago by manhphucofficial (previous) (diff)
Note: See TracTickets for help on using tickets.