Title: Bug setting prefix
Last modified: August 21, 2016

---

# Bug setting prefix

 *  [cjsilva](https://wordpress.org/support/users/cjsilva/)
 * (@cjsilva)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/bug-setting-prefix/)
 * Hi.
 * First of all: thanks for this plugin! 😀
 * But I have to warn you about a bug I found:
    I set the prefix to blog_ and I 
   kept seeing the word “custom” appearing in the prefix.
 * I then checked the code and noticed that you are using global $prefix. This variable
   was begin set somewhere between the global declaration in the plugin and somewhere
   else in wordpress.
 * I suppose that either you need to change the name of your global variables to
   something with a prefix (xitifree_plugin_prefix = … etc) to avoid collisions,
   or, you can do what I think is the correct way: call the “get_option” functions
   directly in the plugin functions vmxf_printTag and others or store them in local
   variables.
 * For me, I did a quick fix and replaced:
    $prefix=get_option(‘vmxf_prefix_p_value’);
   with: $lexiti_prefix=get_option(‘vmxf_prefix_p_value’);
 * and then replaced $prefix with $lexiti_prefix in the vmxf_printTag function.
 * Thanks again 😀
 * [https://wordpress.org/plugins/xiti-free/](https://wordpress.org/plugins/xiti-free/)

The topic ‘Bug setting prefix’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/xiti-free.svg)
 * [Xiti free](https://wordpress.org/plugins/xiti-free/)
 * [Support Threads](https://wordpress.org/support/plugin/xiti-free/)
 * [Active Topics](https://wordpress.org/support/plugin/xiti-free/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/xiti-free/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/xiti-free/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [cjsilva](https://wordpress.org/support/users/cjsilva/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/bug-setting-prefix/)
 * Status: not resolved