Title: Automatic Salt Change Breaks Bricks Code Validation
Last modified: June 8, 2025

---

# Automatic Salt Change Breaks Bricks Code Validation

 *  Resolved [dblvd](https://wordpress.org/support/users/dblvd/)
 * (@dblvd)
 * [12 months ago](https://wordpress.org/support/topic/automatic-salt-change-breaks-bricks-code-validation/)
 * Hello there,
 * is there a way to disable the **automatic weekly change of salts**?
   This unfortunately
   breaks the code security feature in Bricks Builder which relies on the Salts 
   to validate the code added to the website.Thanks very much in advance.

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

 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [12 months ago](https://wordpress.org/support/topic/automatic-salt-change-breaks-bricks-code-validation/#post-18502972)
 * Hi [@dblvd](https://wordpress.org/support/users/dblvd/)
 * You should disable the Salt Postfix feature. It is not possible to disable the
   weekly update of Salt Postfix.
 * Regards
 *  Thread Starter [dblvd](https://wordpress.org/support/users/dblvd/)
 * (@dblvd)
 * [12 months ago](https://wordpress.org/support/topic/automatic-salt-change-breaks-bricks-code-validation/#post-18503533)
 * Does this mean that if the** Salt Postfix feature** is **disabled** the automatic
   update also **does not take place**?
   (If so this should be clarified inside the
   documentation and best inside the plugin settings)
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [12 months ago](https://wordpress.org/support/topic/automatic-salt-change-breaks-bricks-code-validation/#post-18504372)
 * Hi [@dblvd](https://wordpress.org/support/users/dblvd/),
 * Thanks for your suggestion, I will create an internal ticket for this.
 * Regards
 *  Thread Starter [dblvd](https://wordpress.org/support/users/dblvd/)
 * (@dblvd)
 * [12 months ago](https://wordpress.org/support/topic/automatic-salt-change-breaks-bricks-code-validation/#post-18504842)
 * Hey there, thanks so far but please could you clarify whether I can **reliably
   disable the weekly change of the salts** by **disabling the Salt Postfix feature**???
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [12 months ago](https://wordpress.org/support/topic/automatic-salt-change-breaks-bricks-code-validation/#post-18505474)
 * Hi [@dblvd](https://wordpress.org/support/users/dblvd/),
 * If you disable the salt postfix feature, it will stop applying the salt postfix
   to salt. But with cron job, it might keep updating as per my code review.
 * I will create an internal ticket for this to have the weekly salt postfix change
   cron also resolved.
 * Regards
 *  Thread Starter [dblvd](https://wordpress.org/support/users/dblvd/)
 * (@dblvd)
 * [12 months ago](https://wordpress.org/support/topic/automatic-salt-change-breaks-bricks-code-validation/#post-18507590)
 * Thanks, hjogi, if you escalate this internally now, please add this article [https://snicco.io/blog/wordpress-salts](https://snicco.io/blog/wordpress-salts)
   to it. It seems as if the benefits of changing salts does not outweigh the broken
   code / or access validation issues that could occur.
 * Also: Is there a hook for now where we can disable the automatic salt change?
    -  This reply was modified 12 months ago by [dblvd](https://wordpress.org/support/users/dblvd/).
 *  Plugin Support [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * (@hjogiupdraftplus)
 * [12 months ago](https://wordpress.org/support/topic/automatic-salt-change-breaks-bricks-code-validation/#post-18508027)
 * Hi [@dblvd](https://wordpress.org/support/users/dblvd/),
 * Ok, I will add that article.
 * If you disable the salt postfix feature, it will stop applying that changing 
   salt postfix. Here we add the postfix to the actual salt saved in wp-config.php
   so if you disable this feature still the actual salt will be used.
 * you can add the below code in the functions.php, it should remove the updating
   of the salt postfixes. let me know if still any issue.
 *     ```wp-block-code
       remove_action('aios_change_auth_keys_and_salt', 'AIOWPSecurity_Utility::change_salt_postfixes');
       ```
   

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

The topic ‘Automatic Salt Change Breaks Bricks Code Validation’ is closed to new
replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [hjogiupdraftplus](https://wordpress.org/support/users/hjogiupdraftplus/)
 * Last activity: [12 months ago](https://wordpress.org/support/topic/automatic-salt-change-breaks-bricks-code-validation/#post-18508027)
 * Status: resolved