Changeset 199488 for sideposts/trunk/sideposts.php
- Timestamp:
- 01/29/2010 02:34:53 PM (16 years ago)
- File:
-
- 1 edited
-
sideposts/trunk/sideposts.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sideposts/trunk/sideposts.php
r196960 r199488 4 4 Plugin URI: http://alkivia.org/wordpress/sideposts 5 5 Description: A simple widget to move posts from a category to the sidebar. Posts do not show on index, archives or feeds, and have its own feed. 6 Version: 2.5.26 Version: 3.0 7 7 Author: Jordi Canals 8 8 Author URI: http://alkivia.org … … 14 14 * Posts will not show on index pages, archives or feeds. The category has its own feed. 15 15 * 16 * @version $Rev: 483$16 * @version $Rev: 638 $ 17 17 * @author Jordi Canals 18 * @copyright Copyright (C) 200 9, 2010 Jordi Canals18 * @copyright Copyright (C) 2008, 2009, 2010 Jordi Canals 19 19 * @license GNU General Public License version 2 20 20 * @link http://alkivia.org … … 23 23 * 24 24 25 Copyright 200 9, 2010 Jordi Canals <devel@jcanals.cat>25 Copyright 2008, 2009, 2010 Jordi Canals <devel@jcanals.cat> 26 26 27 27 This program is free software; you can redistribute it and/or … … 47 47 * @return void 48 48 */ 49 function _s posts_php_warning()49 function _sideposts_php_warning() 50 50 { 51 51 $data = get_plugin_data(__FILE__); … … 55 55 . sprintf(__('The active plugin %s is not compatible with your PHP version.', 'sideposts') .'</p><p>', 56 56 '«' . $data['Name'] . ' ' . $data['Version'] . '»') 57 . sprintf(__('%s is required for this plugin.', 'sideposts'), 'PHP 5.2 ')57 . sprintf(__('%s is required for this plugin.', 'sideposts'), 'PHP 5.2') 58 58 . '</p></div>'; 59 59 } … … 62 62 if ( version_compare(PHP_VERSION, '5.2.0', '<') ) { 63 63 // Send an armin warning 64 add_action('admin_notices', '_s posts_php_warning');64 add_action('admin_notices', '_sideposts_php_warning'); 65 65 } else { 66 66 require_once( SPOSTS_PATH . '/framework/loader.php'); 67 67 require ( SPOSTS_LIB . '/plugin.php' ); 68 require ( SPOSTS_LIB . '/functions.php' ); 68 69 69 70 ak_create_object('sideposts', new SidePosts(__FILE__, 'sideposts'));
Note: See TracChangeset
for help on using the changeset viewer.