Make WordPress Core

Opened 16 years ago

Closed 15 years ago

#10271 closed defect (bug) (fixed)

Theme editor deletes text

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

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
16 years ago

  • Severity changed from major to blocker

#2 @azaozz
16 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.

#3 @ryan
15 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.