WordPress / meta-environment

A collection of scripts that provision the official WordPress.org websites into a Varying Vagrant Vagrants installation.
190 stars 69 forks source link

WordPressorg.dev: Add sunrise.php #58

Closed ocean90 closed 8 years ago

ocean90 commented 8 years ago

WordPress.org uses sunrise.php to make the theme/plugin directory available at multiple URLs like de.wordpress.org/themes/ and de.wordpress.org/plugins/.

Content of wp-content/sunrise.php:

ocean90 commented 8 years ago

Looks like we need a bit more here: https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php?rev=3290&marks=211-215,337#L210 and https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php?rev=3058&marks=1171,1173#L1160 are checking for wordpress.org.

ocean90 commented 8 years ago

Fixed in 0824c3889c10cbf25b8944e5ebd73acba4fe9235 with wme_rosetta_network_localize_url().