-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rt_media attachment_id=XX] short does not work #139
Comments
I tried replicating this issue but was unable to replicate it for After further investigation found that the transcoder/admin/rt-transcoder-functions.php Lines 40 to 103 in 7c7c5d0
@gagan0123 please let me know if this functionality is working as it should and if are we going to extend the functionality for image-type attachments also. cc: @aviral-mittal |
Image type attachments are not supposed to be handled as of now, but still lets display a translatable message saying "Image attachments are not handled by Transcoder plugin." Apart from that, handle the "Undefined variable: media_url" notice as well, by passing the correct media URL, as any third party plugin that want to handle image attachments as well can still make use of the filter. |
GH-139: [rt_media attachment_id=XX] short does not work [Develop]
Using this shortcode does not show anything and throws PHP Notice for Undefined variable: media_url
Please check this screenshot.
The text was updated successfully, but these errors were encountered: