Permalink
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (31 sloc) 1.23 KB
<?php
/**
* Plugin Name: Syndication
* Plugin URI: http://wordpress.org/extend/plugins/push-syndication/
* Description: Syndicate content to and from your sites
* Version: 2.0
* Author: Automattic
* Author URI: http://automattic.com
* License: GPLv2 or later
*/
define( 'SYNDICATION_VERSION', 2.0 );
if ( ! defined( 'PUSH_SYNDICATE_KEY' ) )
define( 'PUSH_SYNDICATE_KEY', 'PUSH_SYNDICATE_KEY' );
/**
* Load syndication logger
*/
require_once( dirname( __FILE__ ) . '/includes/class-syndication-logger.php' );
Syndication_Logger::init();
require_once( dirname( __FILE__ ) . '/includes/class-wp-push-syndication-server.php' );
if ( defined( 'WP_CLI' ) && WP_CLI )
require_once( dirname( __FILE__ ) . '/includes/class-wp-cli.php' );
$push_syndication_server = new WP_Push_Syndication_Server;
// Create the event counter.
require __DIR__ . '/includes/class-syndication-event-counter.php';
new Syndication_Event_Counter();
// Create the site failure monitor.
require __DIR__ . '/includes/class-syndication-site-failure-monitor.php';
new Syndication_Site_Failure_Monitor();
// Create the site auto retry functionality
require __DIR__ . '/includes/class-syndication-site-auto-retry.php';
new Failed_Syndication_Auto_Retry();