[wp-meta] [Making WordPress.org] #7251: Add a Preview in Playground button to the plugin directory

Making WordPress.org noreply at wordpress.org
Wed Sep 6 13:52:34 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 JeffPaul):

 Answering these questions with my "plugin developer" hat on...

 > Should it simply open a new tab with the playground preview, or
 something else (popup?)
 From an a11y perspective, my understanding is that we might best default
 to opening in the current tab.

 > Does it need any logic for selecting the WP/PHP version or can we go
 with the default?
 I think going with the [https://api.wordpress.org/core/version-check/1.7/
 current WP version] (major or minor) and the
 [https://wordpress.org/about/requirements/ recommended PHP version]
 (currently 7.4).  Playground would presumably allow from its experience to
 change these versions, but I think our defaults would best be current
 major/minor WP and recommended PHP.

 > Should it be available on all plugins, or selectively (eg only those
 actively maintained, or
 supporting a recent WP version?)
 My initial reaction is all plugins, so that we're not "playing favorites"
 with the ability to test out a plugin but this is not a hill I would die
 on and would relent to ones that marked as tested with the latest 3 major
 releases of WP.

 > What should the landing page of the preview be? (Perhaps /wp-
 admin/plugins.php?)
 I think that's probably best, yeah, as that allows someone to demo the
 "normal" post-install flow and dive right into activation and testing.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/7251#comment:4>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list