Can @andreamiddleton please have mc access for dotorg. Release management isn’t needed, it’s for stats. #prio2
Monthly Archives: August 2020
Create learn@wordpress.org and forward to Help Scout
We need a new email address set up for the new learn.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ platform that we can use to communicate with workshop presenters, reviewers, discussion group leaders, and other volunteers.
The email address we’d like is learn@wordpress.org
. This will be managed in a Help Scout mailbox, so please set it up to forward to this email address: learn-wordpress@mu.helpscoutapp.com
Do you need any additional information to set this up?
Add `NumberFormatter` to wordcamp.org & w.org
It looks like it should be bundled by default, but isn’t in our build.
PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php. 7.4 deprecated money_format()
, so NumberFormatter
is now required. Can someone please add it?
xref https://wordpress.slack.com/archives/GDDSW0WNS/p1597179167490600
Add nginx config to support subdirectory sites on learn.wordpress.org
learn.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ is already configured as a separate multisiteMultisite Multisite is a WordPress feature which allows users to create a network of sites on a single WordPress installation. Available since WordPress version 3.0, Multisite is a continuation of WPMU or WordPress Multiuser project. WordPress MultiUser project was discontinued and its features were included into WordPress core.https://codex.wordpress.org/Create_A_Network. network, but has only had the one root site so far. When I try to access a subdirectory site I created at learn.wordpress.org/test/, I get a browser error that the page isn’t redirecting properly.
It looks like make.wordpress.org has an nginxNGINX NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers. https://www.nginx.com/. config file that enables support for its subdirectory sites, so I’m guessing learn would need something very similar.
We’re trying to get the learn.wordpress.org site updated by Aug 12th, so I’m setting this to high priority in the hopes that it can get done soon.
Thanks!
Add location block for `/files/` X-Accel-Redirect rewrites.
Currently WordPress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ uses ms-files.php
still, and while it’d be nice to move away from that, it’s not straight forward to doing so.ms-files.php
suffers from a long-term bug where videos can’t be played in Safari due to not supporting Range
headers. As a work-around for that, we’d like to enable the X-Accel-Redirect offload functionality which will fix that.
How to test:
– https://make.wordpress.org/core/2020/08/06/wordpress-5-5-core-editor-accessibility-improvements/ has videos that should load/play in Safari, they currently do not.
– Add blogs.dir location blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. (see below)
– Add define( 'WPMU_ACCEL_REDIRECT', true );
to wp-config.php
– Videos should now play in Safari.
Using that as an example, the ms-files path is:
– https://make.wordpress.org/core/files/2020/08/roving-tabindex-1.mp4
WPMU_ACCEL_REDIRECT
once enabled, outputs:
– X-Accel-Redirect: /blogs.dir/6/files/2020/08/roving-tabindex-1.mp4
I believe something similar to the following should work for all WordPress.org network sites (those served out of the WordPress.org users public_html):
location /blogs.dir/ { internal; alias /uploads/; }
- PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php. execution within that location is not required.
- 404’s should 404, ms-files.php will take care of that.
- This should NOT apply to buddypress or sites hosted on non-wordpress.org users.
- The
X-Accel-Redirect
response can be cached if wanted, but I assume the default caching strategy would already do so.