WordPress.org

Make WordPress Core

Changeset 22916


Ignore:
Timestamp:
11/29/12 02:42:06 (17 months ago)
Author:
nacin
Message:

Use jQuery .html() when processing HTML.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/inline-edit-post.js

    r22019 r22916  
    9898                c = false; 
    9999                var id = $(this).val(), theTitle; 
    100                 theTitle = $('#inline_'+id+' .post_title').text() || inlineEditL10n.notitle; 
     100                theTitle = $('#inline_'+id+' .post_title').html() || inlineEditL10n.notitle; 
    101101                te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton" title="'+inlineEditL10n.ntdeltitle+'">X</a>'+theTitle+'</div>'; 
    102102            } 
Note: See TracChangeset for help on using the changeset viewer.