Skip to content

Commit 05a3372

Browse files
authored
Merge pull request #120 from cloudinary/develop
Develop
2 parents 446ff8f + 23a4f8d commit 05a3372

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cloudinary-image-management-and-manipulation-in-the-cloud-cdn/php/templates/taxonomy-term-transformation-fields.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
'video' => $this->get_transformations( 'video' ),
1414
);
1515
wp_add_inline_script( 'cloudinary', 'var CLD_GLOBAL_TRANSFORMATIONS = CLD_GLOBAL_TRANSFORMATIONS ? CLD_GLOBAL_TRANSFORMATIONS : {};', 'before' );
16+
$show_desc = true;
1617
?>
1718
<tr>
1819
<td colspan="2"><h2><?php esc_html_e( 'Global Transformations', 'cloudinary' ); ?></h2></td>
@@ -31,7 +32,8 @@
3132
$transformations[ $field['context'] ][ $field_slug ] = null;
3233
}
3334
// Render Field.
34-
$this->media->plugin->components['settings']->render_field( $field, $transformations[ $field['context'] ][ $field_slug ] );
35+
$this->media->plugin->components['settings']->render_field( $field, $transformations[ $field['context'] ][ $field_slug ], $show_desc );
36+
$show_desc = false;
3537
?>
3638
</td>
3739
</tr>

0 commit comments

Comments
 (0)