Changeset 1210420
- Timestamp:
- 07/31/2015 03:16:24 PM (11 years ago)
- Location:
- getty-images/trunk
- Files:
-
- 3 edited
-
getty-images.php (modified) (1 diff)
-
js/getty-models.js (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
getty-images/trunk/getty-images.php
r1163691 r1210420 6 6 Author: gettyImages 7 7 Author URI: http://gettyimages.com/ 8 Version: 2.4. 08 Version: 2.4.1 9 9 */ 10 10 -
getty-images/trunk/js/getty-models.js
r1163686 r1210420 77 77 // to CreateSession results in an error. 78 78 if(endpoint != 'CreateSession' && endpoint != 'CreateApplicationSession') { 79 var tokens = session ? session : getty. user.anonymous;79 var tokens = session ? session : getty.anonymous; 80 80 81 81 // Choose correct session token based on request protocol 82 if(url.match(/^https:/) || (url.match(/^\/\//) && location.protocol === 'https:') ) {82 if(url.match(/^https:/) || (url.match(/^\/\//) && location.protocol === 'https:') && tokens.secure) { 83 83 payload.RequestHeader.Token = tokens.secure; 84 84 } … … 847 847 // Refresh the session only if it's 1 minute before or any time after 848 848 // expiration 849 var session = this.anonymous;849 var session = getty.anonymous; 850 850 851 851 if(!session || session.expires < new Date().getTime() / 1000 - 60) { 852 852 // No session or most definitely timed out session, create a new one 853 var self = this;854 855 session = this.anonymous = { promise: $.Deferred() };853 var self = getty; 854 855 session = getty.anonymous = { promise: $.Deferred() }; 856 856 857 857 api.request('CreateApplicationSession', { -
getty-images/trunk/readme.txt
r1163691 r1210420 4 4 Requires at least: 3.9 5 5 Tested up to: 4.1 6 Stable tag: 2.4. 06 Stable tag: 2.4.1 7 7 License: GPLv2 or later 8 8 … … 51 51 == Changelog == 52 52 53 = 2.4.1 = 54 * Fix bug that prevented image embed searches from https sites 55 53 56 = 2.4.0 = 54 57 * Provide align and image size display settings for embeddable images
Note: See TracChangeset
for help on using the changeset viewer.