Changeset 3436479
- Timestamp:
- 01/10/2026 09:20:47 AM (8 weeks ago)
- Location:
- chessgame-shizzle
- Files:
-
- 7 edited
-
tags/1.3.4/readme.txt (modified) (1 diff)
-
trunk/admin/cs-page-settings.php (modified) (7 diffs)
-
trunk/admin/tabs/cs-antispam.php (modified) (1 diff)
-
trunk/chessgame-shizzle.php (modified) (1 diff)
-
trunk/functions/cs-dropdown-openingcodes.php (modified) (3 diffs)
-
trunk/functions/cs-settings.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
chessgame-shizzle/tags/1.3.4/readme.txt
r3329510 r3436479 3 3 Tags: chess, chessgame, chessgames, pgn, pgn4web 4 4 Requires at least: 4.1 5 Tested up to: 6. 85 Tested up to: 6.9 6 6 Stable tag: 1.3.4 7 7 Requires PHP: 7.0 -
chessgame-shizzle/trunk/admin/cs-page-settings.php
r3329510 r3436479 119 119 foreach ( $boardthemes as $theme ) { 120 120 if ( $theme === $boardtheme ) { 121 update_option( 'chessgame_shizzle-boardtheme', $theme );121 update_option( 'chessgame_shizzle-boardtheme', $theme, true ); 122 122 } 123 123 } … … 128 128 $piecetheme = sanitize_text_field( $_POST['cs_piecetheme'] ); 129 129 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 ); 131 131 } 132 132 } … … 146 146 147 147 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 ); 151 151 } 152 152 153 153 if ( get_option('chessgame_shizzle-honeypot_value', false) === false ) { 154 154 $random = rand( 1, 99 ); 155 update_option( 'chessgame_shizzle-honeypot_value', $random );155 update_option( 'chessgame_shizzle-honeypot_value', $random, true ); 156 156 } 157 157 158 158 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 ); 162 162 } 163 163 164 164 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 ); 168 168 } 169 169 break; … … 199 199 200 200 $user_ids = implode( ',', $user_ids ); 201 update_option( 'chessgame_shizzle-notifybymail', $user_ids);201 update_option( 'chessgame_shizzle-notifybymail', $user_ids, true ); 202 202 } 203 203 … … 221 221 222 222 $user_ids = implode( ',', $user_ids ); 223 update_option( 'chessgame_shizzle-notifybymail', $user_ids);223 update_option( 'chessgame_shizzle-notifybymail', $user_ids, true ); 224 224 } 225 225 … … 228 228 if ( filter_var( $admin_mail_from, FILTER_VALIDATE_EMAIL ) ) { 229 229 // Valid Email address. 230 update_option( 'chessgame_shizzle-mail-from', $admin_mail_from);230 update_option( 'chessgame_shizzle-mail-from', $admin_mail_from, true ); 231 231 } 232 232 } else { … … 248 248 249 249 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 ); 253 253 } 254 254 255 255 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 ); 259 259 } 260 260 261 261 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 ); 265 265 } 266 266 -
chessgame-shizzle/trunk/admin/tabs/cs-antispam.php
r3074897 r3436479 50 50 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>' ); 51 51 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'); 53 53 ?> 54 54 </span> -
chessgame-shizzle/trunk/chessgame-shizzle.php
r3329510 r3436479 2 2 /* 3 3 Plugin Name: Chessgame Shizzle 4 Plugin URI: https:// wordpress.org/plugins/chessgame-shizzle/4 Plugin URI: https://timelord.nl 5 5 Description: 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. 6 6 Version: 1.3.4 -
chessgame-shizzle/trunk/functions/cs-dropdown-openingcodes.php
r3194845 r3436479 180 180 'A38' => esc_html__( 'A38 English (1.c4 c5 2.Nc3 Nc6 3.g3 g6 4.Bg2 Bg7 5.Nf3 Nf6), Symmetrical', 'chessgame-shizzle' ), 181 181 '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' ), 183 183 'A41' => esc_html__( "A41 Queen's Pawn Game, Wade Defence", 'chessgame-shizzle' ), 184 184 'A42' => esc_html__( 'A42 Modern Defence, Averbakh System also Wade Defence', 'chessgame-shizzle' ), … … 188 188 'A46' => esc_html__( "A46 Queen's Pawn Game (d4 Nf6 without 2.c4), Torre Attack", 'chessgame-shizzle' ), 189 189 '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' ), 191 191 'A49' => esc_html__( "A49 King's Indian, Fianchetto without c4", 'chessgame-shizzle' ), 192 192 'A50' => esc_html__( "A50 Queen's Pawn Game, 1.d4 d5 2.c4", 'chessgame-shizzle' ), … … 302 302 'B48' => esc_html__( 'B48 Sicilian Taimanov Variation', 'chessgame-shizzle' ), 303 303 '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' ), 305 305 'B51' => esc_html__( 'B51 Sicilian, Canal–Sokolsky Attack', 'chessgame-shizzle' ), 306 306 'B52' => esc_html__( 'B52 Sicilian, Canal–Sokolsky Attack, 3...Bd7', 'chessgame-shizzle' ), -
chessgame-shizzle/trunk/functions/cs-settings.php
r3329510 r3436479 65 65 66 66 if ( get_option('chessgame_shizzle-boardtheme', false) === false ) { 67 update_option( 'chessgame_shizzle-boardtheme', 'shredderchess' );67 update_option( 'chessgame_shizzle-boardtheme', 'shredderchess', true ); 68 68 } 69 69 if ( get_option('chessgame_shizzle-piecetheme', false) === false ) { 70 update_option( 'chessgame_shizzle-piecetheme', 'alpha' );70 update_option( 'chessgame_shizzle-piecetheme', 'alpha', true ); 71 71 } 72 72 if ( get_option('chessgame_shizzle-blogpage', false) === false ) { 73 update_option( 'chessgame_shizzle-blogpage', 'false' );73 update_option( 'chessgame_shizzle-blogpage', 'false', true ); 74 74 } 75 75 if ( get_option('chessgame_shizzle-honeypot', false) === false ) { 76 update_option( 'chessgame_shizzle-honeypot', 'true' );76 update_option( 'chessgame_shizzle-honeypot', 'true', true ); 77 77 } 78 78 if ( get_option('chessgame_shizzle-honeypot_value', false) === false ) { 79 79 $random = rand( 1, 99 ); 80 update_option( 'chessgame_shizzle-honeypot_value', $random );80 update_option( 'chessgame_shizzle-honeypot_value', $random, true ); 81 81 } 82 82 if ( get_option('chessgame_shizzle-nonce', false) === false ) { 83 update_option( 'chessgame_shizzle-nonce', 'false' );83 update_option( 'chessgame_shizzle-nonce', 'false', true ); 84 84 } 85 85 if ( get_option('chessgame_shizzle-rss', false) === false ) { 86 update_option( 'chessgame_shizzle-rss', 'true' );86 update_option( 'chessgame_shizzle-rss', 'true', true ); 87 87 } 88 88 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 ); 90 90 } 91 91 if ( get_option('chessgame_shizzle-timeout', false) === false ) { 92 update_option( 'chessgame_shizzle-timeout', 'true' );92 update_option( 'chessgame_shizzle-timeout', 'true', true ); 93 93 } 94 94 95 update_option( 'chessgame_shizzle-version', C_SHIZZLE_VER);95 update_option( 'chessgame_shizzle-version', C_SHIZZLE_VER, true ); 96 96 97 97 } -
chessgame-shizzle/trunk/readme.txt
r3329510 r3436479 3 3 Tags: chess, chessgame, chessgames, pgn, pgn4web 4 4 Requires at least: 4.1 5 Tested up to: 6. 85 Tested up to: 6.9 6 6 Stable tag: 1.3.4 7 7 Requires PHP: 7.0 … … 119 119 == Changelog == 120 120 121 = 1.3.5 = 122 * 2025- 123 * Set autoload explicitly for options. 124 * (Sorry, no semver yet). 125 121 126 = 1.3.4 = 122 127 * 2025-07-17 … … 136 141 * Keep jQuery-UI for datepicker in upload form. 137 142 * Fix warning for dynamic property MFEN::$image. 138 * (Sorry, no semver yet).139 143 140 144 = 1.3.2 =
Note: See TracChangeset
for help on using the changeset viewer.