[wp-meta] [Making WordPress.org] #7251: Add a Preview in Playground button to the plugin directory
Making WordPress.org
noreply at wordpress.org
Thu Oct 5 21:05:01 UTC 2023
#7251: Add a Preview in Playground button to the plugin directory
-----------------------------------+-------------------------
Reporter: tellyworth | Owner: tellyworth
Type: enhancement | Status: accepted
Priority: normal | Milestone:
Component: Plugin Directory | Resolution:
Keywords: needs-design-feedback |
-----------------------------------+-------------------------
Comment (by brianhenryie):
> direct users to the plugin configuration page if available
There is no convention for communicating a plugin's configuration page.
Different plugins redirect on activation in different ways. Some redirect
no matter what, some check to see has a wp_option been set.
In general, this causes problems with bulk activation. I.e. when a plugin
redirects on activation, it prevents the remaining plugins from
activating. This applies equally to bulk activating plugins via WP CLI
(because `die()` is usually called after `wp_redirect()`).
I think the practice of redirecting should be discouraged (outright
forbidden by the review team) and the best practice should be an admin
notice linking to the settings page (come to think of it, could be a
plugin header read by core that works for Playground too).
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/7251#comment:40>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list