WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#7097 closed defect (bug) (fixed)

Theme files not displayed on theme editor page

Reported by: johnhennmacc Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.6
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

This may be connected to ticket 7059 but theme files cannot be displayed on the theme editor page. I am getting the error message for files that cannot be found even when they can be listed on the sidebar. It might be that ABSPATH is being used somewhere in place of WP_CONTENT_DIR.

Attachments (1)

theme_editor.diff (420 bytes) - added by ionfish 6 years ago.

Download all attachments as: .zip

Change History (3)

ionfish6 years ago

comment:1 ionfish6 years ago

  • Keywords has-patch added

Seeing the same problems, have attached a patch.

comment:2 ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [8053]) Use WP_CONTENT_DIR to fix theme editor file loading. Props ionfish. fixes #7097

Note: See TracTickets for help on using tickets.