[wp-cvs] wordpress/wp-content/plugins staticize-reloaded.php, 1.4, 1.5

Matthew Mullenweg saxmatt at users.sourceforge.net
Thu Nov 25 19:09:53 UTC 2004


Update of /cvsroot/cafelog/wordpress/wp-content/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3742/wp-content/plugins

Modified Files:
	staticize-reloaded.php 
Log Message:
Try not to cache if the page doesn't finish, updated link.

Index: staticize-reloaded.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-content/plugins/staticize-reloaded.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** staticize-reloaded.php	19 Nov 2004 02:18:22 -0000	1.4
--- staticize-reloaded.php	25 Nov 2004 19:09:49 -0000	1.5
***************
*** 3,7 ****
  Plugin Name: Staticize Reloaded
  Version: 2.5
! Plugin URI: http://www.cowpimp.com/archives/2004/06/08/staticize-plugin-for-wordpress/
  Description: Automatic Generation of static files. Cuts down on php and mysql usage. Should automatically update when changes are made to site. Original by <a href="http://www.cowpimp.com">Bill Zeller</a>.
  Author: Matt Mullenweg
--- 3,7 ----
  Plugin Name: Staticize Reloaded
  Version: 2.5
! Plugin URI: http://codex.wordpress.org/Plugins/Staticize
  Description: Automatic Generation of static files. Cuts down on php and mysql usage. Should automatically update when changes are made to site. Original by <a href="http://www.cowpimp.com">Bill Zeller</a>.
  Author: Matt Mullenweg
***************
*** 68,72 ****
  	endif;
  
! 	if ( strstr($buffer, 'wpdberror') )
  		return $buffer;
  
--- 68,75 ----
  	endif;
  
! 	if ( strstr($buffer, 'wpdberror') ) // If we detect a $wpdb error
! 		return $buffer;
! 
! 	if ( !strstr($buffer, '</html>') ) // If we don't get to the end of the page
  		return $buffer;
  




More information about the cvs mailing list