Server IP : 85.214.239.14 / Your IP : 18.117.94.180 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/self/root/var/www/wordpress/wp-content/plugins/really-simple-ssl/settings/config/ |
Upload File : |
<?php defined( 'ABSPATH' ) or die(); foreach ( glob( rsssl_path . 'settings/config/fields/*.php' ) as $file ) { include $file; } function rsssl_fields( $load_values = true ) { if ( ! rsssl_user_can_manage() ) { return []; } $fields = apply_filters( 'rsssl_fields', [] ); if ( is_multisite() && rsssl_is_networkwide_active() ) { $stored_options = get_site_option( 'rsssl_options', [] ); } else { $stored_options = get_option( 'rsssl_options', [] ); } foreach ( $fields as $key => $field ) { $field = wp_parse_args( $field, [ 'default' => '', 'id' => false, 'visible' => true, 'disabled' => false, 'recommended' => false ] ); //handle server side conditions //but not if outside our settings pages if ( rsssl_is_logged_in_rest() && isset( $field['server_conditions'] ) ) { if ( ! rsssl_conditions_apply( $field['server_conditions'] ) ) { unset( $fields[ $key ] ); continue; } } if ( $load_values ) { $value = rsssl_sanitize_field( rsssl_get_option( $field['id'], $field['default'] ), $field['type'], $field['id'] ); $field['never_saved'] = !array_key_exists( $field['id'], $stored_options ); $field['value'] = apply_filters( 'rsssl_field_value_' . $field['id'], $value, $field ); $fields[ $key ] = apply_filters( 'rsssl_field', $field, $field['id'] ); } } $fields = apply_filters( 'rsssl_fields_values', $fields ); foreach ( $fields as $key => $field ) { if (isset($field['help']['url'])) { $fields[ $key ]['help']['url'] = rsssl_link( $field['help']['url'], 'instructions', $field['id'] ); } } return array_values( $fields ); }