From b4319c8809fac8dd9d8e762cc5f3828d2adb2eb5 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sun, 18 May 2025 21:07:26 -0700 Subject: [PATCH 1/2] Bump WP compat --- README.md | 2 +- languages/wp-print-friendly.pot | 6 +++--- readme.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c5668a3..e3c285b 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ **Donate link:** http://www.thinkoomph.com/plugins-modules/wp-print-friendly/ **Tags:** print, template, printer, printable **Requires at least:** 3.1 -**Tested up to:** 6.0 +**Tested up to:** 6.8 **Stable tag:** 0.6.3 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html diff --git a/languages/wp-print-friendly.pot b/languages/wp-print-friendly.pot index fc1d0e8..35b81ab 100644 --- a/languages/wp-print-friendly.pot +++ b/languages/wp-print-friendly.pot @@ -1,15 +1,15 @@ -# Copyright (C) 2022 Erick Hitter, Steven K Word, and Oomph, Inc. +# Copyright (C) 2025 Erick Hitter, Steven K Word, and Oomph, Inc. # This file is distributed under the same license as the WP Print Friendly package. msgid "" msgstr "" "Project-Id-Version: WP Print Friendly 0.6.3\n" "Report-Msgid-Bugs-To: " "https://wordpress.org/support/plugin/wp-print-friendly\n" -"POT-Creation-Date: 2022-06-25 21:01:31+00:00\n" +"POT-Creation-Date: 2025-05-19 04:07:13+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2025-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "Language: en\n" diff --git a/readme.txt b/readme.txt index 1a5a3be..22a2e3f 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: ethitter, stevenkword, thinkoomph Donate link: http://www.thinkoomph.com/plugins-modules/wp-print-friendly/ Tags: print, template, printer, printable Requires at least: 3.1 -Tested up to: 6.0 +Tested up to: 6.8 Stable tag: 0.6.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -- GitLab From 1782dc4d9924b8466255a81ecb817e62b12fd507 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sun, 18 May 2025 21:19:03 -0700 Subject: [PATCH 2/2] Fix translation support --- README.md | 8 +++++++- languages/wp-print-friendly.pot | 2 +- readme.txt | 8 +++++++- wp-print-friendly.php | 2 +- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e3c285b..3f92957 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ **Tags:** print, template, printer, printable **Requires at least:** 3.1 **Tested up to:** 6.8 -**Stable tag:** 0.6.3 +**Stable tag:** 0.6.4 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -59,6 +59,9 @@ This plugin is known to conflict with certain plugins, many pertaining to SEO an ## Changelog ## +### 0.6.4 ### +* Fix translation support. + ### 0.6.3 ### * Fix translation support. @@ -157,6 +160,9 @@ This plugin is known to conflict with certain plugins, many pertaining to SEO an ## Upgrade Notice ## +### 0.6.4 ### +Fixes translation support. + ### 0.6.3 ### Fixes translation support. diff --git a/languages/wp-print-friendly.pot b/languages/wp-print-friendly.pot index 35b81ab..ecf6f0a 100644 --- a/languages/wp-print-friendly.pot +++ b/languages/wp-print-friendly.pot @@ -5,7 +5,7 @@ msgstr "" "Project-Id-Version: WP Print Friendly 0.6.3\n" "Report-Msgid-Bugs-To: " "https://wordpress.org/support/plugin/wp-print-friendly\n" -"POT-Creation-Date: 2025-05-19 04:07:13+00:00\n" +"POT-Creation-Date: 2025-05-19 04:17:33+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/readme.txt b/readme.txt index 22a2e3f..00647be 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: http://www.thinkoomph.com/plugins-modules/wp-print-friendly/ Tags: print, template, printer, printable Requires at least: 3.1 Tested up to: 6.8 -Stable tag: 0.6.3 +Stable tag: 0.6.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -59,6 +59,9 @@ This plugin is known to conflict with certain plugins, many pertaining to SEO an == Changelog == += 0.6.4 = +* Fix translation support. + = 0.6.3 = * Fix translation support. @@ -157,6 +160,9 @@ This plugin is known to conflict with certain plugins, many pertaining to SEO an == Upgrade Notice == += 0.6.4 = +Fixes translation support. + = 0.6.3 = Fixes translation support. diff --git a/wp-print-friendly.php b/wp-print-friendly.php index 7952553..d413628 100644 --- a/wp-print-friendly.php +++ b/wp-print-friendly.php @@ -85,7 +85,7 @@ class wp_print_friendly { */ private function setup() { register_deactivation_hook( __FILE__, array( $this, 'deactivation_hook' ) ); - add_action( 'plugins_loaded', array( $this, 'action_plugins_loaded' ) ); + add_action( 'init', array( $this, 'action_plugins_loaded' ) ); } /** -- GitLab