[wp-cvs] wordpress wp-login.php,1.47,1.48

Matthew Mullenweg saxmatt at users.sourceforge.net
Sun Dec 19 02:30:42 UTC 2004


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29977

Modified Files:
	wp-login.php 
Log Message:
New aggregation code (hat tip: Chris Davis/Jesuit), tweaked style, fixed login updater, new dashboard.

Index: wp-login.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-login.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** wp-login.php	18 Dec 2004 20:56:25 -0000	1.47
--- wp-login.php	19 Dec 2004 02:30:40 -0000	1.48
***************
*** 11,16 ****
  
  // If someone has moved WordPress let's try to detect it
! if ( dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME']) != get_settings('siteurl') )
! 	update_option('siteurl', dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME']) );
  
  switch($action) {
--- 11,16 ----
  
  // If someone has moved WordPress let's try to detect it
! if ( dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) != get_settings('siteurl') )
! 	update_option('siteurl', dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );
  
  switch($action) {




More information about the cvs mailing list