Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#10271 closed defect (bug) (fixed)

Theme editor deletes text

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

Description

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)

#1 @Denis-de-Bernardy
17 years ago

  • Severity major → blocker

#2 @azaozz
17 years ago

  • Milestone 2.8.1 → 2.9
  • Priority high → normal
  • Severity blocker → 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.

#3 @ryan
17 years ago

  • Resolution → fixed
  • Status new → closed

Code highlighting is gone from 2.8.x and 2.9.

Note: See TracTickets for help on using tickets.