mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Emoji JS cleanup.
* Filename: emoji.js => wp-emoji.js * Script handle: emoji => wp-emoji * Object: WPEmoji => wp.emoji * Script settings: EmojiSettings => _wpemojiSettings * Setting key: base_url => baseUrl * Remove executable bit from files see #31242. git-svn-id: https://develop.svn.wordpress.org/trunk@31744 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -272,7 +272,7 @@ inlineEditPost = {
|
||||
if ( -1 !== r.indexOf( '<tr' ) ) {
|
||||
$(inlineEditPost.what+id).siblings('tr.hidden').addBack().remove();
|
||||
$('#edit-'+id).before(r).remove();
|
||||
window.WPEmoji.parse( $( inlineEditPost.what + id ).get( 0 ) );
|
||||
wp.emoji.parse( $( inlineEditPost.what + id ).get( 0 ) );
|
||||
$(inlineEditPost.what+id).hide().fadeIn();
|
||||
} else {
|
||||
r = r.replace( /<.[^<>]*?>/g, '' );
|
||||
|
||||
@@ -117,7 +117,7 @@ inlineEditTax = {
|
||||
// Update the value in the Parent dropdown.
|
||||
$( '#parent' ).find( 'option[value=' + option_value + ']' ).text( row.find( '.row-title' ).text() );
|
||||
|
||||
window.WPEmoji.parse( row.get( 0 ) );
|
||||
wp.emoji.parse( row.get( 0 ) );
|
||||
|
||||
row.hide().fadeIn();
|
||||
} else {
|
||||
|
||||
@@ -741,7 +741,7 @@ jQuery(document).ready( function($) {
|
||||
});
|
||||
}
|
||||
|
||||
window.WPEmoji.parse( box.get( 0 ) );
|
||||
wp.emoji.parse( box.get( 0 ) );
|
||||
|
||||
b.html(revert_b);
|
||||
real_slug.val(new_slug);
|
||||
|
||||
@@ -49,7 +49,7 @@ jQuery(document).ready(function($) {
|
||||
else
|
||||
$( '.tags' ).prepend( res.responses[0].supplemental.parents ); // As the parent is not visible, Insert the version with Parent - Child - ThisTerm
|
||||
|
||||
window.WPEmoji.parse( $( '.tags' ).get( 0 ) );
|
||||
wp.emoji.parse( $( '.tags' ).get( 0 ) );
|
||||
|
||||
$('.tags .no-items').remove();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user