Make WordPress Core

Changes between Version 32 and Version 33 of Ticket #15936


Ignore:
Timestamp:
12/23/2018 03:55:28 PM (6 years ago)
Author:
spacedmonkey
Comment:

15936.2.diff is a makes the patch a little simpler, so it removes all ports numbers when creating a site.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15936 – Description

    v32 v33  
    22It tries to handle the URL as it as if there were a port appended, but then fails to strip it off. Incidentally the error message here: 'Multisite only works without the port number in the URL.' is untrue, since ports are handled (but for only two particular cases, port 80 and 443).
    33
    4 The attached patch, against WordPress 3.0.3, fixes both these issues, and allows ports other than 80 and 443 to be used with Wordpress, by just stripping off the trailing port rather than special-casing the two well-known ports, and not incorrectly detecting IPv6 literals as URLs with ports in. It also has the advantage of being much more compact.
     4The attached patch, against WordPress 3.0.3, fixes both these issues, and allows ports other than 80 and 443 to be used with WordPress, by just stripping off the trailing port rather than special-casing the two well-known ports, and not incorrectly detecting IPv6 literals as URLs with ports in. It also has the advantage of being much more compact.
    55
    66It may be worth someone thinking through whether the substitution is strictly correct with reference to the URL standards, but I'm pretty sure that this is an improvement on the current code.