WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 3 days ago

#40084 closed defect (bug) (worksforme)

add_editor_style doesn't work on php7.1

Reported by: 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
4 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
4 years ago

@danielbachhuber PHP 7.1.2-4

#3 @noisysocks
3 days 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.