[wp-meta] [Making WordPress.org] #3123: Plugin Directory: Add "Requires PHP" header to readme standard

Making WordPress.org noreply at wordpress.org
Tue Sep 12 10:37:38 UTC 2017


#3123: Plugin Directory: Add "Requires PHP" header to readme standard
--------------------------------------+------------------------------------
 Reporter:  SergeyBiryukov            |       Owner:
     Type:  task                      |      Status:  new
 Priority:  normal                    |   Milestone:  Plugin Directory v3.0
Component:  Plugin Directory          |  Resolution:
 Keywords:  good-first-bug has-patch  |
--------------------------------------+------------------------------------

Comment (by xkon):

 '''3123.2.diff''' add the readme.txt into the plugin-directory instead
 under folder `files` again and is converted to `markdown` as well.

 As for the rewrite rule we could either do a straight forward


 {{{
 Redirect 301 https://wordpress.org/plugins/files/readme.txt
 https://wordpress.org/plugins/wp-content/plugins/plugin-
 directory/files/readme.txt
 }}}

 or a more generic


 {{{
 RewriteRule ^plugins/files/(.*)$ /plugins/wp-content/plugins/plugin-
 directory/files/$1 [R=301,NC,L]
 }}}


 But I'm not 100% sure since I can't test them so I will look more into
 that part if needed and keep you posted.

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


More information about the wp-meta mailing list