WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#36290 closed defect (bug) (invalid)

file changed automatically!

Reported by: babakhatami Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4.2
Component: General Keywords:
Focuses: Cc:

Description

Dear word-press
It's about 2 days that I found a serous bug in WP system
detail:
every a few hours, wp-includes/functions.php gets changed automatically.
I tried that in two different hosting companies. There shouldn't be a problem with host.
Both original and automatically-edited files are attached.
Waiting for your reply
Best Regards,

Attachments (2)

2 files.zip (84.8 KB) - added by babakhatami 5 years ago.
both files befor and after automatically edition
diff.diff (16.7 KB) - added by dd32 5 years ago.
diff between files in zip

Download all attachments as: .zip

Change History (4)

@babakhatami
5 years ago

both files befor and after automatically edition

#1 @dd32
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi @babakhatami

WordPress isn't doing this to itself, the problem you're experiencing may be caused by a plugin, theme, another server process, or potentially malware infection. Start from a clean WordPress installation with no custom plugins/themes.

Looking at the diff between the two files, I have absolutely no idea what would be causing that to happen.

@dd32
5 years ago

diff between files in zip

#2 @SergeyBiryukov
5 years ago

It's also worth noting that EOL format of the file was changed from Unix to Windows. If I had to guess, it's probably a result of manual editing using some Windows software.

Note: See TracTickets for help on using tickets.