Title: Wrong variable in dialog display function
Last modified: August 30, 2016

---

# Wrong variable in dialog display function

 *  [pankamilr](https://wordpress.org/support/users/gordon34/)
 * (@gordon34)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wrong-variable-in-dialog-display-function/)
 * Hi there!
    I just figured out that on the latest version of the plugin is a dialog
   display bug which doesn’t correspond with `wpmem_msg_dialog_arr` hook.
 * In file `inc/dialogs.php` in line 145 is variable `$msg` and should be `$args['
   msg']`. After that I can overwrite strings with hook.
 * [https://wordpress.org/plugins/wp-members/](https://wordpress.org/plugins/wp-members/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wrong-variable-in-dialog-display-function/#post-6404813)
 * You are correct. Somehow that element got missed when the function was updated
   to remove the extract() function.
 * It will be corrected in the next release.

Viewing 1 replies (of 1 total)

The topic ‘Wrong variable in dialog display function’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/wrong-variable-in-dialog-display-function/#post-6404813)
 * Status: not resolved