Edit File by line
/home/barbar84/public_h.../wp-admin/js
File: xfn.js
/**
[0] Fix | Delete
* Generates the XHTML Friends Network 'rel' string from the inputs.
[1] Fix | Delete
*
[2] Fix | Delete
* @deprecated 3.5.0
[3] Fix | Delete
* @output wp-admin/js/xfn.js
[4] Fix | Delete
*/
[5] Fix | Delete
jQuery( document ).ready(function( $ ) {
[6] Fix | Delete
$( '#link_rel' ).prop( 'readonly', true );
[7] Fix | Delete
$( '#linkxfndiv input' ).on( 'click keyup', function() {
[8] Fix | Delete
var isMe = $( '#me' ).is( ':checked' ), inputs = '';
[9] Fix | Delete
$( 'input.valinp' ).each( function() {
[10] Fix | Delete
if ( isMe ) {
[11] Fix | Delete
$( this ).prop( 'disabled', true ).parent().addClass( 'disabled' );
[12] Fix | Delete
} else {
[13] Fix | Delete
$( this ).removeAttr( 'disabled' ).parent().removeClass( 'disabled' );
[14] Fix | Delete
if ( $( this ).is( ':checked' ) && $( this ).val() !== '') {
[15] Fix | Delete
inputs += $( this ).val() + ' ';
[16] Fix | Delete
}
[17] Fix | Delete
}
[18] Fix | Delete
});
[19] Fix | Delete
$( '#link_rel' ).val( ( isMe ) ? 'me' : inputs.substr( 0,inputs.length - 1 ) );
[20] Fix | Delete
});
[21] Fix | Delete
});
[22] Fix | Delete
[23] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function