WordPress.org

Forums

[resolved] The wp-includes folder (3 posts)

  1. ktrusak
    Member
    Posted 2 years ago #

    Does this folder get overwritten on updates?

    If so is there anyway to create a permanent copy of a file that would not be?

    I made some changes to default-constants.php to up the max-memory limits and don't want the changes to reset after every update.

  2. fonglh
    Member
    Posted 2 years ago #

    Don't edit core files.

    Take a look at the comment at the top of default-constants.php.

    Defines constants and global variables that can be overridden, generally in wp-config.php.

    Define the memory limit constants in your wp-config.php file instead.

  3. ktrusak
    Member
    Posted 2 years ago #

    Okay, I did that instead. Admittedly I skipped reading the comments on the doc when I was trying to find the cause of my problem earlier. Thanks fonglh

Topic Closed

This topic has been closed to new replies.

About this Topic