HEX
Server: Apache
System: Linux webm020.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: thanexcelr (29537)
PHP: 7.3.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/thanexcelr/www/wp-content/plugins/polylang/js/user.js
jQuery( document ).ready(function( $ ) {
	// biography
	// FIXME there is probably a more efficient way to do this
	var td = $( '#description' ).parent();
	var d = $( '#description' ).clone();
	var span = td.children( '.description' ).clone();
	td.children().remove();

	$( '.biography' ).each(function(){
		lang = $( this ).attr( 'name' ).split( '___' );
		desc = d.clone();
		desc.attr( 'name', 'description_' + lang[0] );
		desc.html( $( this ).val() );
		td.append( '<div>' + lang[1] + '</div' );
		td.append( desc );
	});

	td.append( '<br />' );
	td.append( span );
});