#19430 closed defect (bug) (fixed)

add_editor_style requests missing rtl css

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

Description

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 18 months ago.
adds file_exists check
class-wp-editor.php.2.patch (794 bytes) - added by WraithKenny 18 months ago.

Download all attachments as: .zip

Change History (6)

adds file_exists check

Probably existing since 3.0.

second patch removes the extra spaces

  • Keywords 3.4-early added
  • Milestone changed from Awaiting Review to Future Release
  • Version changed from 3.3 to 3.0
  • 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.