Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#6249 closed defect (bug) (fixed)

TinyMCE sometimes leaves empty anchors

Reported by: Denis-de-Bernardy Owned by:
Priority: low Milestone:
Component: Administration Version: 2.5
Severity: minor Keywords:
Cc: Focuses:

Description

not sure how to reproduce, or whether it should even be fixed (keeping an empty div around with an id sometimes makes sense), but... while playing around with the latest trunk's media library, I eventually got this:

<a href="​http://localhost/~denis/wp-content/uploads/2008/03/afraid1.flv"></a>

D.

Attachments (1)

6249.diff​ (2.7 KB ) - added by andy 19 years ago.
do not insert empty links; use the file basename if no title given

Download all attachments as: .zip

Change History (3)

#1 @azaozz
19 years ago

  • Component TinyMCE → Administration

Did you enter a title for the video in Media Library? I think we should make the title there a required field.

@andy
19 years ago

do not insert empty links; use the file basename if no title given

#2 @ryan
19 years ago

  • Resolution → fixed
  • Status new → closed

(In [7348]) do not insert empty links; use the file basename if no title given. Props andy. fixes #6249

Note: See TracTickets for help on using tickets.