/*
Plugin Name: Duplicate Posts Remover
Plugin URI: http://www.optimum7.com/?utm_source=DuplicatePostPlugin
Description: This plugin eliminates the selected-duplicated posts and pages from your blog.
Version: 2.3.0
Author: Optimum7
Author URI: http://www.optimum7.com/?utm_source=DuplicatePostPlugin
Copyright 2011 Optimum7 Inc (email : optimum7@optimum7.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
define('OPT7_PDD_PLUGINPATH', (DIRECTORY_SEPARATOR != '/') ? str_replace(DIRECTORY_SEPARATOR, '/', dirname(__FILE__)) : dirname(__FILE__));
define('OPT7_PDD_PLUGINNAME', 'Duplicate Posts Remover');
define('OPT7_UTM_SOURCE_CODE', 'DuplicatePostPlugin');
define('OPT7_PDD_PLUGINSUPPORT_PATH', 'http://www.optimum7.com/internet-marketing/?utm_source='.OPT7_UTM_SOURCE_CODE);
define('OPT7_PDD_RSS_LINKS',10);
define('OPT7_PDD_RSS_URL','http://www.optimum7.com/internet-marketing/feed');
_opt7_duplicate_posts_remover::bootstrap();
/********************************************************************************************************************/
class _opt7_duplicate_posts_remover{
function bootstrap(){
$file = OPT7_PDD_PLUGINPATH . '/' . basename(__FILE__);
// Add the actions
add_action('admin_menu', array('_opt7_duplicate_posts_remover','add_admin_options'));
}
function add_admin_options(){
add_menu_page ('_opt7_duplicate_posts_remover', 'Duplicate Posts', 8, '_opt7_duplicate_posts_remover', array('_opt7_duplicate_posts_remover','_opt7_duplicate_posts_remover_menu'), '/wp-content/plugins/duplicate-posts-remover/images/icon.gif');
}
function _opt7_duplicate_posts_remover_menu(){
require(OPT7_PDD_PLUGINPATH . '/admin/opt7-duplicate-posts-remover-settings.php');
}
}
?>