Changeset 2431674
- Timestamp:
- 12/04/2020 03:31:39 PM (5 years ago)
- Location:
- shutterstock
- Files:
-
- 10 edited
- 1 copied
-
tags/1.2.1 (copied) (copied from shutterstock/trunk)
-
tags/1.2.1/README.txt (modified) (5 diffs)
-
tags/1.2.1/admin/css/shutterstock-admin.css (modified) (2 diffs)
-
tags/1.2.1/admin/partials/shutterstock-admin-field-shutterstock-login-button.php (modified) (2 diffs)
-
tags/1.2.1/includes/class-shutterstock.php (modified) (1 diff)
-
tags/1.2.1/shutterstock.php (modified) (2 diffs)
-
trunk/README.txt (modified) (5 diffs)
-
trunk/admin/css/shutterstock-admin.css (modified) (2 diffs)
-
trunk/admin/partials/shutterstock-admin-field-shutterstock-login-button.php (modified) (2 diffs)
-
trunk/includes/class-shutterstock.php (modified) (1 diff)
-
trunk/shutterstock.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shutterstock/tags/1.2.1/README.txt
r2430369 r2431674 4 4 Requires at least: 5.5 5 5 Tested up to: 5.6 6 Stable tag: 1.2. 06 Stable tag: 1.2.1 7 7 Requires PHP: 7.1 8 8 License: MIT … … 18 18 19 19 **Search** 20 Choose content from Shutterstock's incredible collection .20 Choose content from Shutterstock's incredible collection and get suggestions based on the text on your page. 21 21 22 22 **Preview** … … 33 33 34 34 1. Search for images and insert them into pages and posts 35 2. Get recommendations based on the text on the page or post 35 36 36 37 == Installation == … … 90 91 1. In the new block, click **Browse**. 91 92 1. In the popup window, search Shutterstock's library for media to add. 93 You can click **View recommendations** to see suggested images based on the text of your blog post or page. 94 95 You can also go to the **Downloads** tab to see images that you have already licensed. 96 The images that are available for redownload depend on the subscription that the plugin is using; to connect the plugin to your subscription, fill out the form at https://www.shutterstock.com/design/plugins-wordpress. 97 92 98 1. To try a piece of media in your page, click its **Insert Preview** button. WordPress adds a watermarked preview of the image to your page. 93 99 … … 102 108 103 109 == Changelog == 110 = 1.2.1 111 * Updated readme 112 * Improvements and bugfixes 113 104 114 = 1.2.0 = 105 115 Introduced smart image recommendations and license history with re-download functionality -
shutterstock/tags/1.2.1/admin/css/shutterstock-admin.css
r2418129 r2431674 23 23 } 24 24 25 textarea.shutterstock-token,25 .connected, 26 26 p.shutterstock-token { 27 27 word-wrap: break-word; … … 52 52 } 53 53 54 .connected { 55 padding-top: 5px; 56 } 57 58 .hidden { 59 display: none !important; 60 } -
shutterstock/tags/1.2.1/admin/partials/shutterstock-admin-field-shutterstock-login-button.php
r2419544 r2431674 18 18 var pre = \'<p class="' . esc_attr($atts['context']['connected_class']) . '">' . esc_html__('wordpress:logging_out', 'shutterstock') . '</p>\'; 19 19 jQuery(".shutterstock-token").replaceWith(pre); 20 jQuery(".connected").addClass("hidden"); 20 21 } 21 22 </script> … … 26 27 name="' . esc_attr($atts['name']) . '" 27 28 value="' . esc_textarea($atts['value']) . '" 28 class="' . esc_attr($atts['context']['connected_class']) . ' ">' .29 esc_ html__('wordpress:connected', 'shutterstock') .29 class="' . esc_attr($atts['context']['connected_class']) . ' hidden">' . 30 esc_textarea($atts['value']) . 30 31 '</textarea>'; 32 33 echo '<div class="connected">'. esc_html__('wordpress:connected', 'shutterstock') .'</div>'; 31 34 echo '<button class="logout" onclick="logout()">' . esc_attr($atts['context']['has_value_button_text']) . '</button>'; 32 35 } else { -
shutterstock/tags/1.2.1/includes/class-shutterstock.php
r2430369 r2431674 71 71 $this->version = SHUTTERSTOCK_VERSION; 72 72 } else { 73 $this->version = '1.2. 0';73 $this->version = '1.2.1'; 74 74 } 75 75 $this->shutterstock = 'shutterstock'; -
shutterstock/tags/1.2.1/shutterstock.php
r2430369 r2431674 16 16 * Plugin Name: Shutterstock 17 17 * Description: Access exceptional, royalty-free content straight from WordPress. 18 * Version: 1.2. 018 * Version: 1.2.1 19 19 * Author: Shutterstock 20 20 * License: MIT … … 34 34 * Rename this for your plugin and update it as you release new versions. 35 35 */ 36 define( 'SHUTTERSTOCK_VERSION', '1.2. 0' );36 define( 'SHUTTERSTOCK_VERSION', '1.2.1' ); 37 37 38 38 /** -
shutterstock/trunk/README.txt
r2430369 r2431674 4 4 Requires at least: 5.5 5 5 Tested up to: 5.6 6 Stable tag: 1.2. 06 Stable tag: 1.2.1 7 7 Requires PHP: 7.1 8 8 License: MIT … … 18 18 19 19 **Search** 20 Choose content from Shutterstock's incredible collection .20 Choose content from Shutterstock's incredible collection and get suggestions based on the text on your page. 21 21 22 22 **Preview** … … 33 33 34 34 1. Search for images and insert them into pages and posts 35 2. Get recommendations based on the text on the page or post 35 36 36 37 == Installation == … … 90 91 1. In the new block, click **Browse**. 91 92 1. In the popup window, search Shutterstock's library for media to add. 93 You can click **View recommendations** to see suggested images based on the text of your blog post or page. 94 95 You can also go to the **Downloads** tab to see images that you have already licensed. 96 The images that are available for redownload depend on the subscription that the plugin is using; to connect the plugin to your subscription, fill out the form at https://www.shutterstock.com/design/plugins-wordpress. 97 92 98 1. To try a piece of media in your page, click its **Insert Preview** button. WordPress adds a watermarked preview of the image to your page. 93 99 … … 102 108 103 109 == Changelog == 110 = 1.2.1 111 * Updated readme 112 * Improvements and bugfixes 113 104 114 = 1.2.0 = 105 115 Introduced smart image recommendations and license history with re-download functionality -
shutterstock/trunk/admin/css/shutterstock-admin.css
r2418129 r2431674 23 23 } 24 24 25 textarea.shutterstock-token,25 .connected, 26 26 p.shutterstock-token { 27 27 word-wrap: break-word; … … 52 52 } 53 53 54 .connected { 55 padding-top: 5px; 56 } 57 58 .hidden { 59 display: none !important; 60 } -
shutterstock/trunk/admin/partials/shutterstock-admin-field-shutterstock-login-button.php
r2419544 r2431674 18 18 var pre = \'<p class="' . esc_attr($atts['context']['connected_class']) . '">' . esc_html__('wordpress:logging_out', 'shutterstock') . '</p>\'; 19 19 jQuery(".shutterstock-token").replaceWith(pre); 20 jQuery(".connected").addClass("hidden"); 20 21 } 21 22 </script> … … 26 27 name="' . esc_attr($atts['name']) . '" 27 28 value="' . esc_textarea($atts['value']) . '" 28 class="' . esc_attr($atts['context']['connected_class']) . ' ">' .29 esc_ html__('wordpress:connected', 'shutterstock') .29 class="' . esc_attr($atts['context']['connected_class']) . ' hidden">' . 30 esc_textarea($atts['value']) . 30 31 '</textarea>'; 32 33 echo '<div class="connected">'. esc_html__('wordpress:connected', 'shutterstock') .'</div>'; 31 34 echo '<button class="logout" onclick="logout()">' . esc_attr($atts['context']['has_value_button_text']) . '</button>'; 32 35 } else { -
shutterstock/trunk/includes/class-shutterstock.php
r2430369 r2431674 71 71 $this->version = SHUTTERSTOCK_VERSION; 72 72 } else { 73 $this->version = '1.2. 0';73 $this->version = '1.2.1'; 74 74 } 75 75 $this->shutterstock = 'shutterstock'; -
shutterstock/trunk/shutterstock.php
r2430369 r2431674 16 16 * Plugin Name: Shutterstock 17 17 * Description: Access exceptional, royalty-free content straight from WordPress. 18 * Version: 1.2. 018 * Version: 1.2.1 19 19 * Author: Shutterstock 20 20 * License: MIT … … 34 34 * Rename this for your plugin and update it as you release new versions. 35 35 */ 36 define( 'SHUTTERSTOCK_VERSION', '1.2. 0' );36 define( 'SHUTTERSTOCK_VERSION', '1.2.1' ); 37 37 38 38 /**
Note: See TracChangeset
for help on using the changeset viewer.