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 b32a307 commit 86d2a0aCopy full SHA for 86d2a0a
php/class-media.php
@@ -933,7 +933,7 @@ public function upload_dir( $dirs ) {
933
*/
934
public function get_cloudinary_folder() {
935
$folder = '';
936
- if ( ! empty( $this->cloudinary_folder ) ) {
+ if ( ! empty( $this->cloudinary_folder ) && '/' !== $this->cloudinary_folder ) {
937
$folder = trailingslashit( trim( $this->cloudinary_folder, '/' ) );
938
}
939
0 commit comments