/* Plugin Name: iThemes Sync Plugin URI: http://ithemes.com/ Description: Manage updates to your WordPress sites easily in one place. Author: iThemes Version: 1.6.1 Author URI: http://ithemes.com/ iThemes Package: ithemes-sync */ if ( ! empty( $GLOBALS['ithemes_sync_path'] ) ) { $active_plugin_path = preg_replace( '|^' . preg_quote( ABSPATH, '|' ) . '|', '', $GLOBALS['ithemes_sync_path'] ); $this_plugin_path = preg_replace( '|^' . preg_quote( ABSPATH, '|' ) . '|', '', dirname( __FILE__ ) ); if ( $active_plugin_path != $this_plugin_path ) { $function = 'echo \'

'; $function .= sprintf( __( 'Only one iThemes Sync plugin can be active at a time. The plugin at %1$s is running while the plugin at %2$s was skipped in order to prevent errors. Please deactivate the plugin that you do not wish to use.', 'it-l10n-ithemes-sync' ), $active_plugin_path, $this_plugin_path ); $function .= '

\';'; $function_ref = create_function( '', $function ); add_action( 'all_admin_notices', $function_ref, 0 ); } return; } require( dirname( __FILE__ ) . '/load.php' );