Title: July 2019 – Make WordPress Systems

---

#  Monthly Archives: July 2019

 [  ](https://profiles.wordpress.org/dd32/) [Dion Hulse](https://profiles.wordpress.org/dd32/)
4:16 am _on_ July 24, 2019     
Tags: 5022-meta, [prio2 ( 135 )](https://make.wordpress.org/systems/tag/prio2/)

# 󠀁[Remove trailingslashit rule for theme directory URIs](https://make.wordpress.org/systems/2019/07/24/remove-trailingslashit-rule-for-theme-directory-uris/)󠁿

Currently the nginx rules for the theme directory includes a similar to the following,
can we please remove it, as it breaks access to URLs that shouldn’t have a trailing
slash, such as https://wordpress.org/themes/sitemap.xml
 There should already be
a handler in the 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. [https://www.php.net/manual/en/index.php](https://www.php.net/manual/en/index.php)
environment to add the trailing slash if it’s missing.

    ```
    location /themes/ {
            # Add a trailing slash to all themes
            rewrite ^/themes/([^/]+)$ /themes/$1/ permanent;
    }
    ```

This is being tracked as [#5022-meta](https://meta.trac.wordpress.org/ticket/5022).

[#prio2](https://make.wordpress.org/systems/tag/prio2/)

[#5022-meta](https://make.wordpress.org/systems/tag/5022-meta/)

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fsystems%2F2019%2F07%2F24%2Fremove-trailingslashit-rule-for-theme-directory-uris%2F%23respond&locale=en_US)

 * [Clear to-do](https://make.wordpress.org/systems/2019/07/?output_format=md#)

 [  ](https://profiles.wordpress.org/iandunn/) [Ian Dunn](https://profiles.wordpress.org/iandunn/)
10:32 pm _on_ July 3, 2019     
Tags: [prio2 ( 135 )](https://make.wordpress.org/systems/tag/prio2/)

# 󠀁[plugins.svn is very slow](https://make.wordpress.org/systems/2019/07/03/plugins-svn-is-very-slow/)󠁿

This is a known issue, but it seems like it’s gotten significantly worse in the 
past ~6 months, to the point where it’s disruptive to workflows, and would delay
promptly recovering from bad deploys.

Here are some timings from my WordCamp.org sandbox using, using `themes.svn` as 
a baseline.

>  /wp-content/themes ( 10 `svn:external`s to `themes.svn` )
>  $ time svnup … real
> 0m0.313s
>  wp-content/plugins ( 27 `svn:external`s to `plugins.svn` items, 1 to `meta.svn`)
> 
> $ time svnup … real 3m29.532s
>  $ time deployDeploy Launching code from a local development environment to the
> production web server, so that it's available to visitors.-wordcamp.sh
>  … real
> 4m44.074s

With a deploy taking almost 5 minutes, there’ll be a lot of extra/unnecessary downtime
if we ever need to revert a bad commit and re-deploy.

[#prio-2](https://make.wordpress.org/systems/tag/prio-2/)

[#prio2](https://make.wordpress.org/systems/tag/prio2/)

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fsystems%2F2019%2F07%2F03%2Fplugins-svn-is-very-slow%2F%23respond&locale=en_US)

 * [Clear to-do](https://make.wordpress.org/systems/2019/07/?output_format=md#)

 [  ](https://profiles.wordpress.org/dd32/) [Dion Hulse](https://profiles.wordpress.org/dd32/)
2:25 am _on_ July 1, 2019     
Tags: [prio1 ( 83 )](https://make.wordpress.org/systems/tag/prio1/),
[trac ( 40 )](https://make.wordpress.org/systems/tag/trac/)   

# 󠀁[Remove cookie-stripping behaviour from Trac Ticket caching](https://make.wordpress.org/systems/2019/07/01/remove-cookie-stripping-behaviour-from-trac-ticket-caching/)󠁿

As per previous discussions, can we please remove the TracTrac Trac is the place
where contributors create issues for bugs or feature requests much like GitHub.[https://core.trac.wordpress.org/](https://core.trac.wordpress.org/).
Caching that strips the `Set-Cookie` headers from Trac ticket pages?

As mentioned, this causes failures to comment on tickets – https://meta.trac.wordpress.
org/ticket/4360

As discussed, you’ll find a hacky Trac plugin that attempts to avoid setting useless
Trac cookies in https://wordpress.slack.com/archives/G02QCEMRY/p1554790742034300?
thread_ts=1554340318.022800&cid=G02QCEMRY but it’s mostly untested and may not work
as needed.

The Latest trac plugin is in https://gist.github.com/dd32/e1a6e434cb9b5721cc086e51751f8c44
and has been tested well on a standalone trac installation.
 The pluginPlugin A 
plugin is a piece of software containing a group of functions that can be added 
to a WordPress website. They can extend functionality or add new features to your
WordPress websites. WordPress plugins are written in the PHP programming language
and integrate seamlessly with WordPress. These can be free in the WordPress.org 
Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
or can be cost-based plugin from a third-party. does several things: – Prevents 
Cookies being sent on anonymous pageviews – Prevents anonymous sessions being saved
to the DB (as there’s no such thing anymore) – Blocks access to /prefs for anonymous
users – Expires all trac_* cookies after the user is no longer authenticated, such
as to remove the trac_form_token cookie.

[#trac](https://make.wordpress.org/systems/tag/trac/) [#prio1](https://make.wordpress.org/systems/tag/prio1/)

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fsystems%2F2019%2F07%2F01%2Fremove-cookie-stripping-behaviour-from-trac-ticket-caching%2F%23respond&locale=en_US)

 * [Clear to-do](https://make.wordpress.org/systems/2019/07/?output_format=md#)