WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 22 months 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:

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

Download all attachments as: .zip

Change History (6)

WraithKenny2 years ago

adds file_exists check

comment:1 nacin2 years ago

Probably existing since 3.0.

comment:2 WraithKenny2 years ago

second patch removes the extra spaces

comment:3 nacin2 years ago

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

comment:4 SergeyBiryukov22 months 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.