Skip to content

Commit

Permalink
Merge pull request #20 from shutterstock/version-1.3.8
Browse files Browse the repository at this point in the history
Release 1.3.8
  • Loading branch information
amitshrivastavaa authored Jan 20, 2022
2 parents b3d0ff6 + 574d3c9 commit fa4e7e8
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
7 changes: 5 additions & 2 deletions shutterstock/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: shutterstockplugins
Tags: shutterstock, stock photography, images, editorial images, licensing, media library, stock
Requires at least: 5.5
Tested up to: 5.7
Stable tag: 1.3.7
Tested up to: 5.8
Stable tag: 1.3.8
Requires PHP: 7.1
License: MIT
License URI: http://opensource.org/licenses/mit-license.html
Expand Down Expand Up @@ -111,6 +111,9 @@ You can click **View recommendations** to see suggested images based on the text
1. Publish the page as usual. The image appears on the page just like any other image that you add to a page.

== Changelog ==
= 1.3.8 =
* * Bug fixes related to PHP warnings

= 1.3.7 =
* Update to Shutterstock UI 2.0 & Bug fixes

Expand Down
2 changes: 1 addition & 1 deletion shutterstock/includes/class-shutterstock.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function __construct() {
if ( defined( 'SHUTTERSTOCK_VERSION' ) ) {
$this->version = SHUTTERSTOCK_VERSION;
} else {
$this->version = '1.3.7';
$this->version = '1.3.8';
}
$this->shutterstock = 'shutterstock';
$this->shutterstock_ui = [
Expand Down
6 changes: 4 additions & 2 deletions shutterstock/public/class-shutterstock-public.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@ public function load_shutterstock_block() {

// Registerging the shutterstock-block. Pattern is 'namespace/block-name'
register_block_type( 'shutterstock/shutterstock-block', array(
'editor_script' => ['shutterstock-block-block-editor', 'shutterstock-block-block-editor-shuttestock-ui-js'],
'editor_style' => ['shutterstock-block-block-editor', 'shutterstock-block-block-editor-shutterstock-ui-css'],
'editor_script' => 'shutterstock-block-block-editor',
'script' => 'shutterstock-block-block-editor-shuttestock-ui-js',
'editor_style' => 'shutterstock-block-block-editor',
'style' => 'shutterstock-block-block-editor-shutterstock-ui-css',
) );

$shutterstock_helper = new Shutterstock_Helper($this->shutterstock, $this->version);
Expand Down
3 changes: 0 additions & 3 deletions shutterstock/public/shutterstock-block/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ yarn-error.log*
# Coverage directory used by tools like istanbul
coverage

# Compiled binary addons (https://nodejs.org/api/addons.html)
build

# Dependency directories
node_modules/

Expand Down
4 changes: 2 additions & 2 deletions shutterstock/shutterstock.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @wordpress-plugin
* Plugin Name: Shutterstock
* Description: Access exceptional, royalty-free content straight from WordPress.
* Version: 1.3.7
* Version: 1.3.8
* Author: Shutterstock
* License: MIT
* License URI: http://opensource.org/licenses/mit-license.html
Expand All @@ -33,7 +33,7 @@
* Start at version 1.0.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define( 'SHUTTERSTOCK_VERSION', '1.3.7' );
define( 'SHUTTERSTOCK_VERSION', '1.3.8' );

/**
* The code that runs during plugin activation.
Expand Down

0 comments on commit fa4e7e8

Please sign in to comment.