From e5308b15589cab3a5fc0e0ae19a53783627f90ce Mon Sep 17 00:00:00 2001 From: Arun Date: Sat, 13 Jan 2024 12:38:14 -0800 Subject: [PATCH 1/4] ci: Use GITHUB_OUTPUT envvar instead of set-output command --- .github/workflows/release-pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-pull-request.yml b/.github/workflows/release-pull-request.yml index 88826afdc..a6e623d53 100644 --- a/.github/workflows/release-pull-request.yml +++ b/.github/workflows/release-pull-request.yml @@ -14,7 +14,7 @@ jobs: BRANCH=${GITHUB_REF##*/} echo $BRANCH VERSION=${BRANCH#'release/'} - echo ::set-output name=result::"Release: ${VERSION}" + echo "result="Release: ${VERSION}"" >> $GITHUB_OUTPUT id: title - name: Create Pull Request run: gh pr create --draft --title "${{ steps.title.outputs.result }}" --body-file ./.github/release-pull-request-template.md From ae93de89d0732c03524813c97eaf2337020b1e3a Mon Sep 17 00:00:00 2001 From: Kirtan Gajjar <8456197+kirtangajjar@users.noreply.github.com> Date: Sat, 15 Jun 2024 14:27:14 +0530 Subject: [PATCH 2/4] Fix strpos first arg null warning in php 8.1 --- includes/settings.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/settings.php b/includes/settings.php index afee92722..31ea9826b 100644 --- a/includes/settings.php +++ b/includes/settings.php @@ -125,7 +125,8 @@ function update_notice( $plugin_file, $plugin_data, $status ) { * @since 1.2 */ function maybe_notice() { - if ( 0 === strpos( get_current_screen()->parent_base, 'distributor' ) ) { + $parent_base = get_current_screen()->parent_base ?? ''; + if ( 0 === strpos( $parent_base, 'distributor' ) ) { if ( Utils\is_development_version() ) { ?>
From 045da70e377ebf94e19083db0520a683de19f3b6 Mon Sep 17 00:00:00 2001 From: Faisal Alvi Date: Wed, 3 Jul 2024 17:00:33 +0530 Subject: [PATCH 3/4] Update includes/settings.php Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com> --- includes/settings.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/settings.php b/includes/settings.php index 31ea9826b..1acd0df39 100644 --- a/includes/settings.php +++ b/includes/settings.php @@ -125,7 +125,10 @@ function update_notice( $plugin_file, $plugin_data, $status ) { * @since 1.2 */ function maybe_notice() { - $parent_base = get_current_screen()->parent_base ?? ''; + $parent_base = get_current_screen()->parent_base; + if ( ! $parent_base ) { + return; + } if ( 0 === strpos( $parent_base, 'distributor' ) ) { if ( Utils\is_development_version() ) { ?> From 74334de19cff52b2eba722f503e3adae61991ba9 Mon Sep 17 00:00:00 2001 From: Sumit Bagthariya <67687255+qasumitbagthariya@users.noreply.github.com> Date: Mon, 8 Jul 2024 12:07:33 +0530 Subject: [PATCH 4/4] Update readme.txt --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index c611e18c9..f4a5fab65 100644 --- a/readme.txt +++ b/readme.txt @@ -1,7 +1,7 @@ === Distributor === Contributors: 10up Tags: content, distribution, syndication, management -Tested up to: 6.5 +Tested up to: 6.6 Stable tag: 2.0.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html