I want to have a column that will display plain text where sometimes the text includes a link. I set the column Data type to String and Editing to One Line Edit. I can enter plain text just fine, but if I enter a <a href= html in the field it inserts additional html chars before and after.
Note: on the page at http://fairviewaustin.com/glutenfree-austin/ where I am trying to do this I have one manually created table and below that one created with wpDataTables. Ignore the first one and scroll down to the 2nd table on the page to see the problem. This is in the far right column titled Fairview Recommends.
Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check PRIVATE so nobody can see it except us.
Can you please send me also your FTP credentials so I can investigate this issue? I tried to reproduce it locally and I didn't managed to do that. Everything is working fine on my local machine.
But after every update you'll have to do it again. Do you maybe have an option to upgrade your PHP to version 7 or higher so we can see if that was causing an issue.
I will check with my hosting provider, Siteground, about upgrading PHP. They are usually very good at that. Will let you know when I do so we can verify whether that fixes the problem.
I have upgraded to PHP version 7.0.21. Tried editing your code to return it to original but the problem came back. You may want to look at it again now.
Thank you. We'll investigate this issue, I just wanted to be sure if this is happening because of the PHP version. Until then you can use this fix to make it work.
I want to have a column that will display plain text where sometimes the text includes a link. I set the column Data type to String and Editing to One Line Edit. I can enter plain text just fine, but if I enter a <a href= html in the field it inserts additional html chars before and after.
Note: on the page at http://fairviewaustin.com/glutenfree-austin/ where I am trying to do this I have one manually created table and below that one created with wpDataTables. Ignore the first one and scroll down to the 2nd table on the page to see the problem. This is in the far right column titled Fairview Recommends.
Hi JimiBallard,
Thank you for the purchase.
Can you please send me the HTML code that you are trying to add so I can investigate this issue on my local machine?
Thanks Milos. I have updated that page so the only table is the one built with your add in. The problem is in the column titled Fairview Recommends.
Here is the html I have tried to add:
It changes it to this:
It just adds the greater than symbol followed by a div code to the beginning of everything and then an end div and less than symbol.
Hi Jimi Ballard,
Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check PRIVATE so nobody can see it except us.
Hi Jimi Ballard,
Can you please send me also your FTP credentials so I can investigate this issue? I tried to reproduce it locally and I didn't managed to do that. Everything is working fine on my local machine.
Hi Jimi Ballard,
I have fixed it, but it was probably due to PHP version.
For now I have replaced in file ../wp-content/plugins/wpdatatables/controllers/wdt_ajax_actions.php line #297
with:
But after every update you'll have to do it again. Do you maybe have an option to upgrade your PHP to version 7 or higher so we can see if that was causing an issue.
Thanks Milos, that seems to work fine.
I will check with my hosting provider, Siteground, about upgrading PHP. They are usually very good at that. Will let you know when I do so we can verify whether that fixes the problem.
Hi Jimi Ballard,
You are welcome. Thank you for great review on CodeCanyon. Please notify me if they upgrade PHP to version 7.0 or higher so we can test it.
I have upgraded to PHP version 7.0.21. Tried editing your code to return it to original but the problem came back. You may want to look at it again now.
Hi Jimi Ballard,
Thank you. We'll investigate this issue, I just wanted to be sure if this is happening because of the PHP version. Until then you can use this fix to make it work.
Was a more permanent solution ever discovered? (I'm having the same issue, trying to figure out if someone has already solved the problem!)
Hi Kenner82,
Please open a separate ticket in wpDataTables category, and one of our support agents will provide you help with the issue.