We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4149217 commit b32a307Copy full SHA for b32a307
php/class-media.php
@@ -934,7 +934,7 @@ public function upload_dir( $dirs ) {
934
public function get_cloudinary_folder() {
935
$folder = '';
936
if ( ! empty( $this->cloudinary_folder ) ) {
937
- $folder = trailingslashit( $this->cloudinary_folder );
+ $folder = trailingslashit( trim( $this->cloudinary_folder, '/' ) );
938
}
939
940
return $folder;
0 commit comments