From 31c1ecc06d4896aa1697d17e1d7a7e9ad9bf1c16 Mon Sep 17 00:00:00 2001 From: Ojo Paul Date: Fri, 27 May 2022 12:58:41 +0100 Subject: [PATCH 1/7] - composer update --- composer.lock | 118 +++++++++++++++++++++++++------------------------- 1 file changed, 59 insertions(+), 59 deletions(-) diff --git a/composer.lock b/composer.lock index cca4d8f2..567cc1bb 100644 --- a/composer.lock +++ b/composer.lock @@ -1086,20 +1086,20 @@ }, { "name": "codeception/module-phpbrowser", - "version": "1.0.2", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/Codeception/module-phpbrowser.git", - "reference": "770a6be4160a5c0c08d100dd51bff35f6056bbf1" + "reference": "8ba6bede11d0914e74d98691f427fd8f397f192e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/module-phpbrowser/zipball/770a6be4160a5c0c08d100dd51bff35f6056bbf1", - "reference": "770a6be4160a5c0c08d100dd51bff35f6056bbf1", + "url": "https://api.github.com/repos/Codeception/module-phpbrowser/zipball/8ba6bede11d0914e74d98691f427fd8f397f192e", + "reference": "8ba6bede11d0914e74d98691f427fd8f397f192e", "shasum": "" }, "require": { - "codeception/codeception": "^4.0", + "codeception/codeception": "^4.1", "codeception/lib-innerbrowser": "^1.3", "guzzlehttp/guzzle": "^6.3|^7.0", "php": ">=5.6.0 <9.0" @@ -1140,9 +1140,9 @@ ], "support": { "issues": "https://github.com/Codeception/module-phpbrowser/issues", - "source": "https://github.com/Codeception/module-phpbrowser/tree/1.0.2" + "source": "https://github.com/Codeception/module-phpbrowser/tree/1.0.3" }, - "time": "2020-10-24T15:29:28+00:00" + "time": "2022-05-21T13:50:41+00:00" }, { "name": "codeception/module-rest", @@ -1300,16 +1300,16 @@ }, { "name": "codeception/phpunit-wrapper", - "version": "9.0.7", + "version": "9.0.9", "source": { "type": "git", "url": "https://github.com/Codeception/phpunit-wrapper.git", - "reference": "7d6b1a5ea4ed28d010e5d36b993db813eb49710b" + "reference": "7439a53ae367986e9c22b2ac00f9d7376bb2f8cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/7d6b1a5ea4ed28d010e5d36b993db813eb49710b", - "reference": "7d6b1a5ea4ed28d010e5d36b993db813eb49710b", + "url": "https://api.github.com/repos/Codeception/phpunit-wrapper/zipball/7439a53ae367986e9c22b2ac00f9d7376bb2f8cf", + "reference": "7439a53ae367986e9c22b2ac00f9d7376bb2f8cf", "shasum": "" }, "require": { @@ -1343,9 +1343,9 @@ "description": "PHPUnit classes used by Codeception", "support": { "issues": "https://github.com/Codeception/phpunit-wrapper/issues", - "source": "https://github.com/Codeception/phpunit-wrapper/tree/9.0.7" + "source": "https://github.com/Codeception/phpunit-wrapper/tree/9.0.9" }, - "time": "2022-01-26T14:43:10+00:00" + "time": "2022-05-23T06:24:11+00:00" }, { "name": "codeception/stub", @@ -3594,7 +3594,7 @@ }, { "name": "illuminate/collections", - "version": "v8.83.13", + "version": "v8.83.14", "source": { "type": "git", "url": "https://github.com/illuminate/collections.git", @@ -3648,7 +3648,7 @@ }, { "name": "illuminate/contracts", - "version": "v8.83.13", + "version": "v8.83.14", "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", @@ -3696,7 +3696,7 @@ }, { "name": "illuminate/macroable", - "version": "v8.83.13", + "version": "v8.83.14", "source": { "type": "git", "url": "https://github.com/illuminate/macroable.git", @@ -3742,7 +3742,7 @@ }, { "name": "illuminate/support", - "version": "v8.83.13", + "version": "v8.83.14", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", @@ -7230,16 +7230,16 @@ }, { "name": "symfony/config", - "version": "v5.4.8", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "9f8964f56f7234f8ace16f66cb3fbae950c04e68" + "reference": "8f551fe22672ac7ab2c95fe46d899f960ed4d979" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/9f8964f56f7234f8ace16f66cb3fbae950c04e68", - "reference": "9f8964f56f7234f8ace16f66cb3fbae950c04e68", + "url": "https://api.github.com/repos/symfony/config/zipball/8f551fe22672ac7ab2c95fe46d899f960ed4d979", + "reference": "8f551fe22672ac7ab2c95fe46d899f960ed4d979", "shasum": "" }, "require": { @@ -7289,7 +7289,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/config/tree/v5.4.8" + "source": "https://github.com/symfony/config/tree/v5.4.9" }, "funding": [ { @@ -7305,20 +7305,20 @@ "type": "tidelift" } ], - "time": "2022-04-12T16:02:29+00:00" + "time": "2022-05-17T10:39:36+00:00" }, { "name": "symfony/console", - "version": "v5.4.8", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "ffe3aed36c4d60da2cf1b0a1cee6b8f2e5fa881b" + "reference": "829d5d1bf60b2efeb0887b7436873becc71a45eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/ffe3aed36c4d60da2cf1b0a1cee6b8f2e5fa881b", - "reference": "ffe3aed36c4d60da2cf1b0a1cee6b8f2e5fa881b", + "url": "https://api.github.com/repos/symfony/console/zipball/829d5d1bf60b2efeb0887b7436873becc71a45eb", + "reference": "829d5d1bf60b2efeb0887b7436873becc71a45eb", "shasum": "" }, "require": { @@ -7388,7 +7388,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.8" + "source": "https://github.com/symfony/console/tree/v5.4.9" }, "funding": [ { @@ -7404,7 +7404,7 @@ "type": "tidelift" } ], - "time": "2022-04-12T16:02:29+00:00" + "time": "2022-05-18T06:17:34+00:00" }, { "name": "symfony/css-selector", @@ -7628,16 +7628,16 @@ }, { "name": "symfony/dom-crawler", - "version": "v5.4.6", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", - "reference": "c0bda97480d96337bd3866026159a8b358665457" + "reference": "a213cbc80382320b0efdccdcdce232f191fafe3a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/c0bda97480d96337bd3866026159a8b358665457", - "reference": "c0bda97480d96337bd3866026159a8b358665457", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/a213cbc80382320b0efdccdcdce232f191fafe3a", + "reference": "a213cbc80382320b0efdccdcdce232f191fafe3a", "shasum": "" }, "require": { @@ -7683,7 +7683,7 @@ "description": "Eases DOM navigation for HTML and XML documents", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dom-crawler/tree/v5.4.6" + "source": "https://github.com/symfony/dom-crawler/tree/v5.4.9" }, "funding": [ { @@ -7699,20 +7699,20 @@ "type": "tidelift" } ], - "time": "2022-03-02T12:42:23+00:00" + "time": "2022-05-04T14:46:32+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.4.3", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "dec8a9f58d20df252b9cd89f1c6c1530f747685d" + "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/dec8a9f58d20df252b9cd89f1c6c1530f747685d", - "reference": "dec8a9f58d20df252b9cd89f1c6c1530f747685d", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", + "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", "shasum": "" }, "require": { @@ -7768,7 +7768,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.3" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.9" }, "funding": [ { @@ -7784,7 +7784,7 @@ "type": "tidelift" } ], - "time": "2022-01-02T09:53:40+00:00" + "time": "2022-05-05T16:45:39+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -7867,16 +7867,16 @@ }, { "name": "symfony/filesystem", - "version": "v5.4.7", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "3a4442138d80c9f7b600fb297534ac718b61d37f" + "reference": "36a017fa4cce1eff1b8e8129ff53513abcef05ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/3a4442138d80c9f7b600fb297534ac718b61d37f", - "reference": "3a4442138d80c9f7b600fb297534ac718b61d37f", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/36a017fa4cce1eff1b8e8129ff53513abcef05ba", + "reference": "36a017fa4cce1eff1b8e8129ff53513abcef05ba", "shasum": "" }, "require": { @@ -7911,7 +7911,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.7" + "source": "https://github.com/symfony/filesystem/tree/v5.4.9" }, "funding": [ { @@ -7927,7 +7927,7 @@ "type": "tidelift" } ], - "time": "2022-04-01T12:33:59+00:00" + "time": "2022-05-20T13:55:35+00:00" }, { "name": "symfony/finder", @@ -8624,16 +8624,16 @@ }, { "name": "symfony/string", - "version": "v5.4.8", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "3c061a76bff6d6ea427d85e12ad1bb8ed8cd43e8" + "reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/3c061a76bff6d6ea427d85e12ad1bb8ed8cd43e8", - "reference": "3c061a76bff6d6ea427d85e12ad1bb8ed8cd43e8", + "url": "https://api.github.com/repos/symfony/string/zipball/985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", + "reference": "985e6a9703ef5ce32ba617c9c7d97873bb7b2a99", "shasum": "" }, "require": { @@ -8690,7 +8690,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.8" + "source": "https://github.com/symfony/string/tree/v5.4.9" }, "funding": [ { @@ -8710,16 +8710,16 @@ }, { "name": "symfony/translation", - "version": "v5.4.8", + "version": "v5.4.9", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "f5c0f6d1f20993b2606f3a5f36b1dc8c1899170b" + "reference": "1639abc1177d26bcd4320e535e664cef067ab0ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/f5c0f6d1f20993b2606f3a5f36b1dc8c1899170b", - "reference": "f5c0f6d1f20993b2606f3a5f36b1dc8c1899170b", + "url": "https://api.github.com/repos/symfony/translation/zipball/1639abc1177d26bcd4320e535e664cef067ab0ca", + "reference": "1639abc1177d26bcd4320e535e664cef067ab0ca", "shasum": "" }, "require": { @@ -8787,7 +8787,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v5.4.8" + "source": "https://github.com/symfony/translation/tree/v5.4.9" }, "funding": [ { @@ -8803,7 +8803,7 @@ "type": "tidelift" } ], - "time": "2022-04-22T08:14:12+00:00" + "time": "2022-05-06T12:33:37+00:00" }, { "name": "symfony/translation-contracts", @@ -9599,5 +9599,5 @@ "php": ">=5.6.20" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.2.0" } From 45e20d0ad49d301d038fb029ea15630f96f8bdc6 Mon Sep 17 00:00:00 2001 From: Ojo Paul Date: Fri, 27 May 2022 12:58:54 +0100 Subject: [PATCH 2/7] - update changelog --- readme.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/readme.txt b/readme.txt index b7d5daa4..5a7ed3eb 100644 --- a/readme.txt +++ b/readme.txt @@ -224,6 +224,14 @@ There are two ways to install the PublishPress Authors plugin: == Changelog == += [3.17.0] - 30 May 2022 = + +* Added: Option to enable/disable loading font awesome assets in frontend, #625 +* Added: Support for user fields WPML translations, #642 +* Added: Add new shortcode [publishpress_authors_data] which can be used to display the author names or any profile field, #673 +* Fixed: Multiple Authors Compability with Yoast SEO authors's title, #672 +* Update: Change [author_box] to [publishpress_authors_box] in shortcode tab, #670 + = [3.16.3] - 18 May 2022 = * Added: Add an Author Filter for Posts, #90 From d98cea4720c7a60fa7b763924112723a60719c4c Mon Sep 17 00:00:00 2001 From: Ojo Paul Date: Fri, 27 May 2022 13:00:00 +0100 Subject: [PATCH 3/7] - Update version number --- defines.php | 2 +- publishpress-authors.php | 2 +- readme.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defines.php b/defines.php index 97a78f71..1fc1bde4 100644 --- a/defines.php +++ b/defines.php @@ -12,7 +12,7 @@ defined('ABSPATH') or die('No direct script access allowed.'); if (!defined('PP_AUTHORS_LOADED')) { - define('PP_AUTHORS_VERSION', '3.16.3'); + define('PP_AUTHORS_VERSION', '3.17.0'); define('PP_AUTHORS_FILE', 'publishpress-authors/publishpress-authors.php'); define('PP_AUTHORS_BASE_PATH', plugin_dir_path(__DIR__ . '/publishpress-authors.php')); define('PP_AUTHORS_MODULES_PATH', PP_AUTHORS_BASE_PATH . 'src/modules/'); diff --git a/publishpress-authors.php b/publishpress-authors.php index e449f843..15874290 100644 --- a/publishpress-authors.php +++ b/publishpress-authors.php @@ -5,7 +5,7 @@ * Description: PublishPress Authors allows you to add multiple authors and guest authors to WordPress posts * Author: PublishPress * Author URI: https://publishpress.com - * Version: 3.16.3 + * Version: 3.17.0 * Text Domain: publishpress-authors * * ------------------------------------------------------------------------------ diff --git a/readme.txt b/readme.txt index 5a7ed3eb..48044bd8 100644 --- a/readme.txt +++ b/readme.txt @@ -7,7 +7,7 @@ Tags: multiple authors, authors, guest authors, author fields, author layouts Requires at least: 4.7 Requires PHP: 5.6 Tested up to: 6.0 -Stable tag: 3.16.3 +Stable tag: 3.17.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html From e1cf86edefebec6b93b22fcb4a30e37ff2674f2a Mon Sep 17 00:00:00 2001 From: Ojo Paul Date: Mon, 30 May 2022 08:56:59 +0100 Subject: [PATCH 4/7] - Small text change #683 --- src/modules/multiple-authors/multiple-authors.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/multiple-authors/multiple-authors.php b/src/modules/multiple-authors/multiple-authors.php index 177d41f8..06416f21 100644 --- a/src/modules/multiple-authors/multiple-authors.php +++ b/src/modules/multiple-authors/multiple-authors.php @@ -613,7 +613,7 @@ public function register_settings() add_settings_field( 'load_font_awesome', - __('Load font awesome:', 'publishpress-authors'), + __('Layout icons:', 'publishpress-authors'), [$this, 'settings_load_font_awesome_option'], $this->module->options_group_name, $this->module->options_group_name . '_display' @@ -1120,7 +1120,7 @@ public function settings_show_site_link_option($args = []) } /** - * Display load font awesome option field. + * Display layout icons option field. * * @param array */ @@ -1133,7 +1133,7 @@ public function settings_load_font_awesome_option($args = []) echo ''; echo '    ' . esc_html__( - 'This will load font awesome css to enable usage of font awesome icons.', + 'This will load Font Awesome icons for use in layouts.', 'publishpress-authors' ) . ''; echo ''; From 3d1b4ac125da11b8f5df56ceb6371b9cba39d44e Mon Sep 17 00:00:00 2001 From: Ojo Paul Date: Mon, 30 May 2022 09:02:04 +0100 Subject: [PATCH 5/7] - Small text change #685 --- src/modules/multiple-authors/multiple-authors.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/multiple-authors/multiple-authors.php b/src/modules/multiple-authors/multiple-authors.php index 177d41f8..55b5dce9 100644 --- a/src/modules/multiple-authors/multiple-authors.php +++ b/src/modules/multiple-authors/multiple-authors.php @@ -613,7 +613,7 @@ public function register_settings() add_settings_field( 'load_font_awesome', - __('Load font awesome:', 'publishpress-authors'), + __('Layout icons:', 'publishpress-authors'), [$this, 'settings_load_font_awesome_option'], $this->module->options_group_name, $this->module->options_group_name . '_display' @@ -874,7 +874,7 @@ private function settings_ppma_shortcodes($shortcodes = []) { 'shortcode' => '[publishpress_authors_data field="display_name"]', 'description' => sprintf( esc_html__( - 'The authors data shortcode accepts field parameter like: %1s %2s %3s %4s %5s %6s which can be specified to determine what field should be return.', + 'The authors data shortcode accepts field parameter such as: %1s %2s %3s %4s %5s %6s.', 'publishpress-authors' ), 'display_name', @@ -1120,7 +1120,7 @@ public function settings_show_site_link_option($args = []) } /** - * Display load font awesome option field. + * Display layout icons option field. * * @param array */ @@ -1133,7 +1133,7 @@ public function settings_load_font_awesome_option($args = []) echo ''; echo '    ' . esc_html__( - 'This will load font awesome css to enable usage of font awesome icons.', + 'This will load Font Awesome icons for use in layouts.', 'publishpress-authors' ) . ''; echo ''; From 0f23777140ea35a8cff1053711956f6dad8b00da Mon Sep 17 00:00:00 2001 From: Ojo Paul Date: Mon, 30 May 2022 09:12:39 +0100 Subject: [PATCH 6/7] - Authors menu links can be split up by PODS content types #684 --- src/modules/multiple-authors/multiple-authors.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/modules/multiple-authors/multiple-authors.php b/src/modules/multiple-authors/multiple-authors.php index 177d41f8..3bdedd52 100644 --- a/src/modules/multiple-authors/multiple-authors.php +++ b/src/modules/multiple-authors/multiple-authors.php @@ -272,7 +272,7 @@ public function action_admin_menu_page() self::MENU_SLUG, '', 'dashicons-groups', - 26 + 26.7 ); $current_author = Author::get_by_user_id(get_current_user_id()); @@ -288,7 +288,7 @@ public function action_admin_menu_page() 'term.php?taxonomy=author&tag_ID='.$current_author->term_id, __return_empty_string(), 'dashicons-groups', - 27 + 26.8 ); } @@ -613,7 +613,7 @@ public function register_settings() add_settings_field( 'load_font_awesome', - __('Load font awesome:', 'publishpress-authors'), + __('Layout icons:', 'publishpress-authors'), [$this, 'settings_load_font_awesome_option'], $this->module->options_group_name, $this->module->options_group_name . '_display' @@ -874,7 +874,7 @@ private function settings_ppma_shortcodes($shortcodes = []) { 'shortcode' => '[publishpress_authors_data field="display_name"]', 'description' => sprintf( esc_html__( - 'The authors data shortcode accepts field parameter like: %1s %2s %3s %4s %5s %6s which can be specified to determine what field should be return.', + 'The authors data shortcode accepts field parameter such as: %1s %2s %3s %4s %5s %6s.', 'publishpress-authors' ), 'display_name', @@ -1120,7 +1120,7 @@ public function settings_show_site_link_option($args = []) } /** - * Display load font awesome option field. + * Display layout icons option field. * * @param array */ @@ -1133,7 +1133,7 @@ public function settings_load_font_awesome_option($args = []) echo ''; echo '    ' . esc_html__( - 'This will load font awesome css to enable usage of font awesome icons.', + 'This will load Font Awesome icons for use in layouts.', 'publishpress-authors' ) . ''; echo ''; From 5ef39447a39acc83d870b363f77afa687a74bb04 Mon Sep 17 00:00:00 2001 From: Ojo Paul Date: Mon, 30 May 2022 09:16:18 +0100 Subject: [PATCH 7/7] - Update changelog --- readme.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.txt b/readme.txt index b7d5daa4..7bace5be 100644 --- a/readme.txt +++ b/readme.txt @@ -230,6 +230,7 @@ There are two ways to install the PublishPress Authors plugin: * Update: Enable Author Profile for Administator and other roles with 'ppma_manage_authors', #649 * Added: Add a shortcodes tab to settings, #641 * Update: Run the WordPress VIP scans on Authors, #639 +* Fixed: Authors menu links can be split up by PODS content types, #684 = [3.16.2] - 09 May 2022 =