- Timestamp:
- 08/16/2022 02:08:44 AM (4 years ago)
- Location:
- anrghg
- Files:
-
- 1 deleted
- 14 edited
- 1 copied
-
tags/1.5.5 (deleted)
-
tags/1.5.6 (copied) (copied from anrghg/trunk)
-
tags/1.5.6/admin/metabox.php (modified) (3 diffs)
-
tags/1.5.6/anrghg.php (modified) (2 diffs)
-
tags/1.5.6/build.sh (modified) (2 diffs)
-
tags/1.5.6/includes/complements.php (modified) (4 diffs)
-
tags/1.5.6/package.json (modified) (1 diff)
-
tags/1.5.6/readme.txt (modified) (2 diffs)
-
tags/1.5.6/svn-revs.txt (modified) (1 diff)
-
trunk/admin/metabox.php (modified) (3 diffs)
-
trunk/anrghg.php (modified) (2 diffs)
-
trunk/build.sh (modified) (2 diffs)
-
trunk/includes/complements.php (modified) (4 diffs)
-
trunk/package.json (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/svn-revs.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
anrghg/tags/1.5.6/admin/metabox.php
r2770798 r2770817 1238 1238 1239 1239 /** 1240 * Saves the form fields of this meta box.1240 * Saves the form fields. 1241 1241 * 1242 1242 * @since 1.4.3 Remove `sanitize_option()`. … … 1245 1245 * $l_s_val = sanitize_option( wp_unslash( $_POST[ $l_s_key ] ) ); 1246 1246 * 1247 * Neither `sanitize_option()` nor `wp_unslash()` (nor both) are usable. 1247 1248 * PHPCS “Detected usage of a non-sanitized input variable: $_POST[$l_s_key]” 1248 1249 * is not actionable and needs to be whitelisted as-is. … … 1262 1263 if ( array_key_exists( $l_s_key, $_POST ) ) { 1263 1264 // phpcs:ignore WordPress.Security.ValidatedSanitizedInput 1264 $l_s_val = wp_unslash( $_POST[ $l_s_key ] );1265 $l_s_val = ( $_POST[ $l_s_key ] ); 1265 1266 update_post_meta( 1266 1267 $p_i_post_id, -
anrghg/tags/1.5.6/anrghg.php
r2770798 r2770817 14 14 * Tested PHP up to: 8.0 15 15 * CAUTION: The following field is parsed in the `stable tag` folder for upgrade configuration: 16 * Version: 1.5. 516 * Version: 1.5.6 17 17 * Author: ANRGHG 18 18 * Author URI: https://anrghg.sunsite.fr … … 94 94 * @var string C_S_ANRGHG_VER Plugin version constant. 95 95 */ 96 define( 'C_S_ANRGHG_VER', '1.5. 5' );96 define( 'C_S_ANRGHG_VER', '1.5.6' ); 97 97 98 98 /** -
anrghg/tags/1.5.6/build.sh
r2770196 r2770817 7 7 # 2022-01-27T0327+0100 Add support for References block. 8 8 # 2022-06-04T2058+0200 Move build configuration to plugin folder. 9 # Last modified: 2022-08-1 2T2320+02009 # Last modified: 2022-08-16T0403+0200 10 10 # 11 11 # The final block scripts are built by Node Package Manager based on … … 198 198 cp anrghg-es_ES.mo anrghg-es_CL.mo 199 199 cp anrghg-es_ES.mo anrghg-es_CO.mo 200 cp anrghg-es_ES.mo anrghg-es_CR.mo 201 cp anrghg-es_ES.mo anrghg-es_DO.mo 202 cp anrghg-es_ES.mo anrghg-es_EC.mo 200 203 cp anrghg-es_ES.mo anrghg-es_GT.mo 201 204 cp anrghg-es_ES.mo anrghg-es_MX.mo 202 205 cp anrghg-es_ES.mo anrghg-es_PE.mo 203 206 cp anrghg-es_ES.mo anrghg-es_PR.mo 207 cp anrghg-es_ES.mo anrghg-es_UY.mo 204 208 cp anrghg-es_ES.mo anrghg-es_VE.mo 205 209 cp anrghg-fr_FR.mo anrghg-fr_BE.mo -
anrghg/tags/1.5.6/includes/complements.php
r2770325 r2770817 1083 1083 1084 1084 /** 1085 * Assesses collapsing behavior. 1086 * 1087 * @since 1.5.6 1088 */ 1089 $l_b_collapsible = ${"l_b_collapsible_$l_s_type"}; 1090 $l_b_collapsed = ${"l_b_collapsed_$l_s_type"}; 1091 $l_s_block_collapsing = $l_a_sections[ "collapse_$l_s_type" ][ $l_i_section_index ]; 1092 if ( ! empty( $l_s_block_collapsing ) ) { 1093 switch ( $l_s_block_collapsing ) { 1094 case 'collapsed': 1095 $l_i_note_list_collapse = 1; 1096 break; 1097 case 'expanded': 1098 $l_i_note_list_collapse = -1; 1099 break; 1100 case 'uncollapsible': 1101 $l_i_note_list_collapse = 0; 1102 break; 1103 } 1104 $l_b_collapsible = (bool) $l_i_note_list_collapse; 1105 $l_b_collapsed = 1 === $l_i_note_list_collapse; 1106 } 1107 1108 /** 1085 1109 * Inserts optional expansion script. 1086 1110 * … … 1115 1139 $l_s_list .= ' aria-label="' . ${"l_s_list_label_aria_$l_s_type"} . '"'; 1116 1140 } 1117 if ( $ {"l_b_collapsible_$l_s_type"}) {1141 if ( $l_b_collapsible ) { 1118 1142 $l_s_list .= ' id="anrghg_toggle_' . $l_s_list_id . '"'; 1119 if ( ! $ {"l_b_collapsed_$l_s_type"}) {1143 if ( ! $l_b_collapsed ) { 1120 1144 $l_s_list .= ' checked="checked"'; 1121 1145 } … … 1174 1198 } 1175 1199 } 1176 if ( $ {"l_b_collapsible_$l_s_type"}) {1200 if ( $l_b_collapsible ) { 1177 1201 $l_s_list .= '"><label for="anrghg_toggle_' . $l_s_list_id . '"><a tabindex="-1'; 1178 1202 } 1179 1203 $l_s_list .= '"><' . $l_s_label_element; 1180 1204 $l_s_list .= " class=\"anrghg-list-heading anrghg_$l_s_type" . 's'; 1181 if ( $ {"l_b_collapsible_$l_s_type"}) {1205 if ( $l_b_collapsible ) { 1182 1206 $l_s_list .= ' anrghg-pointer">'; 1183 1207 } else { … … 1212 1236 1213 1237 $l_s_list .= "</$l_s_label_element>"; 1214 if ( $ {"l_b_collapsible_$l_s_type"}) {1238 if ( $l_b_collapsible ) { 1215 1239 $l_s_list .= '</a></label>'; 1216 1240 } -
anrghg/tags/1.5.6/package.json
r2770798 r2770817 1 1 { 2 2 "name": "anrghg", 3 "version": " 1.5. 5",3 "version": " 1.5.6", 4 4 "description": "A.N.R.GHG Publishing Helper", 5 5 "main": "index.js", -
anrghg/tags/1.5.6/readme.txt
r2770798 r2770817 8 8 Requires PHP: 5.6 9 9 Tested PHP up to: 8.0 10 Package Version: 1.5. 5.011 Version: 1.5. 510 Package Version: 1.5.6.0 11 Version: 1.5.6 12 12 CAUTION: The following field is parsed in `trunk/` for release configuration: 13 Stable Tag: 1.5. 513 Stable Tag: 1.5.6 14 14 License: GPLv2 or later 15 15 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 535 535 == Changelog == 536 536 537 = 1.5.6 (2022-08-16) = 538 539 * Post Meta box: Debug data saving by removing `wp_unslash()`, additionally to removing `sanitize_option()`. 540 * Notes and sources: Block: Add missing collapsing behavior implementation. 541 537 542 = 1.5.5 (2022-08-15) = 538 543 -
anrghg/tags/1.5.6/svn-revs.txt
r2770798 r2770817 11 11 Past revisions: 12 12 13 1.5.5.0 2770398 2022-08-15 23:51:31 +0000 (Mon, 15 Aug 2022) 13 14 1.5.5d1.0 2770364 2022-08-14 20:30:03 +0000 (Sun, 14 Aug 2022) 14 15 1.5.5d0.0 trk 2770361 2022-08-14 20:06:22 +0000 (Sun, 14 Aug 2022) -
anrghg/trunk/admin/metabox.php
r2770798 r2770817 1238 1238 1239 1239 /** 1240 * Saves the form fields of this meta box.1240 * Saves the form fields. 1241 1241 * 1242 1242 * @since 1.4.3 Remove `sanitize_option()`. … … 1245 1245 * $l_s_val = sanitize_option( wp_unslash( $_POST[ $l_s_key ] ) ); 1246 1246 * 1247 * Neither `sanitize_option()` nor `wp_unslash()` (nor both) are usable. 1247 1248 * PHPCS “Detected usage of a non-sanitized input variable: $_POST[$l_s_key]” 1248 1249 * is not actionable and needs to be whitelisted as-is. … … 1262 1263 if ( array_key_exists( $l_s_key, $_POST ) ) { 1263 1264 // phpcs:ignore WordPress.Security.ValidatedSanitizedInput 1264 $l_s_val = wp_unslash( $_POST[ $l_s_key ] );1265 $l_s_val = ( $_POST[ $l_s_key ] ); 1265 1266 update_post_meta( 1266 1267 $p_i_post_id, -
anrghg/trunk/anrghg.php
r2770798 r2770817 14 14 * Tested PHP up to: 8.0 15 15 * CAUTION: The following field is parsed in the `stable tag` folder for upgrade configuration: 16 * Version: 1.5. 516 * Version: 1.5.6 17 17 * Author: ANRGHG 18 18 * Author URI: https://anrghg.sunsite.fr … … 94 94 * @var string C_S_ANRGHG_VER Plugin version constant. 95 95 */ 96 define( 'C_S_ANRGHG_VER', '1.5. 5' );96 define( 'C_S_ANRGHG_VER', '1.5.6' ); 97 97 98 98 /** -
anrghg/trunk/build.sh
r2770196 r2770817 7 7 # 2022-01-27T0327+0100 Add support for References block. 8 8 # 2022-06-04T2058+0200 Move build configuration to plugin folder. 9 # Last modified: 2022-08-1 2T2320+02009 # Last modified: 2022-08-16T0403+0200 10 10 # 11 11 # The final block scripts are built by Node Package Manager based on … … 198 198 cp anrghg-es_ES.mo anrghg-es_CL.mo 199 199 cp anrghg-es_ES.mo anrghg-es_CO.mo 200 cp anrghg-es_ES.mo anrghg-es_CR.mo 201 cp anrghg-es_ES.mo anrghg-es_DO.mo 202 cp anrghg-es_ES.mo anrghg-es_EC.mo 200 203 cp anrghg-es_ES.mo anrghg-es_GT.mo 201 204 cp anrghg-es_ES.mo anrghg-es_MX.mo 202 205 cp anrghg-es_ES.mo anrghg-es_PE.mo 203 206 cp anrghg-es_ES.mo anrghg-es_PR.mo 207 cp anrghg-es_ES.mo anrghg-es_UY.mo 204 208 cp anrghg-es_ES.mo anrghg-es_VE.mo 205 209 cp anrghg-fr_FR.mo anrghg-fr_BE.mo -
anrghg/trunk/includes/complements.php
r2770325 r2770817 1083 1083 1084 1084 /** 1085 * Assesses collapsing behavior. 1086 * 1087 * @since 1.5.6 1088 */ 1089 $l_b_collapsible = ${"l_b_collapsible_$l_s_type"}; 1090 $l_b_collapsed = ${"l_b_collapsed_$l_s_type"}; 1091 $l_s_block_collapsing = $l_a_sections[ "collapse_$l_s_type" ][ $l_i_section_index ]; 1092 if ( ! empty( $l_s_block_collapsing ) ) { 1093 switch ( $l_s_block_collapsing ) { 1094 case 'collapsed': 1095 $l_i_note_list_collapse = 1; 1096 break; 1097 case 'expanded': 1098 $l_i_note_list_collapse = -1; 1099 break; 1100 case 'uncollapsible': 1101 $l_i_note_list_collapse = 0; 1102 break; 1103 } 1104 $l_b_collapsible = (bool) $l_i_note_list_collapse; 1105 $l_b_collapsed = 1 === $l_i_note_list_collapse; 1106 } 1107 1108 /** 1085 1109 * Inserts optional expansion script. 1086 1110 * … … 1115 1139 $l_s_list .= ' aria-label="' . ${"l_s_list_label_aria_$l_s_type"} . '"'; 1116 1140 } 1117 if ( $ {"l_b_collapsible_$l_s_type"}) {1141 if ( $l_b_collapsible ) { 1118 1142 $l_s_list .= ' id="anrghg_toggle_' . $l_s_list_id . '"'; 1119 if ( ! $ {"l_b_collapsed_$l_s_type"}) {1143 if ( ! $l_b_collapsed ) { 1120 1144 $l_s_list .= ' checked="checked"'; 1121 1145 } … … 1174 1198 } 1175 1199 } 1176 if ( $ {"l_b_collapsible_$l_s_type"}) {1200 if ( $l_b_collapsible ) { 1177 1201 $l_s_list .= '"><label for="anrghg_toggle_' . $l_s_list_id . '"><a tabindex="-1'; 1178 1202 } 1179 1203 $l_s_list .= '"><' . $l_s_label_element; 1180 1204 $l_s_list .= " class=\"anrghg-list-heading anrghg_$l_s_type" . 's'; 1181 if ( $ {"l_b_collapsible_$l_s_type"}) {1205 if ( $l_b_collapsible ) { 1182 1206 $l_s_list .= ' anrghg-pointer">'; 1183 1207 } else { … … 1212 1236 1213 1237 $l_s_list .= "</$l_s_label_element>"; 1214 if ( $ {"l_b_collapsible_$l_s_type"}) {1238 if ( $l_b_collapsible ) { 1215 1239 $l_s_list .= '</a></label>'; 1216 1240 } -
anrghg/trunk/package.json
r2770798 r2770817 1 1 { 2 2 "name": "anrghg", 3 "version": " 1.5. 5",3 "version": " 1.5.6", 4 4 "description": "A.N.R.GHG Publishing Helper", 5 5 "main": "index.js", -
anrghg/trunk/readme.txt
r2770798 r2770817 8 8 Requires PHP: 5.6 9 9 Tested PHP up to: 8.0 10 Package Version: 1.5. 5.011 Version: 1.5. 510 Package Version: 1.5.6.0 11 Version: 1.5.6 12 12 CAUTION: The following field is parsed in `trunk/` for release configuration: 13 Stable Tag: 1.5. 513 Stable Tag: 1.5.6 14 14 License: GPLv2 or later 15 15 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 535 535 == Changelog == 536 536 537 = 1.5.6 (2022-08-16) = 538 539 * Post Meta box: Debug data saving by removing `wp_unslash()`, additionally to removing `sanitize_option()`. 540 * Notes and sources: Block: Add missing collapsing behavior implementation. 541 537 542 = 1.5.5 (2022-08-15) = 538 543 -
anrghg/trunk/svn-revs.txt
r2770798 r2770817 11 11 Past revisions: 12 12 13 1.5.5.0 2770398 2022-08-15 23:51:31 +0000 (Mon, 15 Aug 2022) 13 14 1.5.5d1.0 2770364 2022-08-14 20:30:03 +0000 (Sun, 14 Aug 2022) 14 15 1.5.5d0.0 trk 2770361 2022-08-14 20:06:22 +0000 (Sun, 14 Aug 2022)
Note: See TracChangeset
for help on using the changeset viewer.