Skip to content

Commit eb9fa97

Browse files
committed
Merge branch 'development' into switch-sdk
# Conflicts: # composer.lock # inc/media_offload.php # inc/settings.php # optimole-wp.php # readme.txt
2 parents a680db2 + f8856ba commit eb9fa97

35 files changed

+1078
-1373
lines changed

.releaserc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins:
99
- - "@semantic-release/release-notes-generator"
1010
- preset: simple-preset
1111
- - "@semantic-release/exec"
12-
- prepareCmd: "replace-in-file \"== Changelog ==\" \"== Changelog ==\n\n${nextRelease.notes}\" readme.txt"
12+
- prepareCmd: "export nextReleaseNotes=\"${nextRelease.notes}\" && node bin/update_changelog.js"
1313
- - "@semantic-release/exec"
1414
- prepareCmd: grunt version::${nextRelease.version} && grunt wp_readme_to_markdown
1515
- - "semantic-release-slack-bot"
653 KB
Loading
653 KB
Loading
192 KB
Loading
192 KB
Loading

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
##### [Version 3.12.10](https://github.com/Codeinwp/optimole-wp/compare/v3.12.9...v3.12.10) (2024-04-19)
2+
3+
- Addressed an issue with offloading/rollback transfers getting stuck by adding a check for scheduled cron jobs. If no cron is scheduled and a transfer is in progress, the cron will be rescheduled.
4+
5+
##### [Version 3.12.9](https://github.com/Codeinwp/optimole-wp/compare/v3.12.8...v3.12.9) (2024-04-18)
6+
7+
- Fixed an issue where offload logs failed to load in some cases.
8+
- Adjusted the conditions for displaying early upgrade notices to prevent premature notifications.
9+
10+
##### [Version 3.12.8](https://github.com/Codeinwp/optimole-wp/compare/v3.12.7...v3.12.8) (2024-04-16)
11+
12+
- Hotfix for a compatibility issue with one of the dependencies affecting a small subset of users.
13+
14+
##### [Version 3.12.7](https://github.com/Codeinwp/optimole-wp/compare/v3.12.6...v3.12.7) (2024-04-16)
15+
16+
- Resolved an issue where the admin style was loaded prematurely.
17+
- Enhanced Largest Contentful Paint (LCP) by prioritizing the loading of initial images that are not affected by lazyload.
18+
- Improved support for multiple languages and enhanced plugin translations.
19+
- Remove WP_DISABLE_CRON false positive detection of a not working wp-cron.
20+
121
##### [Version 3.12.6](https://github.com/Codeinwp/optimole-wp/compare/v3.12.5...v3.12.6) (2024-03-22)
222

323
* Corrected inaccuracies in notification text.

Gruntfile.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ module.exports = function (grunt) {
2626
},
2727
src: [ 'optimole-wp.php' ]
2828

29-
}
30-
},
31-
readmetxt: {
32-
options: {
33-
prefix: 'Stable tag:\\s*'
3429
},
35-
src: [
36-
'readme.txt'
37-
]
30+
readmetxt: {
31+
options: {
32+
prefix: 'Stable tag:\\s*'
33+
},
34+
src: [
35+
'readme.txt'
36+
]
37+
},
3838
},
3939
wp_readme_to_markdown: {
4040
plugin: {

assets/src/dashboard/parts/Footer.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ import { ExternalLink } from '@wordpress/components';
33
const footerMenu = [
44
{
55
label: optimoleDashboardApp.strings.optimole + ' ' + optimoleDashboardApp.strings.version,
6-
href: 'https://optimole.com/'
6+
href: optimoleDashboardApp.optimoleHome
77
},
88
{
99
label: optimoleDashboardApp.strings.terms_menu,
10-
href: 'https://optimole.com/terms/'
10+
href: optimoleDashboardApp.optimoleHome + 'terms/'
1111
},
1212
{
1313
label: optimoleDashboardApp.strings.privacy_menu,
14-
href: 'https://optimole.com/privacy-policy/'
14+
href: optimoleDashboardApp.optimoleHome + 'privacy-policy/'
1515
},
1616
{
1717
label: optimoleDashboardApp.strings.testdrive_menu,
18-
href: 'https://optimole.com/test-drive?url=' + optimoleDashboardApp.home_url
18+
href: optimoleDashboardApp.optimoleHome + 'test-drive?url=' + optimoleDashboardApp.home_url
1919
}
2020
];
2121

assets/src/dashboard/parts/Header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const Header = ({
120120
controls={ [
121121
{
122122
title: optimoleDashboardApp.strings.optimole + ' ' + optimoleDashboardApp.strings.dashboard_menu_item,
123-
onClick: () => window.open( 'https://dashboard.optimole.com/', '_blank' )
123+
onClick: () => window.open( optimoleDashboardApp.optimoleDashHome, '_blank' )
124124
},
125125
{
126126
title: optimoleDashboardApp.strings.refresh_stats_cta,

assets/src/dashboard/parts/connected/Sidebar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const Sidebar = () => {
9595
<Button
9696
variant="link"
9797
className="optml__button flex w-full justify-center font-bold min-h-40 !no-underline !text-white !bg-opaque-black !rounded"
98-
href="https://optimole.com/pricing"
98+
href={ optimoleDashboardApp.optimoleHome + 'pricing' }
9999
target="_blank"
100100
>
101101
{ optimoleDashboardApp.strings.upgrade.cta }
@@ -105,7 +105,7 @@ const Sidebar = () => {
105105
<Button
106106
variant="default"
107107
className="bg-white flex font-bold border-0 rounded-lg shadow-md p-8 text-sm justify-center"
108-
href={ addQueryArgs( 'https://optimole.com/contact/', {
108+
href={ addQueryArgs( optimoleDashboardApp.optimoleHome + 'contact/', {
109109
contact_name: window.optimoleDashboardApp.user_data.display_name,
110110
contact_email: optimoleDashboardApp.user_data.user_email,
111111
contact_website: optimoleDashboardApp.home_url

0 commit comments

Comments
 (0)