Skip to content

Commit 913f4c0

Browse files
author
KMchaudhary
committed
Address typos
1 parent 628010d commit 913f4c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

inc/classes/class-media-library-ajax.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function upload_media_to_frappe_backend( $attachment_id, $retranscode = f
160160

161161
/**
162162
* Filter to allow external developers to disable automatic transcoding on upload.
163-
* This allows users to have manual control over when videos get transcoded.
163+
* This allows users to have manual control over when media files get transcoded.
164164
*
165165
* Note: This filter only applies to automatic uploads. Manual retranscoding requests
166166
* (via bulk actions, tools page, etc.) will always proceed regardless of this setting.
@@ -192,7 +192,7 @@ public function upload_media_to_frappe_backend( $attachment_id, $retranscode = f
192192
return;
193193
}
194194

195-
// Only if attachment type if image.
195+
// Only if attachment type is image.
196196
if ( 'image' !== substr( get_post_mime_type( $attachment_id ), 0, 5 ) ) {
197197
return;
198198
}

0 commit comments

Comments
 (0)