Skip to content

Commit b3bfe5e

Browse files
authored
Merge pull request #1056 from cloudinary/uat
v3.2.9
2 parents 5cc3d20 + bfedd83 commit b3bfe5e

File tree

7 files changed

+31
-7
lines changed

7 files changed

+31
-7
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.8
1+
3.2.9

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,5 @@
143143
"webpack-cli": "^4.2.0",
144144
"webpackbar": "^5.0.2"
145145
},
146-
"version": "3.2.8"
146+
"version": "3.2.9"
147147
}

php/class-connect.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ public function history( $days = 1 ) {
447447
$return = array();
448448
$history = get_option( self::META_KEYS['history'], array() );
449449
$plan = ! empty( $this->usage['plan'] ) ? $this->usage['plan'] : $this->credentials['cloud_name'];
450-
for ( $i = 1; $i <= $days; $i ++ ) {
450+
for ( $i = 1; $i <= $days; $i++ ) {
451451
$date = date_i18n( 'd-m-Y', strtotime( '- ' . $i . ' days' ) );
452452
if ( ! isset( $history[ $plan ][ $date ] ) || is_wp_error( $history[ $plan ][ $date ] ) ) {
453453
$history[ $plan ][ $date ] = $this->api->usage( $date );
@@ -696,7 +696,7 @@ public function setup() {
696696
* Setup Status cron.
697697
*/
698698
protected function setup_status_cron() {
699-
Cron::register_process( 'check_status', array( $this, 'check_status' ), HOUR_IN_SECONDS );
699+
Cron::register_process( 'check_status', array( $this, 'check_status' ), DAY_IN_SECONDS );
700700
}
701701

702702
/**
@@ -705,7 +705,7 @@ protected function setup_status_cron() {
705705
* @return void
706706
*/
707707
protected function setup_rest_api_cron() {
708-
Cron::register_process( 'rest_api', array( $this, 'check_rest_api_connectivity' ), HOUR_IN_SECONDS );
708+
Cron::register_process( 'rest_api', array( $this, 'check_rest_api_connectivity' ), DAY_IN_SECONDS );
709709
}
710710

711711
/**

php/class-cron.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,11 @@ public function add_settings( $settings ) {
121121
array(
122122
'type' => 'cron',
123123
'slug' => 'tasks',
124-
'default' => array(),
124+
'default' => array(
125+
'update_asset_paths' => 'on',
126+
'rest_api' => 'on',
127+
'check_status' => 'on',
128+
),
125129
'cron' => $this,
126130
),
127131
),

php/class-plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ protected function setup_endpoints() {
587587
* The Cloudinary Video Player version.
588588
*/
589589
if ( ! defined( 'CLOUDINARY_ENDPOINTS_VIDEO_PLAYER_VERSION' ) ) {
590-
define( 'CLOUDINARY_ENDPOINTS_VIDEO_PLAYER_VERSION', '2.3.5' );
590+
define( 'CLOUDINARY_ENDPOINTS_VIDEO_PLAYER_VERSION', '3.0.1' );
591591
}
592592
}
593593

php/relate/class-relationship.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,19 @@ public function __get( $key ) {
117117
return $return;
118118
}
119119

120+
/**
121+
* Check the existence of a relationship data value.
122+
*
123+
* @param string $key The key.
124+
*
125+
* @return bool
126+
*/
127+
public function __isset( $key ) {
128+
$data_cache = $this->get_data();
129+
130+
return isset( $data_cache[ $key ] );
131+
}
132+
120133
/**
121134
* Set the save on shutdown flag.
122135
*/

readme.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,13 @@ Your site is now setup to start using Cloudinary.
146146

147147
== Changelog ==
148148

149+
3.2.9 (24 June 2025)
150+
151+
Fixes and Improvements:
152+
* Upgraded the Cloudinary Video Player to v3.0.1
153+
* Improved cronjob stability with a new “enabled by default” check
154+
* Fixed a relationship table issue affecting the Timber theme
155+
149156
= 3.2.8 (04 June 2025) =
150157

151158
Fixes and Improvements:

0 commit comments

Comments
 (0)