[glotpress-updates] [GlotPress] #219: Add support for non-standard ports

GlotPress noreply at wordpress.org
Tue Nov 25 02:32:37 UTC 2014


#219: Add support for non-standard ports
-------------------------+-------------------------------------------------
  Reporter:  sushkov     |      Owner:
      Type:  defect      |     Status:  new
  Priority:  major       |  Milestone:  1.0
 Component:  General     |    Version:
Resolution:              |   Keywords:  has-patch dev-feedback needs-unit-
                         |  tests
-------------------------+-------------------------------------------------

Comment (by hew):

 I ran into this when playing around with GP on a MAMP instance (defaults
 to port 8888).  ```gp_url_current()``` is definitely broken in the current
 state because ```$_SERVER[HTTP_HOST]``` already contains port information
 so concatenating ```$_SERVER[SERVER_PORT]``` into the URL redundantly adds
 port information--breaking the generated URL.

--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/219#comment:2>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list