Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#10271 closed defect (bug) (fixed)

Theme editor deletes text

Reported by: ryanmc Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.8
Component: Editor Keywords:
Focuses: Cc:


I copied some CSS code from FireBug and pasted it into my style.css file using the Theme editor. Immediatly it jumps me to the top of the page, which is annoying, but if I click save everything below the pasted text is deleted. This caused me huge problem because my site got majorly screwed up. Luckly, I had a backup of the CSS file. This is a major bug and is repeatable. I go to any site and copy CSS from firebug. Then I paste it into my CSS file and hit update and the new code and everything below it is erased.

Change History (3)

comment:1 @Denis-de-Bernardy6 years ago

  • Severity changed from major to blocker

comment:2 @azaozz6 years ago

  • Milestone changed from 2.8.1 to 2.9
  • Priority changed from high to normal
  • Severity changed from blocker to normal

You can disable the code highlighting from the Screen Options there. We may need to either change or remove the code highlighting as it seems to bring more troubles than benefits.

comment:3 @ryan6 years ago

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

Code highlighting is gone from 2.8.x and 2.9.

Note: See TracTickets for help on using tickets.