[wp-cvs] wordpress/wp-admin upgrade-functions.php,1.91,1.92

Ryan Boren rboren at users.sourceforge.net
Mon Feb 14 09:17:23 GMT 2005


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

Modified Files:
	upgrade-functions.php 
Log Message:
Load comments-popup template through the index.

Index: upgrade-functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/upgrade-functions.php,v
retrieving revision 1.91
retrieving revision 1.92
diff -C2 -d -r1.91 -r1.92
*** upgrade-functions.php	12 Feb 2005 19:34:50 -0000	1.91
--- upgrade-functions.php	14 Feb 2005 09:17:20 -0000	1.92
***************
*** 555,564 ****
  			
  			foreach ($lines as $line) {
! 				if (preg_match('/require.*wp-blog-header/', $line)) {
! 					if ($newfile == 'comments-popup.php')
! 						$line = "require('../../../wp-blog-header.php');";
! 					else
! 						$line = '//' . $line;
! 				}
  
  				// Update stylesheet references.
--- 555,560 ----
  			
  			foreach ($lines as $line) {
! 				if (preg_match('/require.*wp-blog-header/', $line))
! 					$line = '//' . $line;
  
  				// Update stylesheet references.



More information about the cvs mailing list