[wp-trac] [WordPress Trac] #25767: get_home_path() fails if admin is SSL and not the frontend

WordPress Trac noreply at wordpress.org
Fri Apr 11 18:19:29 UTC 2014


#25767: get_home_path() fails if admin is SSL and not the frontend
----------------------------+-----------------------------
 Reporter:  GregLone        |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Filesystem API  |     Version:  3.7.1
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+-----------------------------

Comment (by jeremyclarke):

 +1 we are another site where this problem is causing havoc.

 We use FORCE_SSL_ADMIN to secure the admin (logins etc) but don't secure
 the frontend because it's a lot more complicated to get all the frontend
 assets as https and thus avoid mixed content errors. (just stating the
 obvious as to why this config is desirable). Thus for us a home_url
 without https and a site_url with it is vital.

 The outcome of this bug is that the permalinks page generates errors and
 becomes completely non-functional. No amount of chmod 777 will make
 .htacess writeable, which in many cases would mean people rendered unable
 to resave their permalinks (we had broken permalinks for awhile while I
 tried to track this down, TERRIBLE).

 This also indirectly affects the WP-Supercache plugin which loses it's
 mind in mod_rewrite mode because it can't find the .htaccess file to
 assess or update it. I'm sure there are other things it breaks as well.

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


More information about the wp-trac mailing list