diff --git a/wp-plugin/gancio.php b/wp-plugin/gancio.php index bc598d4a..4a33a539 100644 --- a/wp-plugin/gancio.php +++ b/wp-plugin/gancio.php @@ -3,7 +3,7 @@ Plugin Name: WPGancio Plugin URI: https://gancio.org Description: Connects an user of a gancio instance to a Wordpress user so that published events are automatically pushed with Gancio API. -Version: 1.4 +Version: 1.5 Author: Gancio License: AGPL 3.0 @@ -19,8 +19,8 @@ You should have received a copy of the GNU Affero General Public License along with (WPGancio). If not, see (https://www.gnu.org/licenses/agpl-3.0.html). */ -defined( 'ABSPATH' ) or die( 'Nope, not accessing this' ); -define( 'WPGANCIO_DIR', plugin_dir_path( __FILE__ ) ); +defined('ABSPATH') or die('Nope, not accessing this'); +define('WPGANCIO_DIR', plugin_dir_path(__FILE__)); require_once(WPGANCIO_DIR . 'settings.php'); require_once(WPGANCIO_DIR . 'network_settings.php'); require_once(WPGANCIO_DIR . 'wc.php'); @@ -40,4 +40,3 @@ require_once(WPGANCIO_DIR . 'oauth.php'); * - start an OAuth 2.0 authentication flow with the selected instance * - Send each new / updated events to the selected instance via Gancio API */ - diff --git a/wp-plugin/readme.txt b/wp-plugin/readme.txt index cff0716f..aaf6fae8 100644 --- a/wp-plugin/readme.txt +++ b/wp-plugin/readme.txt @@ -4,7 +4,7 @@ Donate link: https://gancio.org Tags: events, gancio, fediverse, AP, activity pub Requires at least: 4.7 Tested up to: 6.0 -Stable tag: 1.4 +Stable tag: 1.5 Requires PHP: 7.0 License: AGPLv3 or later License URI: https://www.gnu.org/licenses/agpl-3.0.html