• Resolved Cresencio

    (@can2)


    Overnight I was notified of two changes to core files:

    wp-admin/includes/upgrade.php
    wp-includes/functions.php

    Both changes were related to changing the php die() function to exit(1).

    Anyone else notice this?

    I contacted my hosting (MediaTemple) and they said they had never seen that issue and they don’t modify core files.

    I’ve changed the files back to their original versions, but I’m curious as to how this happened.

    https://wordpress.org/plugins/wordfence/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WFMattR

    (@wfmattr)

    On this site, did you install WordPress using a “one-click” installer in your host’s control panel?

    I have heard of a few other people having this type of message in the past, and that was usually the case. It most likely helps their installation program test for errors while it is running updates, and should not hurt anything.

    Those two modified files might change again each time the control panel’s software is updated, or each time it tries to update WordPress. (It’s possible the host installed the software, but does not know that it is a slightly modified version of WordPress.)

    -Matt R

    Thread Starter Cresencio

    (@can2)

    Sorry for the delayed response. I didn’t receive an email when you replied.

    I believe you are correct because I may have installed WordPress via Plesk. I don’t remember but if it is a known thing then I’m willing to assume that’s what happened.

    Thanks for reaching out Matt!

    Plugin Author WFMattR

    (@wfmattr)

    Ok, great! If WordPress core updates are run automatically by Plesk, the warnings may come up again each time there is an WordPress update.

    If that is the case, and the only change in the files is die() changing to exit(1) in these two files, it should be safe to click the option to ignore each of them until they change again.

    -Matt R

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting notified of core file changes’ is closed to new replies.