Plugin Directory

Changeset 2488939


Ignore:
Timestamp:
03/07/2021 03:09:13 PM (5 years ago)
Author:
sdffamt
Message:

tagging version 1.3.99

Location:
wp-proxy
Files:
3 edited
17 copied

Legend:

Unmodified
Added
Removed
  • wp-proxy/tags/1.3.99/class-wp-proxy.php

    r2439215 r2488939  
    3333    public function __construct() {
    3434        $this->load_plugin_textdomain();
    35         $options = get_option( 'wp_proxy_options' );
     35        $options = get_option( 'wp_proxy_options', false );
    3636        if ( $options ) {
    3737            $this->options = wp_parse_args( $options, $this->defualt_options() );
     
    5151        } else {
    5252            add_option( 'wp_proxy_options', $this->defualt_options() );
     53            $this->options = $this->defualt_options();
    5354        }
    5455        if ( is_admin() ) {
     
    130131                    if ( 0 === $port || 65535 < $port ) {
    131132                        add_settings_error( 'wp_proxy', 500, esc_html__( 'Wrong port', 'wp-proxy' ), 'error' );
    132                         $wp_proxy_options['proxy_port'] = $this->options['proxy_port'];
    133133                    } else {
    134134                        $wp_proxy_options['proxy_port'] = intval( wp_unslash( $_POST['proxy_port'] ) );
     
    429429     */
    430430    public function wp_proxy_option() {
    431         $wp_proxy_options = get_option( 'wp_proxy_options', $this->defualt_options() );
    432         $this->options    = $wp_proxy_options; ?>
     431        $this->options = wp_parse_args( get_option( 'wp_proxy_options', [] ), $this->defualt_options() ); ?>
    433432        <div class="wrap">
    434433            <h1><?php esc_html_e( 'WP Proxy', 'wp-proxy' ); ?></h1>
  • wp-proxy/tags/1.3.99/readme.txt

    r2439215 r2488939  
    44Tags: proxy
    55Requires at least: 5.0.0
    6 Tested up to: 5.6.0
    7 Stable tag: 1.3.9
     6Tested up to: 5.7.0
     7Stable tag: 1.3.99
    88Requires PHP: 5.0.0
    99License: GPLv2 or later
     
    3131
    3232== Changelog ==
     33= 1.3.99 =
     34tested up to wordpress 5.7
     35tested support 'https://proxy_server'
     36fix bugs
    3337
    3438= 1.3.9 =
  • wp-proxy/tags/1.3.99/wp-proxy.php

    r2439215 r2488939  
    44 * Plugin URI: https://xn--vkuk.org/blog/wp-proxy
    55 * Description: manage proxy for WordPress
    6  * Version: 1.3.9
     6 * Version: 1.3.99
    77 * Author: sleepm
    88 * Author URI: https://xn--vkuk.org/blog/
  • wp-proxy/trunk/class-wp-proxy.php

    r2439215 r2488939  
    3333    public function __construct() {
    3434        $this->load_plugin_textdomain();
    35         $options = get_option( 'wp_proxy_options' );
     35        $options = get_option( 'wp_proxy_options', false );
    3636        if ( $options ) {
    3737            $this->options = wp_parse_args( $options, $this->defualt_options() );
     
    5151        } else {
    5252            add_option( 'wp_proxy_options', $this->defualt_options() );
     53            $this->options = $this->defualt_options();
    5354        }
    5455        if ( is_admin() ) {
     
    130131                    if ( 0 === $port || 65535 < $port ) {
    131132                        add_settings_error( 'wp_proxy', 500, esc_html__( 'Wrong port', 'wp-proxy' ), 'error' );
    132                         $wp_proxy_options['proxy_port'] = $this->options['proxy_port'];
    133133                    } else {
    134134                        $wp_proxy_options['proxy_port'] = intval( wp_unslash( $_POST['proxy_port'] ) );
     
    429429     */
    430430    public function wp_proxy_option() {
    431         $wp_proxy_options = get_option( 'wp_proxy_options', $this->defualt_options() );
    432         $this->options    = $wp_proxy_options; ?>
     431        $this->options = wp_parse_args( get_option( 'wp_proxy_options', [] ), $this->defualt_options() ); ?>
    433432        <div class="wrap">
    434433            <h1><?php esc_html_e( 'WP Proxy', 'wp-proxy' ); ?></h1>
  • wp-proxy/trunk/readme.txt

    r2439215 r2488939  
    44Tags: proxy
    55Requires at least: 5.0.0
    6 Tested up to: 5.6.0
    7 Stable tag: 1.3.9
     6Tested up to: 5.7.0
     7Stable tag: 1.3.99
    88Requires PHP: 5.0.0
    99License: GPLv2 or later
     
    3131
    3232== Changelog ==
     33= 1.3.99 =
     34tested up to wordpress 5.7
     35tested support 'https://proxy_server'
     36fix bugs
    3337
    3438= 1.3.9 =
  • wp-proxy/trunk/wp-proxy.php

    r2439215 r2488939  
    44 * Plugin URI: https://xn--vkuk.org/blog/wp-proxy
    55 * Description: manage proxy for WordPress
    6  * Version: 1.3.9
     6 * Version: 1.3.99
    77 * Author: sleepm
    88 * Author URI: https://xn--vkuk.org/blog/
Note: See TracChangeset for help on using the changeset viewer.