Cannot set a media file as series icon. DB field size for icon is too short.
-
I tried setting an image which already uploaded into media library and the process was smooth until it is updated to database to find that the icon was not displayed as series icon. I tried the other icon, it worked fine. After finding its cause, I found that the field ‘icon’ in the table ‘wp_orgseriesicons’ is ‘varchar(100)’ which is somewhat short considering that it also includes the path ‘wp-content/uploads/yyyy/mm/’.
My current problem was solved by shortening the icon filename. However, could you please make the field size longer considering it should reflect nearly the same length as the field ‘guid’, varchar(255), in the table ‘wp_posts’ which store nearly the same value?
Thanks in advance.
- The topic ‘Cannot set a media file as series icon. DB field size for icon is too short.’ is closed to new replies.