Changeset 2221716
- Timestamp:
- 01/03/2020 04:49:07 PM (6 years ago)
- Location:
- image-compositions/trunk
- Files:
-
- 3 edited
-
assets/js/admin.js (modified) (1 diff)
-
image-compositions.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
image-compositions/trunk/assets/js/admin.js
r2221685 r2221716 185 185 image.src = attachment.url; 186 186 187 // Ensure https. 188 image.src = image.src.replace( 'http:', 'https:' ); 187 // Ensure image src matches window protocol. 188 var protocol = window.location.protocol, 189 url = new URL( image.src ); 190 191 image.src = protocol + '//' + url.hostname + url.pathname; 189 192 190 193 $image.css({ -
image-compositions/trunk/image-compositions.php
r2221685 r2221716 534 534 535 535 // Make sure nonce is set 536 if ( ! wp_verify_nonce( $_POST['mdt-image-composition'], 'mdt-image-composition' ) ) {536 if ( ! isset( $_POST['mdt-image-composition'] ) || ! wp_verify_nonce( $_POST['mdt-image-composition'], 'mdt-image-composition' ) ) { 537 537 return; 538 538 } -
image-compositions/trunk/readme.txt
r2221685 r2221716 4 4 Requires at least: 4.6 5 5 Tested up to: 5.3 6 Stable tag: 1.0 6 Stable tag: 1.01 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 17 17 == Upgrade Notice == 18 18 19 = 1.01 = 20 * Patch that fixes a PHP warning and mismatches between image and window protocol. 21 19 22 = 1.0 = 20 23 * Initial plugin version
Note: See TracChangeset
for help on using the changeset viewer.