WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#4902 closed defect (bug) (fixed)

edInsertContent() defined twice?

Reported by: 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)

comment:1 Viper007Bond7 years ago

  • Cc wptrac@… added

comment:2 ryan7 years ago

the_editor() is loading quicktags and defining the function.

comment:3 andy7 years ago

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

comment:4 ryan7 years ago

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

comment:5 ryan7 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.