Title: [Plugin: MailPress] Not saving user custom fields updates
Last modified: August 20, 2016

---

# [Plugin: MailPress] Not saving user custom fields updates

 *  Resolved [Marco Chiesi](https://wordpress.org/support/users/marcochiesi/)
 * (@marcochiesi)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-mailpress-not-saving-user-custom-fields-updates/)
 * Hello,
    I am using WP 3.4.1 and Mailpress 5.3 and I have a problem when I try
   to update the values of user custom fields from Mailpress users management interface.
   The custom fields simply stick with the previous value, and are not getting the
   new value (it’s not a refresh problem, also inside the database values are not
   updated). Anybody having the same issue?
 * [http://wordpress.org/extend/plugins/mailpress/](http://wordpress.org/extend/plugins/mailpress/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Marco Chiesi](https://wordpress.org/support/users/marcochiesi/)
 * (@marcochiesi)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-mailpress-not-saving-user-custom-fields-updates/#post-2875460)
 * I think I’ve found the origin of the problem: there is a discrepancy between 
   the (html) names of the custom fields boxes used in the edit page and the ones
   handled by the code. In the html source they are named `usermeta[]` while the
   php code expects `updatemeta` and `meta[]`.
 * To fix this it is sufficient to modify the file `mp-admin/user.php` and change
   the following
 *     ```
       case isset($_POST['updatemeta']) :
           foreach ($_POST['meta'] as $meta_id => $meta)
       ```
   
 * to this
 *     ```
       case isset($_POST['usermeta']) :
           foreach ($_POST['usermeta'] as $meta_id => $meta)
       ```
   
 * I hope this will be fixed in the future releases.
 *  Plugin Author [arena](https://wordpress.org/support/users/arena/)
 * (@arena)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-mailpress-not-saving-user-custom-fields-updates/#post-2875592)
 * will be fixed in trunk soon !
 *  Plugin Author [arena](https://wordpress.org/support/users/arena/)
 * (@arena)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-mailpress-not-saving-user-custom-fields-updates/#post-2875593)
 * done !

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: MailPress] Not saving user custom fields updates’ is closed 
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mailpress_f0e2c4.svg)
 * [MailPress](https://wordpress.org/plugins/mailpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailpress/)
 * [Active Topics](https://wordpress.org/support/plugin/mailpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailpress/reviews/)

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [user](https://wordpress.org/support/topic-tag/user/)

 * 3 replies
 * 2 participants
 * Last reply from: [arena](https://wordpress.org/support/users/arena/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-mailpress-not-saving-user-custom-fields-updates/#post-2875593)
 * Status: resolved