Skip to content

Commit 241e667

Browse files
authored
Merge pull request #45 from Bynder/feature/GC-5289
🔧 Updated the user agent to make it distinct
2 parents 898cc57 + a8e0ec5 commit 241e667

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Content Workflow (by Bynder) - Version 1.0.0 #
1+
# Content Workflow (by Bynder) - Version 1.0.2 #
22

33
This plugin allows you to transfer content from your Content Workflow projects into your WordPress site and vice-versa.
44

gathercontent-importer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: Content Workflow (by Bynder)
44
* Description: Imports items from Content Workflow to your Wordpress site
5-
* Version: 1.0.0
5+
* Version: 1.0.2
66
* Author: Content Workflow (by Bynder)
77
* Requires PHP: 7.0
88
* Author URI: https://www.bynder.com/products/content-workflow/
@@ -28,8 +28,8 @@
2828
* along with this program; if not, write to the Free Software
2929
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
3030
*/
31-
32-
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
31+
32+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3333

3434
// Useful global constants
3535
define( 'GATHERCONTENT_VERSION', '1.0.0' );

includes/classes/api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ public function request_args( $args ) {
800800
$headers = array(
801801
'Authorization' => 'Basic ' . base64_encode( $this->user . ':' . $this->api_key ),
802802
'Accept' => 'application/vnd.gathercontent.v0.5+json',
803-
'user-agent' => "Integration-WordPress-{$wp_version}/{$plugin_version}",
803+
'user-agent' => "Content-Workflow-Integration-WordPress-{$wp_version}/{$plugin_version}",
804804
);
805805

806806
$args['headers'] = isset( $args['headers'] )

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://www.bynder.com/products/content-workflow/
44
Tags: structured content, gather content, gathercontent, import, migrate, export, mapping, production, writing, collaboration, platform, connect, link, gather, client, word, production, bynder, content, workflow
55
Requires at least: 5.6.0
66
Tested up to: 6.6.0
7-
Stable tag: 1.0.0
7+
Stable tag: 1.0.2
88
License: GPL-2.0+
99
Requires PHP: 7.0
1010
License URI: https://opensource.org/licenses/GPL-2.0

0 commit comments

Comments
 (0)