From b77fcf598b82fa44e559aa46b0c08ce59cf9e689 Mon Sep 17 00:00:00 2001 From: Rowinson Gallego Date: Sat, 8 Jan 2022 00:01:07 +0100 Subject: [PATCH] Remove unnecessary autoload (#130) --- README.txt | 5 ++++- perfecty-push.php | 5 ++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.txt b/README.txt index 5c099bd..50c2f2d 100644 --- a/README.txt +++ b/README.txt @@ -4,7 +4,7 @@ Donate link: https://github.com/perfectyorg Tags: Push Notifications, Web Push Notifications, Notifications, User engagement Requires at least: 5.0 Tested up to: 5.8 -Stable tag: 1.5.0 +Stable tag: 1.5.1 Requires PHP: 7.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -95,6 +95,9 @@ You can create an issue in our Github repo: == Changelog == += 1.5.1 = +* Remove unnecessary autoload, related to [#111](https://github.com/perfectyorg/perfecty-push-wp/issues/111). + = 1.5.0 = * Send automatic notifications for Custom Post Types (public). Related [#103](https://github.com/perfectyorg/perfecty-push-wp/issues/103) * Use the external composer libraries only when necessary to avoid potential conflicts. Related [#111](https://github.com/perfectyorg/perfecty-push-wp/issues/111) diff --git a/perfecty-push.php b/perfecty-push.php index f99a35e..489dedf 100644 --- a/perfecty-push.php +++ b/perfecty-push.php @@ -15,7 +15,7 @@ * Plugin Name: Perfecty Push Notifications * Plugin URI: https://wordpress.org/plugins/perfecty-push-notifications * Description: Self-hosted, Open Source and powerful Web Push Notifications plugin to send push notifications from your own server for free! - * Version: 1.5.0 + * Version: 1.5.1 * Author: Perfecty * Author URI: https://perfecty.org * License: GPL-2.0+ @@ -34,7 +34,7 @@ * Start at version 1.0.0 and use SemVer - https://semver.org * Rename this for your plugin and update it as you release new versions. */ -define( 'PERFECTY_PUSH_VERSION', '1.5.0' ); +define( 'PERFECTY_PUSH_VERSION', '1.5.1' ); /** * DB Version of the plugin @@ -78,7 +78,6 @@ function deactivate_perfecty_push() { */ require plugin_dir_path( __FILE__ ) . 'lib/class-perfecty-push-lib-utils.php'; if ( version_compare( PHP_VERSION, '7.2.0', '>=' ) ) { - require __DIR__ . '/vendor/autoload.php'; Perfecty_Push_Lib_Utils::check_gmp(); } else { error_log( sprintf( 'Wrong PHP version: %s', PHP_VERSION ) );