• lagoongear

    (@lagoongear)


    Hi Guys,

    I wonder, if I change the PHP wordpress coding to increase to ram to like 512MB.

    If I click auto update, will it reset?

    Or it depends the version update changes?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Tim Nash

    (@tnash)

    Spam hunter

    Increasing the RAM has no baring on auto-update resetting, the WordPress auto-updates leave all your content intact and simply updates files and performs any database changes if needed (such as changing the version number) they are designed to be seamlessly. However make sure you are always doing regular backups.

    Thread Starter lagoongear

    (@lagoongear)

    So if i go to wp-config.php define( 'WP_MAX_MEMORY_LIMIT', '512M' );

    it will not have any changes? I read somewhere if there is customise changes to wp-config, it will reset when auto update.

    Thanks Tim

    If you have made changes to core files, themes or plugins, then yes any changes that you’ve made will be over-written on the next update – no matter what settings you have there.

    What doesn’t change is your wp-config.php file as well as any custom themes or plugins that you’ve installed.

    Thread Starter lagoongear

    (@lagoongear)

    So as long its on wp-config.php ( in my case is increase total ram use) it will be fine when next wordpress auto update, right?

    Thanks!

    Yes. The wp-config.php file doesn’t get changed on updates.

    Thread Starter lagoongear

    (@lagoongear)

    qns1) so for style.css it wont change too, right?

    Qns2) I thought any themes and plugin if we modified it, when its install new update, it will like past a new series of files overwrite the old, and delete old plugin and themes files other than style.css?

    1. No, style.css will change on any future update. That file is part of the theme, so it will be updated each time.

    2. Yes, any changes will be over-written when the themes and plugins update next time.

    That’s why it’s always recommended to not make modifications directly in the code-base like that.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘if increase the WP ram usage, can I click auto update without reset changes?’ is closed to new replies.