Skip to content

Commit ca4e61d

Browse files
Merge pull request #1090 from cloudinary/develop
3.2.13 Develop
2 parents e56be82 + 33f3f6c commit ca4e61d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+220
-190
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"no-nested-ternary": "off",
2525
"jsx-a11y/click-events-have-key-events": "off",
2626
"react-hooks/rules-of-hooks": "error",
27-
"react-hooks/exhaustive-deps": "warn"
27+
"react-hooks/exhaustive-deps": "warn",
28+
"@wordpress/no-global-event-listener": "off"
2829
}
2930
}

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
php-version: [ '5.6', '7.4', '8.3' ]
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Setup PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: ${{ matrix.php-version }}
21+
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: '16'
26+
cache: 'npm'
27+
28+
- name: Cache Composer
29+
uses: actions/cache@v4
30+
with:
31+
path: ~/.composer/cache
32+
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
33+
restore-keys: |
34+
${{ runner.os }}-composer-${{ matrix.php }}-
35+
36+
- name: Install dependencies
37+
run: npm ci
38+
39+
- name: Run linting
40+
run: npm run lint
41+
42+
- name: Run build
43+
run: npm run build

.travis.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

cloudinary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
if ( version_compare( phpversion(), '5.6', '>=' ) ) {
4040
require_once __DIR__ . '/instance.php';
4141
register_activation_hook( __FILE__, array( 'Cloudinary\Utils', 'install' ) );
42-
} else {
42+
} else { // phpcs:ignore Universal.ControlStructures.DisallowLonelyIf.Found
4343
if ( defined( 'WP_CLI' ) ) {
4444
WP_CLI::warning( php_version_text() );
4545
} else {

languages/cloudinary.pot

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ msgid ""
44
msgstr ""
55
"Project-Id-Version: Cloudinary STABLETAG\n"
66
"Report-Msgid-Bugs-To: https://github.com/cloudinary/cloudinary_wordpress\n"
7-
"POT-Creation-Date: 2025-08-06 09:40:15+00:00\n"
7+
"POT-Creation-Date: 2025-09-02 13:12:16+00:00\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=utf-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"
@@ -43,31 +43,31 @@ msgid "Some transformations were invalid and were removed."
4343
msgstr ""
4444

4545
#: php/assets/class-rest-assets.php:333 php/assets/class-rest-assets.php:361
46-
#: php/cache/class-cache-point.php:601
46+
#: php/cache/class-cache-point.php:600
4747
msgid "No items cached."
4848
msgstr ""
4949

50-
#: php/assets/class-rest-assets.php:345 php/cache/class-cache-point.php:585
50+
#: php/assets/class-rest-assets.php:345 php/cache/class-cache-point.php:584
5151
#. translators: The current page and total pages.
5252
msgid "Page %1$d of %2$d"
5353
msgstr ""
5454

55-
#: php/assets/class-rest-assets.php:348 php/cache/class-cache-point.php:588
55+
#: php/assets/class-rest-assets.php:348 php/cache/class-cache-point.php:587
5656
#. translators: The number of files.
5757
msgid "%d cached file"
5858
msgid_plural "%d cached files"
5959
msgstr[0] ""
6060
msgstr[1] ""
6161

62-
#: php/assets/class-rest-assets.php:359 php/cache/class-cache-point.php:599
62+
#: php/assets/class-rest-assets.php:359 php/cache/class-cache-point.php:598
6363
msgid "No items found."
6464
msgstr ""
6565

66-
#: php/cache/class-cache-point.php:962 php/class-assets.php:1239
66+
#: php/cache/class-cache-point.php:961 php/class-assets.php:1239
6767
msgid "Cloudinary Asset"
6868
msgstr ""
6969

70-
#: php/cache/class-cache-point.php:963 php/class-assets.php:1240
70+
#: php/cache/class-cache-point.php:962 php/class-assets.php:1240
7171
msgid "Post type to represent a non-media library asset."
7272
msgstr ""
7373

@@ -126,53 +126,53 @@ msgstr ""
126126
msgid "Plugin"
127127
msgstr ""
128128

129-
#: php/class-assets.php:1429 php/class-cache.php:792
129+
#: php/class-assets.php:1429 php/class-cache.php:791
130130
msgid "Plugins"
131131
msgstr ""
132132

133-
#: php/class-assets.php:1447 php/class-cache.php:809
133+
#: php/class-assets.php:1447 php/class-cache.php:808
134134
msgid "Deliver assets from all plugin folders"
135135
msgstr ""
136136

137-
#: php/class-assets.php:1479 php/class-cache.php:652
137+
#: php/class-assets.php:1479 php/class-cache.php:651
138138
msgid "Theme"
139139
msgstr ""
140140

141-
#: php/class-assets.php:1511 php/class-cache.php:843
141+
#: php/class-assets.php:1511 php/class-cache.php:842
142142
msgid "Themes"
143143
msgstr ""
144144

145-
#: php/class-assets.php:1529 php/class-cache.php:860
145+
#: php/class-assets.php:1529 php/class-cache.php:859
146146
msgid "Deliver all assets from active theme."
147147
msgstr ""
148148

149-
#: php/class-assets.php:1554 php/class-assets.php:1589 php/class-cache.php:684
150-
#: php/class-cache.php:895
149+
#: php/class-assets.php:1554 php/class-assets.php:1589 php/class-cache.php:683
150+
#: php/class-cache.php:894
151151
msgid "WordPress"
152152
msgstr ""
153153

154-
#: php/class-assets.php:1563 php/class-cache.php:668
154+
#: php/class-assets.php:1563 php/class-cache.php:667
155155
msgid "WordPress Admin"
156156
msgstr ""
157157

158-
#: php/class-assets.php:1570 php/class-cache.php:675
158+
#: php/class-assets.php:1570 php/class-cache.php:674
159159
msgid "WordPress Includes"
160160
msgstr ""
161161

162-
#: php/class-assets.php:1607 php/class-cache.php:912
162+
#: php/class-assets.php:1607 php/class-cache.php:911
163163
msgid "Deliver all assets from WordPress core."
164164
msgstr ""
165165

166-
#: php/class-assets.php:1633 php/class-assets.php:1659 php/class-cache.php:708
167-
#: php/class-cache.php:947
166+
#: php/class-assets.php:1633 php/class-assets.php:1659 php/class-cache.php:707
167+
#: php/class-cache.php:946
168168
msgid "Content"
169169
msgstr ""
170170

171-
#: php/class-assets.php:1640 php/class-cache.php:699
171+
#: php/class-assets.php:1640 php/class-cache.php:698
172172
msgid "Uploads"
173173
msgstr ""
174174

175-
#: php/class-assets.php:1677 php/class-cache.php:964
175+
#: php/class-assets.php:1677 php/class-cache.php:963
176176
msgid "Deliver all content assets from WordPress Media Library."
177177
msgstr ""
178178

@@ -198,23 +198,23 @@ msgstr ""
198198
msgid "Press ENTER or SPACE or type comma or tab to continue."
199199
msgstr ""
200200

201-
#: php/class-cache.php:1016 php/class-cache.php:1019
201+
#: php/class-cache.php:1015 php/class-cache.php:1018
202202
msgid "Site Cache"
203203
msgstr ""
204204

205-
#: php/class-cache.php:1023
205+
#: php/class-cache.php:1022
206206
msgid "Cache Settings"
207207
msgstr ""
208208

209-
#: php/class-cache.php:1039
209+
#: php/class-cache.php:1038
210210
msgid "Full CDN"
211211
msgstr ""
212212

213-
#: php/class-cache.php:1040
213+
#: php/class-cache.php:1039
214214
msgid "Deliver all assets from Cloudinary."
215215
msgstr ""
216216

217-
#: php/class-cache.php:1044
217+
#: php/class-cache.php:1043
218218
msgid "Enable caching site assets."
219219
msgstr ""
220220

@@ -579,7 +579,7 @@ msgstr ""
579579
msgid "See examples"
580580
msgstr ""
581581

582-
#: php/class-plugin.php:752
582+
#: php/class-plugin.php:757
583583
msgid "Visit plugin site"
584584
msgstr ""
585585

@@ -658,56 +658,56 @@ msgid ""
658658
"purchase?<br><br>Thank you!"
659659
msgstr ""
660660

661-
#: php/class-sync.php:480
661+
#: php/class-sync.php:483
662662
msgid "Synchronizing asset with Cloudinary"
663663
msgstr ""
664664

665-
#: php/class-sync.php:500
665+
#: php/class-sync.php:503
666666
msgid "Upgrading from previous version"
667667
msgstr ""
668668

669-
#: php/class-sync.php:511
669+
#: php/class-sync.php:514
670670
msgid "Downloading from Cloudinary"
671671
msgstr ""
672672

673-
#: php/class-sync.php:526 php/class-sync.php:543
673+
#: php/class-sync.php:529 php/class-sync.php:546
674674
msgid "Uploading to Cloudinary"
675675
msgstr ""
676676

677-
#: php/class-sync.php:556
677+
#: php/class-sync.php:559
678678
#. translators: %s folder name
679679
msgid "Copying to folder %s."
680680
msgstr ""
681681

682-
#: php/class-sync.php:571 php/class-sync.php:598
682+
#: php/class-sync.php:574 php/class-sync.php:601
683683
msgid "Updating metadata"
684684
msgstr ""
685685

686-
#: php/class-sync.php:584
686+
#: php/class-sync.php:587
687687
msgid "Updating breakpoints"
688688
msgstr ""
689689

690-
#: php/class-sync.php:619
690+
#: php/class-sync.php:622
691691
msgid "Uploading to new cloud name."
692692
msgstr ""
693693

694-
#: php/class-sync.php:1091
694+
#: php/class-sync.php:1097
695695
msgid "Sync errors cleaned up"
696696
msgstr ""
697697

698-
#: php/class-sync.php:1181
698+
#: php/class-sync.php:1187
699699
msgid "Is Cloudinary synced."
700700
msgstr ""
701701

702-
#: php/class-sync.php:1238
702+
#: php/class-sync.php:1244
703703
msgid "Media Library Sync Settings"
704704
msgstr ""
705705

706-
#: php/class-sync.php:1243
706+
#: php/class-sync.php:1249
707707
msgid "Sync method"
708708
msgstr ""
709709

710-
#: php/class-sync.php:1246
710+
#: php/class-sync.php:1252
711711
#. translators: The HTML break line, the link to Cloudinary documentation and
712712
#. closing tag.
713713
msgid ""
@@ -716,35 +716,35 @@ msgid ""
716716
"Media Library.%3$s%4$sLearn more%5$s"
717717
msgstr ""
718718

719-
#: php/class-sync.php:1257
719+
#: php/class-sync.php:1263
720720
msgid "Auto sync"
721721
msgstr ""
722722

723-
#: php/class-sync.php:1258
723+
#: php/class-sync.php:1264
724724
msgid "Manual sync"
725725
msgstr ""
726726

727-
#: php/class-sync.php:1264
727+
#: php/class-sync.php:1270
728728
msgid "Cloudinary folder path"
729729
msgstr ""
730730

731-
#: php/class-sync.php:1268
731+
#: php/class-sync.php:1274
732732
msgid "e.g.: wordpress_assets/"
733733
msgstr ""
734734

735-
#: php/class-sync.php:1271
735+
#: php/class-sync.php:1277
736736
msgid ""
737737
"The folder in your Cloudinary account that WordPress assets are uploaded "
738738
"to. Leave blank to use the root of your Cloudinary library."
739739
msgstr ""
740740

741-
#: php/class-sync.php:1280 php/ui/component/class-plan-details.php:118
741+
#: php/class-sync.php:1286 php/ui/component/class-plan-details.php:118
742742
#: php/ui/component/class-plan-status.php:94
743743
#: ui-definitions/settings-sidebar.php:38
744744
msgid "Storage"
745745
msgstr ""
746746

747-
#: php/class-sync.php:1283
747+
#: php/class-sync.php:1289
748748
#. translators: the HTML for opening and closing list and its items.
749749
msgid ""
750750
"Choose where your assets are stored.%1$sCloudinary and WordPress: Stores "
@@ -757,27 +757,27 @@ msgid ""
757757
"compatibility.%4$s%5$sLearn more%6$s"
758758
msgstr ""
759759

760-
#: php/class-sync.php:1296
760+
#: php/class-sync.php:1302
761761
msgid "Cloudinary and WordPress"
762762
msgstr ""
763763

764-
#: php/class-sync.php:1297
764+
#: php/class-sync.php:1303
765765
msgid "Cloudinary and WordPress (low resolution)"
766766
msgstr ""
767767

768-
#: php/class-sync.php:1298
768+
#: php/class-sync.php:1304
769769
msgid "Cloudinary only"
770770
msgstr ""
771771

772-
#: php/class-sync.php:1304 php/delivery/class-lazy-load.php:543
772+
#: php/class-sync.php:1310 php/delivery/class-lazy-load.php:543
773773
#: php/media/class-gallery.php:425 ui-definitions/components/header.php:19
774774
#: ui-definitions/settings-image.php:257 ui-definitions/settings-pages.php:206
775775
#: ui-definitions/settings-pages.php:222 ui-definitions/settings-pages.php:223
776776
#: ui-definitions/settings-video.php:306
777777
msgid "Need help?"
778778
msgstr ""
779779

780-
#: php/class-sync.php:1307
780+
#: php/class-sync.php:1313
781781
#. Translators: The HTML for opening and closing link tags.
782782
msgid ""
783783
"Watch free lessons on how to use the Media Library Sync Settings in the "

0 commit comments

Comments
 (0)