WordPress.org

Make WordPress Core

Opened 9 months ago

Last modified 9 months ago

#40084 new defect (bug)

add_editor_style doesn't work on php7.1

Reported by: evgeniinasyrov Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.3
Component: Editor Keywords:
Focuses: Cc:

Description

Hi guys,

As mentioned in the summary, it doesn't seems to work on php 7.1 but it does with php 5.6.

Change History (2)

#1 follow-up: @danielbachhuber
9 months ago

@evgeniinasyrov Can you share the specific PHP version you're running?

I think this may be related to https://github.com/wp-cli/wp-cli/issues/3888

Specifically, file_exists() might not work as expected in PHP 7.1.2

#2 in reply to: ↑ 1 @evgeniinasyrov
9 months ago

@danielbachhuber PHP 7.1.2-4

Note: See TracTickets for help on using tickets.