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

Making WordPress.org noreply at wordpress.org
Thu Sep 14 08:05:03 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 tellyworth):

 Replying to [comment:2 Otto42]:

 > The question I'm wondering about is how does it retrieve the plugin?
 Does it download the zip file separately? Or does it get the plugin files
 from SVN? I'm wondering if this would add any load to the system from
 getting these files for such a temporary use.

 Playground downloads the plugin zip file. Here's the code:

 https://github.com/WordPress/wordpress-
 playground/blob/6725fcff2d1d1bbf3a1b638bc0e186941436d944/packages/playground/website/public
 /plugin-proxy.php#L21-L39

 It's using `downloads.wordpress.org` which I assume will be safe from a
 bandwidth/resource POV. It will probably affect the plugin download stats
 though. Which is not a blocker but worth some further thought.

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


More information about the wp-meta mailing list