Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
afragen committed Feb 10, 2024
1 parent 2c4e386 commit a9047dd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- name: Get tag
id: tag
run: echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"
run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT

- name: Build project
run: git archive -o /tmp/wp-plugin-dependencies-${{ steps.tag.outputs.tag }}.zip --prefix=wp-plugin-dependencies/ ${{ steps.tag.outputs.tag }}
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[unreleased]
#### 3.0.2 / 2024-02-09
* update kill switch

#### 3.0.1 / 2023-11-21
* fix for multisite, too many `%s`
Expand Down
6 changes: 4 additions & 2 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Plugin URI: https://wordpress.org/plugins/wp-plugin-dependencies
* Description: Parses 'Requires Plugins' header and information about dependencies.
* Author: Andy Fragen, Colin Stewart, Paul Biron
* Version: 3.0.1
* Version: 3.0.2
* License: MIT
* Network: true
* Requires at least: 6.4
Expand All @@ -33,7 +33,9 @@
}

// TODO: update with correct version.
if ( version_compare( get_bloginfo( 'version' ), '6.5-beta1', '>=' ) ) {
if ( version_compare( get_bloginfo( 'version' ), '6.5-beta1', '>=' )
|| \class_exists( 'WP_Plugin_Dependencies' )
) {
require_once ABSPATH . 'wp-admin/includes/plugin.php';
deactivate_plugins( __FILE__ );
}
Expand Down

0 comments on commit a9047dd

Please sign in to comment.