From 549e7d67aeb57934f78a3e493b55a7ec402da731 Mon Sep 17 00:00:00 2001 From: Chris Normansell Date: Tue, 6 Aug 2024 14:42:18 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A7=20Updated=20the=20user=20agent?= =?UTF-8?q?=20to=20make=20it=20distinct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is so we can determine if people are using the new or old plugin --- includes/classes/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/classes/api.php b/includes/classes/api.php index 3d19364..55e0edb 100644 --- a/includes/classes/api.php +++ b/includes/classes/api.php @@ -800,7 +800,7 @@ public function request_args( $args ) { $headers = array( 'Authorization' => 'Basic ' . base64_encode( $this->user . ':' . $this->api_key ), 'Accept' => 'application/vnd.gathercontent.v0.5+json', - 'user-agent' => "Integration-WordPress-{$wp_version}/{$plugin_version}", + 'user-agent' => "Content-Workflow-Integration-WordPress-{$wp_version}/{$plugin_version}", ); $args['headers'] = isset( $args['headers'] ) From a8e0ec5d604ccf47986acc1f0eb94e8251aa313d Mon Sep 17 00:00:00 2001 From: Chris Normansell Date: Tue, 6 Aug 2024 14:43:53 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=96=20Setting=20the=20stable=20ver?= =?UTF-8?q?sion=20to=201.0.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is ready for the first official release --- README.md | 2 +- gathercontent-importer.php | 6 +++--- readme.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index dcc428e..9dff553 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Content Workflow (by Bynder) - Version 1.0.0 # +# Content Workflow (by Bynder) - Version 1.0.2 # This plugin allows you to transfer content from your Content Workflow projects into your WordPress site and vice-versa. diff --git a/gathercontent-importer.php b/gathercontent-importer.php index 6288c93..3b689bd 100644 --- a/gathercontent-importer.php +++ b/gathercontent-importer.php @@ -2,7 +2,7 @@ /** * Plugin Name: Content Workflow (by Bynder) * Description: Imports items from Content Workflow to your Wordpress site - * Version: 1.0.0 + * Version: 1.0.2 * Author: Content Workflow (by Bynder) * Requires PHP: 7.0 * Author URI: https://www.bynder.com/products/content-workflow/ @@ -28,8 +28,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ - -if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly + +if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly // Useful global constants define( 'GATHERCONTENT_VERSION', '1.0.0' ); diff --git a/readme.txt b/readme.txt index e968676..254e1dc 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://www.bynder.com/products/content-workflow/ Tags: structured content, gather content, gathercontent, import, migrate, export, mapping, production, writing, collaboration, platform, connect, link, gather, client, word, production, bynder, content, workflow Requires at least: 5.6.0 Tested up to: 6.6.0 -Stable tag: 1.0.0 +Stable tag: 1.0.2 License: GPL-2.0+ Requires PHP: 7.0 License URI: https://opensource.org/licenses/GPL-2.0