Make WordPress Core

Opened 8 years ago

Closed 4 years ago

#40084 closed defect (bug) (worksforme)

add_editor_style doesn't work on php7.1

Reported by: evgeniinasyrov's profile evgeniinasyrov Owned by:
Milestone: 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 (3)

#1 follow-up: @danielbachhuber
8 years 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
8 years ago

@danielbachhuber PHP 7.1.2-4

#3 @noisysocks
4 years ago

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

add_editor_style() seems OK to me running PHP 7.1. Let me know if I'm missing something.

Note: See TracTickets for help on using tickets.