There are no cache instructions…

There are no cache instructions on SVGs on the CDN, could you please add some on?

$ curl -I
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Type: image/svg+xml
Date: Wed, 20 Jul 2016 05:44:19 GMT
Last-Modified: Mon, 18 Jul 2016 07:14:38 GMT
Server: ECS (syd/EBEC)
X-Cache: HIT
X-Frame-Options: SAMEORIGIN
X-nc: MISS lax 186
Content-Length: 4618

The cache can be set to a long time without causing problems, I’m fine with a month or more.

Also, I’m not sure if it’s possible/desired to compress the data, but I imagine SVGs will compress moderately well.

Hello! @adityakane is a new…

Hello! @adityakane is a new super deputy for the community team and he needs proxy access. His public key is:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJRKfcLQ4RmBTyw+z0gpVGkd6TEISbVoFYgBW//olFw78eyt1JjfmNQJBUmn2xpxzIjUjSOEHxSwXbqT4no1Rj+15ahEpfqeBwhobVAjXoVpuS8XY+prCno5mVI5cEJNF5uwUotLUi8W0ma7LX8Nnev7kKBvNEHJwWP+EPaanJezVjoIgmuK8dOwiejuHXdicF/Z/8tUqH3x+xo7Ljpj5etlVn9zN+yigL55eLv+RXPOH73EAb+jcBAKLLbUroWxqH/ak76fwfwN0Wm9RxWP1OqO2YjxOKDmbxLpoCBsfWFa0zc9Rl9Qce3fBYqapn1SNv6j3BdKx2hnNKb4FehSzV Aditya@Adityas-MacBook-Air.local


Please create a sandbox for…

Please create a sandbox for @gibrown and give him commit to the meta repository. He will be assisting with Elasticsearch in the plugin directory. You can re-use his Automattic SSH key.

Since switching linting to…

Since switching linting to PHP7 it looks like the fatal error outputs are not including the actual error, only the fact an error occured. This causes a bit of confusion as some things are being blocked (correctly) with no obvious cause.

For example:

Sending        plugin.php
Transmitting file data .svn: E165001: Commit failed (details follow):
svn: E165001: Commit blocked by pre-commit hook (exit code 1) with output:

PHP error in: test-plugin-3/trunk/plugin.php:
Errors parsing test-plugin-3/trunk/plugin.php

svn: E165001: Your commit message was left in a temporary file:
svn: E165001:    '/home/www/tmp/sdf/svn-commit.tmp'

In that case, it should’ve included a message of Fatal error: 'continue' not in the 'loop' or 'switch' context in plugin.php on line 20 (Note: This is one of the new PHP7 parse fatal errors)

This can be tested by attempting to commit to a plugin with a continue; statement in global scope (for example, a file as <?php continue;).

I can’t see the issue in the pre-commit script, but i assume the error is probably going to STDOUT rather than STDERR.

New table column for

Hi, for an upcoming update of GlotPress I need a new column user_id_last_modified for the translations table.

The query:
ALTER TABLE translate_translations ADD COLUMN user_id_last_modified bigint(20) DEFAULT NULL;
Running this query on my local dump took 9 min 32.67 sec (35207550 rows affected).

@barry: Can you run the query on each server like you did for the index change? Thank you!

There’s a virus message on…

There’s a virus message on the wp-testers mailing list archive.

502 Bad Gateway errors

The number of reports for 502 Bad Gateway errors is increasing recently.

My first report for 502 errors was for https://* requests on Jan 7th. This was solved by @barry, “some memory corruption probably caused by a bug in pecl-memcache that we are working on fixing“.

Around April 3rd I got a few reports for but couldn’t confirm them.

On April 13th I reported that the https://* issue happens again. This issue is still there, see #dotorg-warnings.

Since this Monday we’re getting reports for 502 Bad Gateway errors on our make sites. For example returns a 502 which prevents adding new comments.


But there are also new reports for (when submitting translations) and for localized sites:

Image 2016-06-07 at 9.56.15 am

The 502 errors do not happen on our sandboxes, only in production. Can someone please look into this? Thank you!

Low priority It looks like https security wordpress…

(Low-priority) It looks like doesn’t act the same as

http: (note: p2 automatically https’s the below urls, edit post to see raw)
$ curl -IL | grep Location


  • invalid cert (multipattern)
  • redirect to default cpanel URL

The URL is used as a shorthand in some documentation AFAIK, mentioned to me by @netweb who uses HTTPS Everywhere which triggered this.

#1641meta has pointed out that plugins trac wordpress…

#1641meta has pointed out that is missing ~8400 changesets.

Can we do something to import those missing changesets? As we’re running Trac with explicit synchronization, I think it might just be a case of running trac-admin changeset added for each of the missing revisions.

#plugins-trac, #trac

I have an nginx fix for a fun…

I have an nginx fix for a fun issue that’s breaking Jetpack integration. isn’t being rewritten to /xmlrpc.php because /support/xmlrpc.php exists (it’s a bbPress file). /support/ is a physical directory that is bypassed for all subdomains, which means we end up rewriting it to index.php and thus a 404 results.

The simple fix appears to be this:

	# needs to hit /xmlrpc.php.
	# Without this, it targets /support/xmlrpc.php (a bbPress file)
	# which is then denied and we end up with a 404.
	location ~ /xmlrpc\.php(?:/|$) {
		include conf.d/php-config;
		rewrite ^ /xmlrpc.php break;

This should go into conf.d/ around line 60. I’m happy to commit this but I wanted review first.