Skip to content

Commit 6fa91b8

Browse files
author
Marco Pereirinha
committed
Force rebuild the cache
1 parent be2d51b commit 6fa91b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/media/class-global-transformations.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function __construct( \Cloudinary\Media $media ) {
9393
}
9494
$priority = intval( $setting->get_param( 'taxonomy_field.priority', 10 ) ) * 1000;
9595
while ( isset( $this->taxonomy_fields[ $context ][ $priority ] ) ) {
96-
$priority ++;
96+
++$priority;
9797
}
9898
if ( ! isset( $this->taxonomy_fields[ $context ] ) ) {
9999
$this->taxonomy_fields[ $context ] = array();
@@ -635,7 +635,7 @@ public function transformations_column( $cols ) {
635635
* @param int $attachment_id The attachment id.
636636
*/
637637
public function transformations_column_value( $column_name, $attachment_id ) {
638-
if ( 'cld_transformations' === $column_name && $this->media->sync->is_synced( $attachment_id ) ) {
638+
if ( 'cld_transformations' === $column_name && $this->media->sync->is_synced( $attachment_id, true ) ) {
639639

640640
// Transformations are only available for Images and Videos.
641641
if (

0 commit comments

Comments
 (0)