Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/popup-ma.../includes
File: class-pum-fields.php
* $value = $this->get_option( $args['id'] );
[1000] Fix | Delete
*
[1001] Fix | Delete
* if ( ! $value ) {
[1002] Fix | Delete
* $value = isset( $args['std'] ) ? $args['std'] : '';
[1003] Fix | Delete
* }
[1004] Fix | Delete
*
[1005] Fix | Delete
* $default = isset( $args['std'] ) ? $args['std'] : '';
[1006] Fix | Delete
*
[1007] Fix | Delete
* $html = '<input type="text" class="di-color-picker" id="<?php echo esc_attr( $args['id'] ); ?>" name="<?php echo esc_attr( $args['name'] ); ?>" value="' . echo esc_attr( $value ) . '" data-default-color="' . echo esc_attr( $default ) . '" />';
[1008] Fix | Delete
* $html .= '<label for="<?php echo esc_attr( $args['id'] ); ?>"> ' . $args['desc'] . '</label>';
[1009] Fix | Delete
*
[1010] Fix | Delete
* echo $html;
[1011] Fix | Delete
* }
[1012] Fix | Delete
*
[1013] Fix | Delete
* /**
[1014] Fix | Delete
* Descriptive text callback.
[1015] Fix | Delete
*
[1016] Fix | Delete
* Renders descriptive text onto the settings field.
[1017] Fix | Delete
*
[1018] Fix | Delete
* @param array $args Arguments passed by the setting
[1019] Fix | Delete
*
[1020] Fix | Delete
* @return void
[1021] Fix | Delete
*
[1022] Fix | Delete
* public function descriptive_text_callback( $args ) {
[1023] Fix | Delete
* echo esc_html( $args['desc'] );
[1024] Fix | Delete
* }
[1025] Fix | Delete
*
[1026] Fix | Delete
* /**
[1027] Fix | Delete
* Registers the license field callback for Software Licensing
[1028] Fix | Delete
*
[1029] Fix | Delete
* @param array $args Arguments passed by the setting
[1030] Fix | Delete
*
[1031] Fix | Delete
* @return void
[1032] Fix | Delete
*
[1033] Fix | Delete
* public function license_key_callback( $args ) {
[1034] Fix | Delete
* $value = $this->get_option( $args['id'] );
[1035] Fix | Delete
*
[1036] Fix | Delete
* if ( ! $value ) {
[1037] Fix | Delete
* $value = isset( $args['std'] ) ? $args['std'] : '';
[1038] Fix | Delete
* }
[1039] Fix | Delete
*
[1040] Fix | Delete
* $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? $args['size'] : 'regular';
[1041] Fix | Delete
*
[1042] Fix | Delete
* $html = '<input type="' . ( $value == '' ? 'text' : 'password' ) . '" class="' . $size . '-text" id="<?php echo esc_attr( $args['id'] ); ?>" name="<?php echo esc_attr( $args['name'] ); ?>" value="' . echo esc_attr( $value ) . '"/>';
[1043] Fix | Delete
*
[1044] Fix | Delete
* if ( 'valid' == get_option( $args['options']['is_valid_license_option'] ) ) {
[1045] Fix | Delete
* $html .= '<input type="submit" class="button-secondary" name="' . $args['id'] . '_deactivate" value="' . __( 'Deactivate License' ) . '"/>';
[1046] Fix | Delete
* }
[1047] Fix | Delete
* $html .= '<label for="<?php echo esc_attr( $args['id'] ); ?>"> ' . $args['desc'] . '</label>';
[1048] Fix | Delete
*
[1049] Fix | Delete
* echo $html;
[1050] Fix | Delete
* }
[1051] Fix | Delete
*
[1052] Fix | Delete
* */
[1053] Fix | Delete
[1054] Fix | Delete
}
[1055] Fix | Delete
[1056] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function