Skip to content

Commit

Permalink
Merge pull request #45 from Bynder/feature/GC-5289
Browse files Browse the repository at this point in the history
🔧 Updated the user agent to make it distinct
  • Loading branch information
CWDN authored Aug 6, 2024
2 parents 898cc57 + a8e0ec5 commit 241e667
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
6 changes: 3 additions & 3 deletions gathercontent-importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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' );
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] )
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 241e667

Please sign in to comment.