Redundant backslashes being added upon each save

  • compumatter
  • Topic Author

Redundant backslashes being added upon each save was created by compumatter

Hello,

In the Media Title area I have inserted the following text:
Christian's Audio Testimonial

After multiple saves I get Christian\\\\\\\'s Audio Testimonial

Can we get an update on a direct code edit to cure this until the plugin includes it ?

Screenshot attached.

Thanks.

Jay
CompuMatter
9 years 7 months ago #508
Attachments:

Please Log in or Create an account to join the conversation.

Replied by Administrator on topic Redundant backslashes being added upon each save

9 years 7 months ago #514

Please Log in or Create an account to join the conversation.

  • compumatter
  • Topic Author

Replied by compumatter on topic Redundant backslashes being added upon each save

Hello,

That worked but only if I modified it to remove the 'if' statement

ie; remove the line if ( get_magic_quotes_gpc() ) { so it only reads
<?
$_POST = array_map( 'stripslashes_deep', $_POST );
$_GET = array_map( 'stripslashes_deep', $_GET );
$_COOKIE = array_map( 'stripslashes_deep', $_COOKIE );
$_REQUEST = array_map( 'stripslashes_deep', $_REQUEST );
?>

Can you think of any side effects of that ?

Jay
CompuMatter
9 years 7 months ago #516

Please Log in or Create an account to join the conversation.

Replied by Administrator on topic Redundant backslashes being added upon each save

No. There is not any side effects :)
9 years 7 months ago #518

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds

Business Address

PLUGINSWARE INTERACTIVE PVT LTD
Door No 2A, Venkateshwara Nagar,
1st Main Road, Velachery, Chennai,
Tamilnadu, India
Pincode: 600042
© 2013 - 2024 Pluginsware Interactive Private Limited. All Rights Reserved. The Joomla! name and logo is used under a limited license granted in the United States and other countries.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.