Skip to content

Commit

Permalink
Remove unnecessary autoload (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwngallego authored Jan 7, 2022
1 parent 316b60f commit b77fcf5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
5 changes: 2 additions & 3 deletions perfecty-push.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 <strong>Web Push Notifications</strong> plugin to send push notifications <strong>from your own server for free!</strong>
* Version: 1.5.0
* Version: 1.5.1
* Author: Perfecty
* Author URI: https://perfecty.org
* License: GPL-2.0+
Expand All @@ -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
Expand Down Expand Up @@ -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 ) );
Expand Down

0 comments on commit b77fcf5

Please sign in to comment.