Make WordPress Core

Opened 4 years ago

Closed 3 years ago

#19430 closed defect (bug) (fixed)

add_editor_style requests missing rtl css

Reported by: WraithKenny Owned by:
Milestone: 3.4 Priority: normal
Severity: minor Version: 3.0
Component: Editor Keywords: has-patch
Focuses: Cc:


If a (parent) theme adds an editor_style but doesn't include a rtl version, WordPress still includes it in the TinyMCE init (causes 404 on the resource). Patch includes the same logic that child themes have already.

The patch is simple.

Attachments (2)

class-wp-editor.php.patch (797 bytes) - added by WraithKenny 4 years ago.
adds file_exists check
class-wp-editor.php.2.patch (794 bytes) - added by WraithKenny 4 years ago.

Download all attachments as: .zip

Change History (6)

4 years ago

adds file_exists check

#1 @nacin
4 years ago

Probably existing since 3.0.

#2 @WraithKenny
4 years ago

second patch removes the extra spaces

#3 @nacin
4 years ago

  • Keywords 3.4-early added
  • Milestone changed from Awaiting Review to Future Release
  • Version changed from 3.3 to 3.0

#4 @SergeyBiryukov
3 years ago

  • Keywords 3.4-early removed
  • Milestone changed from Future Release to 3.4
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [20059].

Note: See TracTickets for help on using tickets.