Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#4902 closed defect (bug) (fixed)

edInsertContent() defined twice?

Reported by: viper007bond's profile Viper007Bond Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.3
Component: Administration Keywords:
Focuses: Cc:

Description

The Write page calls /wp-includes/js/quicktags.js (which defines edInsertContent()) and then goes on to manually define edInsertContent().

Any particular reason this was done?

Change History (5)

#1 @Viper007Bond
17 years ago

  • Cc wptrac@… added

#2 @ryan
17 years ago

the_editor() is loading quicktags and defining the function.

#3 @andy
17 years ago

Heck if I know. Take it out and see what happens with rich editing on/off.

#4 @ryan
17 years ago

Seems to be working with rich on and off and when flipping between code Visual and Code tabs.

#5 @ryan
17 years ago

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

(In [6045]) Remove redundant declaration ofedInsertContent. Props Viper007Bond. fixes #4902

Note: See TracTickets for help on using tickets.