Title: Modify post vs. modify custom field
Last modified: September 1, 2016

---

# Modify post vs. modify custom field

 *  Resolved [Ira](https://wordpress.org/support/users/irapasternack/)
 * (@irapasternack)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/modify-post-vs-modify-custom-field/)
 * I’m testing out this plugin, adding and changing custom fields in a custom post
   type. I’m getting a “Code 2031 – Modified the custom post” alert. I’m expecting
   to get a “Alert 2057: User modified the value of custom field in custom post 
   type”. Any idea what I need to do to trigger the alert to tell me which field
   was edited?
 * [https://wordpress.org/plugins/wp-security-audit-log/](https://wordpress.org/plugins/wp-security-audit-log/)

Viewing 1 replies (of 1 total)

 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/modify-post-vs-modify-custom-field/#post-7654111)
 * Hello,
 * Thank you for using our plugin.
 * I just double checked and tested this and can confirm the following behaviour:
 * 1. Adding a custom field to a custom post type generates alert 2056
    2. Modifying
   the value of the custom field generates alert 2057 3. Renaming the custom fields
   generates alert 2063
 * So as such everything is working correctly hence it could be something related
   to your setup, so we need to do some troubleshooting. Few questions first:
 * 1. Is the custom post type a draft or published already?
    2. What type of custom
   post is it? Is it something you created or something automatically generated 
   by a plugin?
 * Looking forward to hearing from you.

Viewing 1 replies (of 1 total)

The topic ‘Modify post vs. modify custom field’ is closed to new replies.

 * ![](https://ps.w.org/wp-security-audit-log/assets/icon-256x256.png?rev=2961534)
 * [WP Activity Log](https://wordpress.org/plugins/wp-security-audit-log/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-security-audit-log/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-security-audit-log/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-security-audit-log/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-security-audit-log/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-security-audit-log/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/modify-post-vs-modify-custom-field/#post-7654111)
 * Status: resolved