Title: Backslashes caused by function calls WordPress
Last modified: August 19, 2016

---

# Backslashes caused by function calls WordPress

 *  [saillmone](https://wordpress.org/support/users/saillmone/)
 * (@saillmone)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/backslashes-caused-by-function-calls-wordpress/)
 * Hello guys,
 * Excuse my English please.
 * WordPress is installed in a directory “blog”, and my site is located at the root.
 * To view the user ID and a link to WordPress disconnection on the homepage of 
   my site, I initialize WordPress functions in the header of my site with this 
   code:
 * / / Call functions wordpress
    require ( ‘blog / wp-config.php’); $ wp-> init ();
   $ wp-> parse_request (); $ wp-> query_posts (); $ wp-> register_globals ();
 * The problem is that calling these functions impact on the forms for my site and
   adds backslashes to data sent by my forms: “l’aigle” becomes “l\’aigle”.
    If 
   I disable the function calls of WordPress, the problem is resolved. Unfortunately,
   I need these functions …
 * Add that magic_quotes are disabled on my server.
 * Do you know a solution to this problem backslash, or to display the username 
   WordPress and a link disconnection without function calls WordPress?
 * Thank you!

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/backslashes-caused-by-function-calls-wordpress/#post-1189316)
 * [http://codex.wordpress.org/Function_Reference/wp_get_current_user](http://codex.wordpress.org/Function_Reference/wp_get_current_user)
 * [http://codex.wordpress.org/Function_Reference/wp_logout_url](http://codex.wordpress.org/Function_Reference/wp_logout_url)

Viewing 1 replies (of 1 total)

The topic ‘Backslashes caused by function calls WordPress’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/backslashes-caused-by-function-calls-wordpress/#post-1189316)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
