The only thing I’ve noticed is it creates a double slash in the URL which causes an issue for SEO as they will be interpreted as stand-alone URLs, which can result in duplicate content issues.
Example… these show up in the <head>:
<link rel='stylesheet' id='trelsb_frontend_style-css' href='...domain.com/wp-content/plugins/traction-external-links-speed-bump//css/traction-external-links-speed-bump.css?ver=6.2.2' media='all'/>
<script src='...domain.com.com/wp-content/plugins/traction-external-links-speed-bump//js/traction-external-links-speed-bump.js?ver=6.2.2' id='trelsb_frontend_script-js'></script>
You can see the double slash “traction-external-links-speed-bump//”
]]>I receive this HTML from JSON:
img alt=[backslash]”[backslash]” src=[backslash]”https://xxx[backslash]” style=[backslash]”border-style:solid; border-width:3px; height:600px; margin:2px; width:444px[backslash]”
But the src gets transformed into this:
img alt=”""” src=”"https://xxx"” style=”"border-style:solid;” border-width:3px;=”” height:600px;=”” margin:2px;=”” width:444px"=””>
And no image is displayed! Could I have some help on it?
Thanks in advance,
Tolo
Currently, I try to set up a page for uploading files and moving that entries in custom post types. All that is working fine. But there is one problem: I save the file path of Advanced File Upload 2.0 filed in a custom post type. This is working.
But the file-path looks like this: “http:\/\/www.pd-design.eu\/video-upload\/wp-content\/uploads\/2020\/05\/sendungsdesign-beispiel-01-2.jpg”. Where do this slashes come from? When I use the basic html-5 Upload, I get the normal/correct link. In WordPress Media, it is also saving the right file/link (https://www.pd-design.eu/video-upload/wp-content/uploads/2020/05/sendungsdesign-beispiel-01-2.jpg).
I couldn’t find any answer .. can you help?
And by the way: Is it planned to get the status bar of Advanced file uploader 1.0 to the 2.0? Because when you upload a bigger file, a status bar would be great!
Thanks very much for your help!
Patrick
On the options page where to set the filepath to the MMDB file the slashes are stripped out when I click Save. I have tried a custom directory and using the Media path “/wp-content/uploads/2020/03/GeoLite2-City.mmdb”.
When I click save I get an error that the file cannot be found and the slashes are gone: “wp-contentuploads202003GeoLite2-City.mmdb”
I have been able to make the plugin work by putting the MMDB file in the root of the installation. i.e. ABOVE the wp-content directory.
]]>It probably doesnt use the escape string function properly…
]]>“The Wordfence Web Application Firewall cannot run. The configuration files are corrupt or inaccessible by the web server, which is preventing the WAF from functioning. Please verify the web server has permission to access the configuration files. You may also try to rebuild the configuration file by clicking here. It will automatically resume normal operation when it is fixed. “
The PHP log shows there is an error reading the config data.
[31-Aug-2018 21:25:04 UTC] Error reading Wordfence Firewall config data, configuration file could be corrupted or inaccessible. Path: C:\Webs\~Live\fda/wp-content/wflogs/config.php
We have tried re-installing and tried recreating the config file, but we cannot get it work work
As you can see, it appears WordFence is trying to load the config path using a mix of
forward slashes and backslashes. If it used one other the other, it would work, but the mix of ‘\’ and ‘/’ gives this error.
Is there a way to fix this and force Wordfence to use ALL ‘/’ or ALL ‘\’ in the path.
In case you need to know, we are using IIS 8.5 / PHP 7.2.2 / WordPress 4.9.8 / WordFence 7.1.11 (1534873799)
thanks.
]]>my-site/lettuce/
Ok this work great even without plugin.
My problem come with another post about lettuces too which has the next permalink:
my-site/lettuce/how-eat/
With the last url, the post is saved with it, but when i can go to the single.php of that post, wordpress dont load the single.php template.
Any idea how to solve this?
i have tested this in twenty-fiften theme
Thank you for the support and for the plugin team ^^
]]>– When we add a select field with option/prices, if the option name contains quotes when we save settings there are additional slashes. For now we modified the plugin code in templates/admin/create-form.php line 305 and 330 ($option[‘option’] -> stripslashes($option[‘option’])), but it would be great if you could fix it in the next version
– We would like to add a number field that would impact the product amount : if customer types +10 then the product price would be incremented by 10, if the customer types -10 it would be decremented by 10 (the customer might type any value say between -100 and +100). Is there a possibility to do that with the actual plugin, or do we have to modify it ? What would be the simplest solution ?
Thank you for your support.
]]>Saving the settings anywhere causes the displayed slash to be escaped again in the database, and another slash is displayed when you refresh the settings page. It ends up doubling the number of slashes each time settings are saved.
I didn’t test any other fields, so maybe double check that all fields are properly being unescaped when the values are being displayed.
]]>