[wpmu-trac] [WordPress MU Trac] #592: general https support

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue Apr 15 16:42:11 GMT 2008


#592: general https support
---------------------------+------------------------------------------------
 Reporter:  chriseveleigh  |       Owner:  somebody
     Type:  enhancement    |      Status:  new     
 Priority:  normal         |   Milestone:          
Component:  component1     |     Version:          
 Severity:  normal         |    Keywords:          
---------------------------+------------------------------------------------
 hi,  i've made a bunch of changes to my copy of wpmu to get it working on
 our https-only site.

 i'd like to submit patches of these changes but would like to know:

 1) is it okay to add this functionality into the main code?  i've seen a
 few similar tickets get closed but i think that's because they wanted
 extra functionality such as "force https on login".

 2) is my approach correct?

 at the moment i've copied the "what schema are we using at the moment"
 code from the RELOCATE code in wp-login.php and put it in wp-config.php.
 then i've replaced "http://" with $schema in lots of places.  if it's in a
 function then i've either added "global $schema" at the top of the
 function or used $GLOBALS['schema'] instead.

 the files i've modified so far are:

 wpmu-settings.php
 wp-signup.php
 wp-login.php
 wp-app.php
 wp-activate.php
 wp-content/themes/home/footer.php
 wp-content/themes/home/sidebar.php
 wp-includes/comment-template.php
 wp-content/themes/default/footer.php
 wp-content/themes/default/sidebar.php
 wp-admin/wpmu-blogs.php
 wp-admin/wpmu-edit.php
 wp-admin/wpmu-users.php
 wp-admin/includes/mu.php
 wp-includes/wpmu-functions.php

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/592>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list