[wp-trac] [WordPress Trac] #40112: Can't preview starter content "Home" menu item in subdirectory installation

WordPress Trac noreply at wordpress.org
Sat Mar 18 03:17:21 UTC 2017


#40112: Can't preview starter content "Home" menu item in subdirectory installation
------------------------------+--------------------------
 Reporter:  dlh               |       Owner:  westonruter
     Type:  defect (bug)      |      Status:  accepted
 Priority:  normal            |   Milestone:  4.7.4
Component:  Customize         |     Version:  4.7.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by westonruter):

 * keywords:  has-patch => has-patch commit
 * owner:   => westonruter
 * status:  new => accepted


Comment:

 I can't reproduce the issue with a cheatin' error being reported in Chrome
 or Firefox. I believe I have the same subdirectory installation set up,
 and clicking on the Home nav menu item which points to `http
 ://subdirectory-install.vvv/src?customize_changeset_uuid=b1559c90-a07c-
 4f54-b447-fd8bd62c615c&customize_messenger_channel=preview-2` doesn't
 result in an error. As noted in the description, for some reason the
 trailing slash on the the cookie `path` is causing it to not be sent to a
 non-trailingslashed URL, even though it is working for me.

 In any case, clicking the home link without the trailing slash does,
 however, result in a 301 redirect to `/src/?customize_changeset_uuid=...`,
 so at the very least [attachment:40112.2.diff] is more correct because it
 eliminates an extra redirect when going home.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40112#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list