back slash before all images in new posts after saved as draft
-
on new posts got all images are missing, the reference’s uri or path as follows https://thedomain.com/blog/”\https://thedomain.com/blog/wp-content/… . here’s https://pastebin.com/k3GghHqR in the editor for how was the image tag after i’ve saved as draft, don’t know if you have a comment or anybody may suggest something to do always => \ is added before the image path.
Below a screenshots to how it looks like in both the preview and editor after i’ve saved it. https://img168.imageshack.us/i/missinge.jpg/ and https://img295.imageshack.us/i/missingpreview.jpg/
Also i’ve tried to comment out set_magic_quotes_runtime( 0 ); in wp-settings.php and put in conditional ->
if(version_compare(PHP_VERSION, '5.3.0', '<')) { set_magic_quotes_runtime(0); }
Also tried to add :
if ( get_magic_quotes_gpc() ) { $_POST = array_map( 'stripslashes_deep', $_POST ); $_GET = array_map( 'stripslashes_deep', $_GET ); $_COOKIE = array_map( 'stripslashes_deep', $_COOKIE ); $_REQUEST = array_map( 'stripslashes_deep', $_REQUEST ); }
No way ,i’ll really appreciate if anyboy may help
- The topic ‘back slash before all images in new posts after saved as draft’ is closed to new replies.