[wpmu-trac] [WordPress MU Trac] #1177: HTTP hardcoded in wpmu core files

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue Dec 15 13:23:16 UTC 2009


#1177: HTTP hardcoded in wpmu core files
------------------------+---------------------------------------------------
 Reporter:  jamk        |       Owner:  somebody                
     Type:  defect      |      Status:  new                     
 Priority:  normal      |   Milestone:                          
Component:  component1  |     Version:                          
 Severity:  minor       |    Keywords:  http https hardcode core
------------------------+---------------------------------------------------
 After making my WPMU's login and admin side secure via https I noticed
 that "http" is hardcoded in at least one place where it hurts.

 In "Admin -> Blogs" all the "Backend" buttons which take you directly to
 the dashboard of the chosen blog, the link has a "http" which is hardcoded
 in the core php file. This is the exactly location:

 {{{
 wp-admin/wpmu-blogs.php, row 475:
 $controlActions[]       = "<a href='http://{$blog['domain']}{$blog['path
 ']}wp-admin/' class='edit'>" . __('Backend') . '</a>';
 }}}

 That should be changed to some selector which sniffs whether you are using
 http or https in the next wpmu release!

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


More information about the wpmu-trac mailing list