 6b8a4776df
			
		
	
	
		6b8a4776df
		
	
	
	
	
		
			
			Please visit his website http://www.aadmm.org/fp-patch/ and read patch-description.txt to learn more about the details of the patch. I adapted the patch slighty: It now does not just add a __construct() function to the existing class-named one, instead it replaces it completely. Therefore, some parent::__construct() calls had to be changed, too.
		
			
				
	
	
		
			24 lines
		
	
	
		
			963 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			963 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 	$lang['plugin']['lastcommentsadmin ']['errors'] = array (
 | |
| 		-1	=> 'API key not set. Open the plugin to set your API key. Register on <a href="http://wordpress.com">Wordpress.com</a> to get one'
 | |
| 	);
 | |
| 
 | |
| 	$lang['admin']['plugin']['submenu']['lastcommentsadmin'] = 'Last Comments Admin';
 | |
| 
 | |
| 	$lang['admin']['plugin']['lastcommentsadmin'] = array(
 | |
| 		'head'		=> 'Last Comments Admin',
 | |
| 		'description'=>'Clear and rebuil last comment cache ',
 | |
| 		'clear'	=> 'Clear cache',
 | |
| 		'cleardescription' => 'Delete last comment cache file. New file cache will created when a new comment will be posted.',
 | |
| 		'rebuild' => 'Rebuild cache',
 | |
| 		'rebuilddescription' => 'Rebuild last comment cache file. Could take very long time. Could not work at all. Could burn your mouse up!',
 | |
| 	);
 | |
| 	$lang['admin']['plugin']['lastcommentsadmin']['msgs'] = array(
 | |
| 		1		=> 'Cache deleted',
 | |
| 		2		=> 'Cache rebuilded!',
 | |
| 		-1		=> 'Error!',
 | |
| 		-2	   =>  'This plugin require LastComments plugin!'
 | |
| 	);
 | |
| 	
 | |
| 
 | |
| ?>
 |