Plugin Directory

Changeset 3436479


Ignore:
Timestamp:
01/10/2026 09:20:47 AM (8 weeks ago)
Author:
mpol
Message:

Tested up to: 6.9

Location:
chessgame-shizzle
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • chessgame-shizzle/tags/1.3.4/readme.txt

    r3329510 r3436479  
    33Tags: chess, chessgame, chessgames, pgn, pgn4web
    44Requires at least: 4.1
    5 Tested up to: 6.8
     5Tested up to: 6.9
    66Stable tag: 1.3.4
    77Requires PHP: 7.0
  • chessgame-shizzle/trunk/admin/cs-page-settings.php

    r3329510 r3436479  
    119119                        foreach ( $boardthemes as $theme ) {
    120120                            if ( $theme === $boardtheme ) {
    121                                 update_option( 'chessgame_shizzle-boardtheme', $theme );
     121                                update_option( 'chessgame_shizzle-boardtheme', $theme, true );
    122122                            }
    123123                        }
     
    128128                        $piecetheme = sanitize_text_field( $_POST['cs_piecetheme'] );
    129129                        if ( isset( $piecethemes["$piecetheme"] ) && isset( $piecethemes["$piecetheme"]['name'] ) ) {
    130                             update_option( 'chessgame_shizzle-piecetheme', $piecethemes["$piecetheme"]['name'] );
     130                            update_option( 'chessgame_shizzle-piecetheme', $piecethemes["$piecetheme"]['name'], true );
    131131                        }
    132132                    }
     
    146146
    147147                    if (isset($_POST['chessgame_shizzle_honeypot']) && $_POST['chessgame_shizzle_honeypot'] === 'on') {
    148                         update_option('chessgame_shizzle-honeypot', 'true');
    149                     } else {
    150                         update_option('chessgame_shizzle-honeypot', 'false');
     148                        update_option( 'chessgame_shizzle-honeypot', 'true', true );
     149                    } else {
     150                        update_option( 'chessgame_shizzle-honeypot', 'false', true );
    151151                    }
    152152
    153153                    if ( get_option('chessgame_shizzle-honeypot_value', false) === false ) {
    154154                        $random = rand( 1, 99 );
    155                         update_option( 'chessgame_shizzle-honeypot_value', $random );
     155                        update_option( 'chessgame_shizzle-honeypot_value', $random, true );
    156156                    }
    157157
    158158                    if (isset($_POST['chessgame_shizzle_nonce']) && $_POST['chessgame_shizzle_nonce'] === 'on') {
    159                         update_option('chessgame_shizzle-nonce', 'true');
    160                     } else {
    161                         update_option('chessgame_shizzle-nonce', 'false');
     159                        update_option( 'chessgame_shizzle-nonce', 'true', true );
     160                    } else {
     161                        update_option( 'chessgame_shizzle-nonce', 'false', true );
    162162                    }
    163163
    164164                    if (isset($_POST['chessgame_shizzle_timeout']) && $_POST['chessgame_shizzle_timeout'] === 'on') {
    165                         update_option('chessgame_shizzle-timeout', 'true');
    166                     } else {
    167                         update_option('chessgame_shizzle-timeout', 'false');
     165                        update_option( 'chessgame_shizzle-timeout', 'true', true );
     166                    } else {
     167                        update_option( 'chessgame_shizzle-timeout', 'false', true );
    168168                    }
    169169                    break;
     
    199199
    200200                        $user_ids = implode( ',', $user_ids );
    201                         update_option('chessgame_shizzle-notifybymail', $user_ids);
     201                        update_option( 'chessgame_shizzle-notifybymail', $user_ids, true );
    202202                    }
    203203
     
    221221
    222222                        $user_ids = implode( ',', $user_ids );
    223                         update_option('chessgame_shizzle-notifybymail', $user_ids);
     223                        update_option( 'chessgame_shizzle-notifybymail', $user_ids, true );
    224224                    }
    225225
     
    228228                        if ( filter_var( $admin_mail_from, FILTER_VALIDATE_EMAIL ) ) {
    229229                            // Valid Email address.
    230                             update_option('chessgame_shizzle-mail-from', $admin_mail_from);
     230                            update_option( 'chessgame_shizzle-mail-from', $admin_mail_from, true );
    231231                        }
    232232                    } else {
     
    248248
    249249                    if (isset($_POST['chessgame_shizzle_simple_list_search']) && $_POST['chessgame_shizzle_simple_list_search'] === 'on') {
    250                         update_option('chessgame_shizzle-simple-list-search', 'true');
    251                     } else {
    252                         update_option('chessgame_shizzle-simple-list-search', 'false');
     250                        update_option( 'chessgame_shizzle-simple-list-search', 'true', true );
     251                    } else {
     252                        update_option( 'chessgame_shizzle-simple-list-search', 'false', true );
    253253                    }
    254254
    255255                    if (isset($_POST['chessgame_shizzle_blogpage']) && $_POST['chessgame_shizzle_blogpage'] === 'on') {
    256                         update_option('chessgame_shizzle-blogpage', 'true');
    257                     } else {
    258                         update_option('chessgame_shizzle-blogpage', 'false');
     256                        update_option( 'chessgame_shizzle-blogpage', 'true', true );
     257                    } else {
     258                        update_option( 'chessgame_shizzle-blogpage', 'false', true );
    259259                    }
    260260
    261261                    if (isset($_POST['chessgame_shizzle_rss']) && $_POST['chessgame_shizzle_rss'] === 'on') {
    262                         update_option('chessgame_shizzle-rss', 'true');
    263                     } else {
    264                         update_option('chessgame_shizzle-rss', 'false');
     262                        update_option( 'chessgame_shizzle-rss', 'true', true );
     263                    } else {
     264                        update_option( 'chessgame_shizzle-rss', 'false', true );
    265265                    }
    266266
  • chessgame-shizzle/trunk/admin/tabs/cs-antispam.php

    r3074897 r3436479  
    5050                    echo sprintf( esc_html__( 'If you want to know more about what a Nonce is and how it works, please read about it on the %sWordPress Codex%s.', 'chessgame-shizzle' ), $link_wp, '</a>' );
    5151                    echo '<br />';
    52                     esc_html_e('If your website uses caching, it is possible that you get false-positives in your spamfolder. If this is the case, you could either disable the Nonce, or disable caching for the guestbook page.', 'chessgame-shizzle');
     52                    esc_html_e('If your website uses caching, it is possible that you get false-positives in your spamfolder. If this is the case, you could either disable the Nonce, or disable caching the page with the upload form.', 'chessgame-shizzle');
    5353                    ?>
    5454                </span>
  • chessgame-shizzle/trunk/chessgame-shizzle.php

    r3329510 r3436479  
    22/*
    33Plugin Name: Chessgame Shizzle
    4 Plugin URI: https://wordpress.org/plugins/chessgame-shizzle/
     4Plugin URI: https://timelord.nl
    55Description: Chessgame Shizzle is a nice way to integrate chessgames into your WordPress website. Ideal for chess clubs, your chess blog, or any chess related website.
    66Version: 1.3.4
  • chessgame-shizzle/trunk/functions/cs-dropdown-openingcodes.php

    r3194845 r3436479  
    180180        'A38' => esc_html__( 'A38 English (1.c4 c5 2.Nc3 Nc6 3.g3 g6 4.Bg2 Bg7 5.Nf3 Nf6), Symmetrical', 'chessgame-shizzle' ),
    181181        'A39' => esc_html__( 'A39 English (1.c4 c5 2.Nc3 Nc6 3.g3 g6 4.Bg2 Bg7 5.Nf3 Nf6 6.O-O (6.d4)), Symmetrical, Main line', 'chessgame-shizzle' ),
    182         'A40' => esc_html__( "A40 Queen's Pawn Game, Mikėnas Defence, Englund Gambit", 'chessgame-shizzle' ),
     182        'A40' => esc_html__( "A40 Queen's Pawn Game, Mikėnas Defence, Englund Gambit, Polish Defense", 'chessgame-shizzle' ),
    183183        'A41' => esc_html__( "A41 Queen's Pawn Game, Wade Defence", 'chessgame-shizzle' ),
    184184        'A42' => esc_html__( 'A42 Modern Defence, Averbakh System also Wade Defence', 'chessgame-shizzle' ),
     
    188188        'A46' => esc_html__( "A46 Queen's Pawn Game (d4 Nf6 without 2.c4), Torre Attack", 'chessgame-shizzle' ),
    189189        'A47' => esc_html__( "A47 Queen's Indian (d4 Nf6 without 2.c4)", 'chessgame-shizzle' ),
    190         'A48' => esc_html__( "A48 King's Indian, East Indian Defence (d4 Nf6 without 2.c4)", 'chessgame-shizzle' ),
     190        'A48' => esc_html__( "A48 London system, King's Indian, East Indian Defence (d4 Nf6 without 2.c4)", 'chessgame-shizzle' ),
    191191        'A49' => esc_html__( "A49 King's Indian, Fianchetto without c4", 'chessgame-shizzle' ),
    192192        'A50' => esc_html__( "A50 Queen's Pawn Game, 1.d4 d5 2.c4", 'chessgame-shizzle' ),
     
    302302        'B48' => esc_html__( 'B48 Sicilian Taimanov Variation', 'chessgame-shizzle' ),
    303303        'B49' => esc_html__( 'B49 Sicilian Taimanov Variation', 'chessgame-shizzle' ),
    304         'B50' => esc_html__( 'B50 Sicilian', 'chessgame-shizzle' ),
     304        'B50' => esc_html__( 'B50 Sicilian, Modern Variations', 'chessgame-shizzle' ),
    305305        'B51' => esc_html__( 'B51 Sicilian, Canal–Sokolsky Attack', 'chessgame-shizzle' ),
    306306        'B52' => esc_html__( 'B52 Sicilian, Canal–Sokolsky Attack, 3...Bd7', 'chessgame-shizzle' ),
  • chessgame-shizzle/trunk/functions/cs-settings.php

    r3329510 r3436479  
    6565
    6666    if ( get_option('chessgame_shizzle-boardtheme', false) === false ) {
    67         update_option( 'chessgame_shizzle-boardtheme', 'shredderchess' );
     67        update_option( 'chessgame_shizzle-boardtheme', 'shredderchess', true );
    6868    }
    6969    if ( get_option('chessgame_shizzle-piecetheme', false) === false ) {
    70         update_option( 'chessgame_shizzle-piecetheme', 'alpha' );
     70        update_option( 'chessgame_shizzle-piecetheme', 'alpha', true );
    7171    }
    7272    if ( get_option('chessgame_shizzle-blogpage', false) === false ) {
    73         update_option( 'chessgame_shizzle-blogpage', 'false' );
     73        update_option( 'chessgame_shizzle-blogpage', 'false', true );
    7474    }
    7575    if ( get_option('chessgame_shizzle-honeypot', false) === false ) {
    76         update_option( 'chessgame_shizzle-honeypot', 'true' );
     76        update_option( 'chessgame_shizzle-honeypot', 'true', true );
    7777    }
    7878    if ( get_option('chessgame_shizzle-honeypot_value', false) === false ) {
    7979        $random = rand( 1, 99 );
    80         update_option( 'chessgame_shizzle-honeypot_value', $random );
     80        update_option( 'chessgame_shizzle-honeypot_value', $random, true );
    8181    }
    8282    if ( get_option('chessgame_shizzle-nonce', false) === false ) {
    83         update_option( 'chessgame_shizzle-nonce', 'false' );
     83        update_option( 'chessgame_shizzle-nonce', 'false', true );
    8484    }
    8585    if ( get_option('chessgame_shizzle-rss', false) === false ) {
    86         update_option( 'chessgame_shizzle-rss', 'true' );
     86        update_option( 'chessgame_shizzle-rss', 'true', true );
    8787    }
    8888    if ( get_option('chessgame_shizzle-simple-list-search', false) === false ) {
    89         update_option( 'chessgame_shizzle-simple-list-search', 'true' );
     89        update_option( 'chessgame_shizzle-simple-list-search', 'true', true );
    9090    }
    9191    if ( get_option('chessgame_shizzle-timeout', false) === false ) {
    92         update_option( 'chessgame_shizzle-timeout', 'true' );
     92        update_option( 'chessgame_shizzle-timeout', 'true', true );
    9393    }
    9494
    95     update_option('chessgame_shizzle-version', C_SHIZZLE_VER);
     95    update_option( 'chessgame_shizzle-version', C_SHIZZLE_VER, true );
    9696
    9797}
  • chessgame-shizzle/trunk/readme.txt

    r3329510 r3436479  
    33Tags: chess, chessgame, chessgames, pgn, pgn4web
    44Requires at least: 4.1
    5 Tested up to: 6.8
     5Tested up to: 6.9
    66Stable tag: 1.3.4
    77Requires PHP: 7.0
     
    119119== Changelog ==
    120120
     121= 1.3.5 =
     122* 2025-
     123* Set autoload explicitly for options.
     124* (Sorry, no semver yet).
     125
    121126= 1.3.4 =
    122127* 2025-07-17
     
    136141* Keep jQuery-UI for datepicker in upload form.
    137142* Fix warning for dynamic property MFEN::$image.
    138 * (Sorry, no semver yet).
    139143
    140144= 1.3.2 =
Note: See TracChangeset for help on using the changeset viewer.