Changeset 57148
- Timestamp:
- 12/01/2023 01:33:40 AM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader-skin.php
r55988 r57148 241 241 echo '<script type="text/javascript"> 242 242 if ( window.postMessage && JSON ) { 243 window.parent.postMessage( JSON.stringify( { action: "decrementUpdateCount", upgradeType: "' . $type . '" } ), window.location.protocol + "//" + window.location.hostname ); 243 window.parent.postMessage( 244 JSON.stringify( { 245 action: "decrementUpdateCount", 246 upgradeType: "' . $type . '" 247 } ), 248 window.location.protocol + "//" + window.location.hostname 249 + ( "" !== window.location.port ? ":" + window.location.port : "" ) 250 ); 244 251 } 245 252 </script>';
Note: See TracChangeset
for help on using the changeset viewer.