diff --git a/includes/schema.php b/includes/schema.php index b3ffea9..f92ddf3 100644 --- a/includes/schema.php +++ b/includes/schema.php @@ -1,6 +1,8 @@ diff --git a/pterotype.php b/pterotype.php index 4cab71f..d3051b8 100644 --- a/pterotype.php +++ b/pterotype.php @@ -3,7 +3,7 @@ Plugin Name: Pterotype Plugin URI: https://getpterotype.com Description: Pterotype expands your audience by giving your blog an ActivityPub stream, making it a part of the Fediverse. -Version: 1.2.0 +Version: 1.2.1 Author: Jeremy Dormitzer Author URI: https://jeremydormitzer.com License: MIT @@ -12,7 +12,7 @@ License URI: https://github.com/jdormit/blob/master/LICENSE require_once plugin_dir_path( __FILE__ ) . 'vendor/autoload.php'; require_once plugin_dir_path( __FILE__ ) . 'includes/init.php'; -define( 'PTEROTYPE_VERSION', '1.2.0' ); +define( 'PTEROTYPE_VERSION', '1.2.1' ); define( 'PTEROTYPE_BLOG_ACTOR_SLUG', '-blog' ); define( 'PTEROTYPE_BLOG_ACTOR_USERNAME', 'blog' ); @@ -30,7 +30,7 @@ function pterotype_load() { do_action( 'pterotype_load' ); } -add_action( 'plugins_loaded', 'pterotype_load' ); +add_action( 'setup_theme', 'pterotype_load' ); register_activation_hook( __FILE__, 'pterotype_init' ); register_deactivation_hook( __FILE__, 'pterotype_deactivate' ); ?>