Skip to content

Commit

Permalink
Merge pull request #18 from shutterstock/version-1.3.6
Browse files Browse the repository at this point in the history
Release 1.3.6
  • Loading branch information
amitshrivastavaa authored May 5, 2021
2 parents 923ab99 + ae957f3 commit c5170fc
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
5 changes: 4 additions & 1 deletion shutterstock/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ 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.5
Stable tag: 1.3.6
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.6 =
* Bug fixes related to WP VIP

= 1.3.5 =
* Bug fixes related to Screen options

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class="' . esc_attr($atts['context']['connected_class']) . ' shutterstock-hidden
'</textarea>';

echo '<div class="shutterstock-connected">'. esc_html__('wordpress:connected', 'shutterstock') .'</div>';
echo '<button class="shutterstock-logout" onclick="logout()">' . esc_attr($atts['context']['has_value_button_text']) . '</button>';
echo '<button class="shutterstock-logout" onclick="logout()">' . esc_html($atts['context']['has_value_button_text']) . '</button>';
} else {
echo '
<script type="text/javascript">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ class="<?php echo esc_attr( $atts['class'] ); ?>"
type="<?php echo esc_attr( $atts['type'] ); ?>"
value="<?php echo esc_attr( $atts['value'] ); ?>"
/>
<p class="description"><?php echo esc_attr( $atts['description'] ); ?></p>
<p class="description"><?php echo esc_html( $atts['description'] ); ?></p>
<?php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ class="<?php echo esc_attr( $atts['class'] ); ?>"
echo esc_textarea( $atts['value'] );
?>
</textarea>
<p class="description"><?php echo esc_attr( $atts['description'] ); ?></p>
<p class="description"><?php echo esc_html( $atts['description'] ); ?></p>
<?php
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
<th><?php echo esc_html_e('wordpress:text_user_type', 'shutterstock') ?></th>
<?php
foreach($capabilites_with_texts as $capability) { ?>
<th><?php echo esc_attr($capability); ?></th>
<th><?php echo esc_html($capability); ?></th>
<?php }?>
<tbody>
<?php
foreach($atts['role_names'] as $key => $value) {?>
<tr valign="top">
<td><?php echo esc_attr($value); ?></td>
<td><?php echo esc_html($value); ?></td>
<?php foreach($capabilites_with_texts as $cap_key => $cap_value) { ?>
<td>
<input aria-role="checkbox"
Expand All @@ -47,5 +47,5 @@
<?php }?>
</tbody>
</table>
<p class="description"><?php echo esc_attr( $atts['description'] ); ?></p>
<p class="description"><?php echo esc_html( $atts['description'] ); ?></p>
<?php
5 changes: 1 addition & 4 deletions shutterstock/assets/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.5';
$this->version = '1.3.6';
}
$this->shutterstock = 'shutterstock';
$this->shutterstock_ui = [
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.5
* Version: 1.3.6
* 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.5' );
define( 'SHUTTERSTOCK_VERSION', '1.3.6' );

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

0 comments on commit c5170fc

Please sign in to comment.