Plugin Directory


Ignore:
Timestamp:
01/29/2010 02:34:53 PM (16 years ago)
Author:
Txanny
Message:

Released SidePosts 3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sideposts/trunk/sideposts.php

    r196960 r199488  
    44Plugin URI:     http://alkivia.org/wordpress/sideposts
    55Description:    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.2
     6Version:        3.0
    77Author:         Jordi Canals
    88Author URI:     http://alkivia.org
     
    1414 * Posts will not show on index pages, archives or feeds. The category has its own feed.
    1515 *
    16  * @version     $Rev: 483 $
     16 * @version     $Rev: 638 $
    1717 * @author      Jordi Canals
    18  * @copyright   Copyright (C) 2009, 2010 Jordi Canals
     18 * @copyright   Copyright (C) 2008, 2009, 2010 Jordi Canals
    1919 * @license     GNU General Public License version 2
    2020 * @link        http://alkivia.org
     
    2323 *
    2424
    25     Copyright 2009, 2010 Jordi Canals <devel@jcanals.cat>
     25    Copyright 2008, 2009, 2010 Jordi Canals <devel@jcanals.cat>
    2626
    2727    This program is free software; you can redistribute it and/or
     
    4747 * @return void
    4848 */
    49 function _sposts_php_warning()
     49function _sideposts_php_warning()
    5050{
    5151    $data = get_plugin_data(__FILE__);
     
    5555        . sprintf(__('The active plugin %s is not compatible with your PHP version.', 'sideposts') .'</p><p>',
    5656            '&laquo;' . $data['Name'] . ' ' . $data['Version'] . '&raquo;')
    57         . sprintf(__('%s is required for this plugin.', 'sideposts'), 'PHP 5.2 ')
     57        . sprintf(__('%s is required for this plugin.', 'sideposts'), 'PHP 5.2')
    5858        . '</p></div>';
    5959}
     
    6262if ( version_compare(PHP_VERSION, '5.2.0', '<') ) {
    6363    // Send an armin warning
    64     add_action('admin_notices', '_sposts_php_warning');
     64    add_action('admin_notices', '_sideposts_php_warning');
    6565} else {
    6666    require_once( SPOSTS_PATH . '/framework/loader.php');
    6767    require ( SPOSTS_LIB . '/plugin.php' );
     68    require ( SPOSTS_LIB . '/functions.php' );
    6869
    6970    ak_create_object('sideposts', new SidePosts(__FILE__, 'sideposts'));
Note: See TracChangeset for help on using the changeset viewer.