after update to 1.8 old links not show title, filename and size. bun in settings parameters is checked. show only image as link.
after update to 1.8 old links not show title, filename and size. bun in settings parameters is checked. show only image as link.
Hi,
Could you describe more your issue? is it with automatic shortcode?
If no, could you give me all shortcode parameters?
Do you use the custom format?
no automatic. shortcode inserted by post editor (tinymce button).
shortcode: [attachments label=doctitle docid=2017 fields=none title="Attached files:" titletag="h3" force_saveas="1" logged_users="0"]
List format: Large
ver 1.7.4
now shows: image as link, description, filename, size
ver 1.8
show only image as link
The issue is coming from fields=none.
I will publish a bug fix by today
thanks
thanks. attachments show normally with little bug. filename show without extension.
fix it yourself
eg-attachments-public.inc.php:348
'filename' => basename(get_attached_file($attachment->ID)),
Version 1.8.2 published. Problem solved.
also another question:
split() function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.
may change split() to explode() or preg_split().
thanks
You are right. Thanks for the information.
Coming version will run without split function.
You must log in to post.