403Webshell
Server IP : 145.239.37.162  /  Your IP : 216.73.217.81
Web Server : Apache
System : Linux webm003.cluster130.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 : verseaa ( 38250)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaa/www1/wp-content/plugins/transpix-common/meta-box/inc/fields/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaa/www1/wp-content/plugins/transpix-common/meta-box/inc/fields/text.php
<?php
/**
 * The text field.
 *
 * @package Meta Box
 */

/**
 * Text field class.
 */
class RWMB_Text_Field extends RWMB_Input_Field {
	/**
	 * Normalize parameters for field.
	 *
	 * @param array $field Field parameters.
	 * @return array
	 */
	public static function normalize( $field ) {
		$field = parent::normalize( $field );

		$field = wp_parse_args(
			$field,
			array(
				'size'      => 30,
				'maxlength' => false,
				'pattern'   => false,
			)
		);

		return $field;
	}

	/**
	 * Get the attributes for a field.
	 *
	 * @param array $field Field parameters.
	 * @param mixed $value Meta value.
	 *
	 * @return array
	 */
	public static function get_attributes( $field, $value = null ) {
		$attributes = parent::get_attributes( $field, $value );
		$attributes = wp_parse_args(
			$attributes,
			array(
				'size'        => $field['size'],
				'maxlength'   => $field['maxlength'],
				'pattern'     => $field['pattern'],
				'placeholder' => $field['placeholder'],
			)
		);

		return $attributes;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit