- Timestamp:
- 12/11/2025 02:26:31 AM (2 months ago)
- Location:
- anrghg
- Files:
-
- 20 edited
- 1 copied
-
tags/1.17.4 (copied) (copied from anrghg/trunk)
-
tags/1.17.4/SVN-log.txt (modified) (1 diff)
-
tags/1.17.4/admin/options/convert.php (modified) (2 diffs)
-
tags/1.17.4/admin/options/export.php (modified) (2 diffs)
-
tags/1.17.4/admin/options/import.php (modified) (2 diffs)
-
tags/1.17.4/admin/options/settings-sections.php (modified) (2 diffs)
-
tags/1.17.4/admin/options/templates.php (modified) (2 diffs)
-
tags/1.17.4/anrghg.php (modified) (5 diffs)
-
tags/1.17.4/includes/modular.php (modified) (2 diffs)
-
tags/1.17.4/package.json (modified) (1 diff)
-
tags/1.17.4/readme.txt (modified) (2 diffs)
-
trunk/SVN-log.txt (modified) (1 diff)
-
trunk/admin/options/convert.php (modified) (2 diffs)
-
trunk/admin/options/export.php (modified) (2 diffs)
-
trunk/admin/options/import.php (modified) (2 diffs)
-
trunk/admin/options/settings-sections.php (modified) (2 diffs)
-
trunk/admin/options/templates.php (modified) (2 diffs)
-
trunk/anrghg.php (modified) (5 diffs)
-
trunk/includes/modular.php (modified) (2 diffs)
-
trunk/package.json (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
anrghg/tags/1.17.4/SVN-log.txt
r3414896 r3416910 33 33 Past revisions: 34 34 35 1.17.3.0 3414896 2025-12-09 04:40:49 +0000 (Tue, 09 Dec 2025) 35 36 1.17.2.1 3413713 2025-12-07 20:39:30 +0000 (Sun, 07 Dec 2025) 36 37 1.17.2.0 3389246 2025-11-03 23:27:48 +0000 (Mon, 03 Nov 2025) -
anrghg/tags/1.17.4/admin/options/convert.php
r3414896 r3416910 309 309 * 310 310 * @since 0.24.6 311 * @since 1.17.4 Debug and remove sanitization callback. 311 312 * @return void 312 313 */ … … 316 317 $l_s_option_name = 'anrghg_convert'; 317 318 $l_s_option_group = $l_s_option_name; 318 register_setting( $l_s_option_group, $l_s_option_name, array( 'anrghg_kses') );319 register_setting( $l_s_option_group, $l_s_option_name, array() ); 319 320 $l_s_section = 'anrghg_conversion'; 320 321 add_settings_section( -
anrghg/tags/1.17.4/admin/options/export.php
r3414896 r3416910 44 44 * 45 45 * @since 0.61.5 46 * @since 1.17.4 Debug and remove sanitization callback. 46 47 * @return void 47 48 */ … … 51 52 $l_s_option_name = 'anrghg_export'; 52 53 $l_s_option_group = $l_s_option_name; 53 register_setting( $l_s_option_group, $l_s_option_name, array( 'anrghg_kses') );54 register_setting( $l_s_option_group, $l_s_option_name, array() ); 54 55 return; 55 56 } -
anrghg/tags/1.17.4/admin/options/import.php
r3414896 r3416910 40 40 * 41 41 * @since 0.61.5 42 * @since 1.17.4 Debug and remove sanitization callback. 42 43 * @return void 43 44 */ … … 47 48 $l_s_option_name = 'anrghg_import'; 48 49 $l_s_option_group = $l_s_option_name; 49 register_setting( $l_s_option_group, $l_s_option_name, array( 'anrghg_kses') );50 register_setting( $l_s_option_group, $l_s_option_name, array() ); 50 51 return; 51 52 } -
anrghg/tags/1.17.4/admin/options/settings-sections.php
r3414896 r3416910 48 48 * It must also be equal to the page slug defined in `add_{menu|options}_page()`. 49 49 * @link https://wordpress.stackexchange.com/a/316063 50 * 51 * @since 1.17.4 Debug and remove sanitization callback. 52 * 50 53 * @return void 51 54 */ … … 54 57 $l_s_option_name = 'anrghg'; 55 58 $l_s_option_group = $l_s_option_name; 56 register_setting( $l_s_option_group, $l_s_option_name, array( 'anrghg_kses') );59 register_setting( $l_s_option_group, $l_s_option_name, array() ); 57 60 58 61 $l_s_class = 'main'; -
anrghg/tags/1.17.4/admin/options/templates.php
r3414896 r3416910 379 379 * 380 380 * @since 0.9.0 381 * @since 1.17.4 Debug and remove sanitization callback. 381 382 * @return void 382 383 */ … … 386 387 $l_s_option_name = 'anrghg_reuse'; 387 388 $l_s_option_group = $l_s_option_name; 388 register_setting( $l_s_option_group, $l_s_option_name, array( 'anrghg_kses') );389 register_setting( $l_s_option_group, $l_s_option_name, array() ); 389 390 $l_s_section = 'anrghg_reusables'; 390 391 add_settings_section( -
anrghg/tags/1.17.4/anrghg.php
r3414896 r3416910 12 12 * Requires PHP: 7.2 13 13 * CAUTION: The following field is parsed in the `Stable Tag` folder for upgrade configuration: 14 * Version: 1.17. 314 * Version: 1.17.4 15 15 * Author: ANRGHG 16 16 * Author URI: https://profiles.wordpress.org/anrghg/ … … 125 125 * @var string ANRGHG_S_VER Plugin version constant. 126 126 */ 127 define( 'ANRGHG_S_VER', '1.17. 3' );127 define( 'ANRGHG_S_VER', '1.17.4' ); 128 128 129 129 /** … … 162 162 * 163 163 * * Some strings are in sync with WordPress Core, to benefit from any 164 * existing translation. This is about 375 strings in 21 files as of 165 * version 1.17.2, only considering simple gettext calls, including 166 * multiple occurrences, like 'Label', 'Pixels (px)' and 'Not set'. 164 * existing translation. This is about 404 strings in 22 files as of 165 * version 1.17.3, all calls and multiple occurrences included, like 166 * 'Label', 'Pixels (px)', `_x( 'Right to left', 'editor button' )`, 167 * 'Yes', 'Not set', 'Log In', 'Table of contents', 'Save Changes'. 167 168 * 168 169 * There is a caveat to this, @see link above. But the strings using 169 * this synergy are very unlikely to change. Not hitchhiking these 170 * would be wasteful and disrespectful against the translators who 171 * would need to translate those strings for every single domain, or 172 * plugin users would have to wait indefinitely for something that 173 * is done since a long time by the translators of WordPress Core. 174 * 175 * The basis for syncing with WordPress Core is in development. Only 176 * about half of these strings is shipped with WordPress as of 2022. 177 * The other half does not work until a future release. 170 * this synergy are very unlikely to change. Should nevertheless any 171 * change to these strings occur, this will be no problem. Mirrors 172 * in this plugin shall be updated as soon as possible. 173 * 174 * Not hitchhiking these strings would be wasteful and disrespectful 175 * to the translators, who would need to translate those strings for 176 * this domain especially; or plugin users would wait for something 177 * that is done since a long time thanks to the translators working 178 * for WordPress Core. 179 * 180 * The basis for syncing with WordPress Core is in development. As 181 * of 2022, about half of these strings are shipped. The other half 182 * is waiting for a future release. 178 183 * 179 184 * * In order to reduce the translation workload, strings must be lean … … 181 186 * be achieved programmatically, by genericizing and merging similar 182 187 * strings. 188 * 189 * Alleviate translation workload 190 * @link https://core.trac.wordpress.org/ticket/56435 183 191 * 184 192 * * 100+ sets of sentences are optionally collapsible or hidden. That … … 195 203 * by the PHPCS validation tool) below a Translator comment, for the 196 204 * Gettext utility to not look beyond and not distract Translators. 197 *198 * Alleviate translation workload199 * @link https://core.trac.wordpress.org/ticket/56435#ticket200 205 */ 201 206 -
anrghg/tags/1.17.4/includes/modular.php
r3414896 r3416910 1045 1045 /** 1046 1046 * Optionally converts to lowercase before configurable conversions. 1047 * 1048 * @since 1.17.4 Replace deprecated `seems_utf8` with `wp_is_valid_utf8`. 1049 * Function `seems_utf8` is deprecated since WP version 6.9.0 1047 1050 */ 1048 1051 $l_b_titlecase = (bool) anrghg_apply_config( 'anrghg_fragment_ids_support_titlecase' ); 1049 1052 if ( ! $l_b_titlecase || $p_b_force_lower ) { 1050 if ( seems_utf8( $p_s_text ) ) {1053 if ( wp_is_valid_utf8( $p_s_text ) ) { 1051 1054 if ( function_exists( 'mb_strtolower' ) ) { 1052 1055 $p_s_text = mb_strtolower( $p_s_text, 'UTF-8' ); … … 1215 1218 * @since 0.9.0 The max length is configurable. 1216 1219 * @since 1.6.17 Fall back on legacy clean-up, as else the job is done. 1217 */ 1218 if ( seems_utf8( $p_s_text ) ) { 1220 * @since 1.17.4 Replace deprecated `seems_utf8` with `wp_is_valid_utf8`. 1221 * Function `seems_utf8` is deprecated since WP version 6.9.0 1222 */ 1223 if ( wp_is_valid_utf8( $p_s_text ) ) { 1219 1224 $p_s_text = utf8_uri_encode( $p_s_text, intval( $p_i_max_length ) ); 1220 1225 } -
anrghg/tags/1.17.4/package.json
r3414896 r3416910 4 4 "howTo": "This file may be edited in the build folder, See build.txt.", 5 5 "name": "anrghg", 6 "version": "1.17. 3",6 "version": "1.17.4", 7 7 "description": "A.N.R.GHG Publishing Toolkit", 8 8 "main": "index.js", -
anrghg/tags/1.17.4/readme.txt
r3414896 r3416910 8 8 Requires PHP: 7.2 9 9 Tested PHP up to: 8.1 10 Package Version: 1.17. 3.011 Version: 1.17. 310 Package Version: 1.17.4.0 11 Version: 1.17.4 12 12 CAUTION: The following field is parsed in `trunk/` for release configuration: 13 Stable Tag: 1.17. 313 Stable Tag: 1.17.4 14 14 License: GPLv2 or later 15 15 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 636 636 == Changelog == 637 637 638 = 1.17.3 (2025-12-09) = 638 = 1.17.4 (2025-12-11) = 639 640 * Paragraph links: Replace deprecated `seems_utf8` with `wp_is_valid_utf8`. 641 * Settings: Security: Debug and remove sanitization callback in `register_setting()`. 642 * Export: Security: Debug and remove sanitization callback in `register_setting()`. 643 * Import: Security: Debug and remove sanitization callback in `register_setting()`. 644 * Templates: Security: Debug and remove sanitization callback in `register_setting()`. 645 * Conversion: Security: Debug and remove sanitization callback in `register_setting()`. 646 647 = 1.17.3 (2025-12-09) [3414896](https://plugins.trac.wordpress.org/changeset/3414896/anrghg) = 639 648 640 649 * Settings: Security: Add sanitization when calling `register_setting()`. -
anrghg/trunk/SVN-log.txt
r3414896 r3416910 33 33 Past revisions: 34 34 35 1.17.3.0 3414896 2025-12-09 04:40:49 +0000 (Tue, 09 Dec 2025) 35 36 1.17.2.1 3413713 2025-12-07 20:39:30 +0000 (Sun, 07 Dec 2025) 36 37 1.17.2.0 3389246 2025-11-03 23:27:48 +0000 (Mon, 03 Nov 2025) -
anrghg/trunk/admin/options/convert.php
r3414896 r3416910 309 309 * 310 310 * @since 0.24.6 311 * @since 1.17.4 Debug and remove sanitization callback. 311 312 * @return void 312 313 */ … … 316 317 $l_s_option_name = 'anrghg_convert'; 317 318 $l_s_option_group = $l_s_option_name; 318 register_setting( $l_s_option_group, $l_s_option_name, array( 'anrghg_kses') );319 register_setting( $l_s_option_group, $l_s_option_name, array() ); 319 320 $l_s_section = 'anrghg_conversion'; 320 321 add_settings_section( -
anrghg/trunk/admin/options/export.php
r3414896 r3416910 44 44 * 45 45 * @since 0.61.5 46 * @since 1.17.4 Debug and remove sanitization callback. 46 47 * @return void 47 48 */ … … 51 52 $l_s_option_name = 'anrghg_export'; 52 53 $l_s_option_group = $l_s_option_name; 53 register_setting( $l_s_option_group, $l_s_option_name, array( 'anrghg_kses') );54 register_setting( $l_s_option_group, $l_s_option_name, array() ); 54 55 return; 55 56 } -
anrghg/trunk/admin/options/import.php
r3414896 r3416910 40 40 * 41 41 * @since 0.61.5 42 * @since 1.17.4 Debug and remove sanitization callback. 42 43 * @return void 43 44 */ … … 47 48 $l_s_option_name = 'anrghg_import'; 48 49 $l_s_option_group = $l_s_option_name; 49 register_setting( $l_s_option_group, $l_s_option_name, array( 'anrghg_kses') );50 register_setting( $l_s_option_group, $l_s_option_name, array() ); 50 51 return; 51 52 } -
anrghg/trunk/admin/options/settings-sections.php
r3414896 r3416910 48 48 * It must also be equal to the page slug defined in `add_{menu|options}_page()`. 49 49 * @link https://wordpress.stackexchange.com/a/316063 50 * 51 * @since 1.17.4 Debug and remove sanitization callback. 52 * 50 53 * @return void 51 54 */ … … 54 57 $l_s_option_name = 'anrghg'; 55 58 $l_s_option_group = $l_s_option_name; 56 register_setting( $l_s_option_group, $l_s_option_name, array( 'anrghg_kses') );59 register_setting( $l_s_option_group, $l_s_option_name, array() ); 57 60 58 61 $l_s_class = 'main'; -
anrghg/trunk/admin/options/templates.php
r3414896 r3416910 379 379 * 380 380 * @since 0.9.0 381 * @since 1.17.4 Debug and remove sanitization callback. 381 382 * @return void 382 383 */ … … 386 387 $l_s_option_name = 'anrghg_reuse'; 387 388 $l_s_option_group = $l_s_option_name; 388 register_setting( $l_s_option_group, $l_s_option_name, array( 'anrghg_kses') );389 register_setting( $l_s_option_group, $l_s_option_name, array() ); 389 390 $l_s_section = 'anrghg_reusables'; 390 391 add_settings_section( -
anrghg/trunk/anrghg.php
r3414896 r3416910 12 12 * Requires PHP: 7.2 13 13 * CAUTION: The following field is parsed in the `Stable Tag` folder for upgrade configuration: 14 * Version: 1.17. 314 * Version: 1.17.4 15 15 * Author: ANRGHG 16 16 * Author URI: https://profiles.wordpress.org/anrghg/ … … 125 125 * @var string ANRGHG_S_VER Plugin version constant. 126 126 */ 127 define( 'ANRGHG_S_VER', '1.17. 3' );127 define( 'ANRGHG_S_VER', '1.17.4' ); 128 128 129 129 /** … … 162 162 * 163 163 * * Some strings are in sync with WordPress Core, to benefit from any 164 * existing translation. This is about 375 strings in 21 files as of 165 * version 1.17.2, only considering simple gettext calls, including 166 * multiple occurrences, like 'Label', 'Pixels (px)' and 'Not set'. 164 * existing translation. This is about 404 strings in 22 files as of 165 * version 1.17.3, all calls and multiple occurrences included, like 166 * 'Label', 'Pixels (px)', `_x( 'Right to left', 'editor button' )`, 167 * 'Yes', 'Not set', 'Log In', 'Table of contents', 'Save Changes'. 167 168 * 168 169 * There is a caveat to this, @see link above. But the strings using 169 * this synergy are very unlikely to change. Not hitchhiking these 170 * would be wasteful and disrespectful against the translators who 171 * would need to translate those strings for every single domain, or 172 * plugin users would have to wait indefinitely for something that 173 * is done since a long time by the translators of WordPress Core. 174 * 175 * The basis for syncing with WordPress Core is in development. Only 176 * about half of these strings is shipped with WordPress as of 2022. 177 * The other half does not work until a future release. 170 * this synergy are very unlikely to change. Should nevertheless any 171 * change to these strings occur, this will be no problem. Mirrors 172 * in this plugin shall be updated as soon as possible. 173 * 174 * Not hitchhiking these strings would be wasteful and disrespectful 175 * to the translators, who would need to translate those strings for 176 * this domain especially; or plugin users would wait for something 177 * that is done since a long time thanks to the translators working 178 * for WordPress Core. 179 * 180 * The basis for syncing with WordPress Core is in development. As 181 * of 2022, about half of these strings are shipped. The other half 182 * is waiting for a future release. 178 183 * 179 184 * * In order to reduce the translation workload, strings must be lean … … 181 186 * be achieved programmatically, by genericizing and merging similar 182 187 * strings. 188 * 189 * Alleviate translation workload 190 * @link https://core.trac.wordpress.org/ticket/56435 183 191 * 184 192 * * 100+ sets of sentences are optionally collapsible or hidden. That … … 195 203 * by the PHPCS validation tool) below a Translator comment, for the 196 204 * Gettext utility to not look beyond and not distract Translators. 197 *198 * Alleviate translation workload199 * @link https://core.trac.wordpress.org/ticket/56435#ticket200 205 */ 201 206 -
anrghg/trunk/includes/modular.php
r3414896 r3416910 1045 1045 /** 1046 1046 * Optionally converts to lowercase before configurable conversions. 1047 * 1048 * @since 1.17.4 Replace deprecated `seems_utf8` with `wp_is_valid_utf8`. 1049 * Function `seems_utf8` is deprecated since WP version 6.9.0 1047 1050 */ 1048 1051 $l_b_titlecase = (bool) anrghg_apply_config( 'anrghg_fragment_ids_support_titlecase' ); 1049 1052 if ( ! $l_b_titlecase || $p_b_force_lower ) { 1050 if ( seems_utf8( $p_s_text ) ) {1053 if ( wp_is_valid_utf8( $p_s_text ) ) { 1051 1054 if ( function_exists( 'mb_strtolower' ) ) { 1052 1055 $p_s_text = mb_strtolower( $p_s_text, 'UTF-8' ); … … 1215 1218 * @since 0.9.0 The max length is configurable. 1216 1219 * @since 1.6.17 Fall back on legacy clean-up, as else the job is done. 1217 */ 1218 if ( seems_utf8( $p_s_text ) ) { 1220 * @since 1.17.4 Replace deprecated `seems_utf8` with `wp_is_valid_utf8`. 1221 * Function `seems_utf8` is deprecated since WP version 6.9.0 1222 */ 1223 if ( wp_is_valid_utf8( $p_s_text ) ) { 1219 1224 $p_s_text = utf8_uri_encode( $p_s_text, intval( $p_i_max_length ) ); 1220 1225 } -
anrghg/trunk/package.json
r3414896 r3416910 4 4 "howTo": "This file may be edited in the build folder, See build.txt.", 5 5 "name": "anrghg", 6 "version": "1.17. 3",6 "version": "1.17.4", 7 7 "description": "A.N.R.GHG Publishing Toolkit", 8 8 "main": "index.js", -
anrghg/trunk/readme.txt
r3414896 r3416910 8 8 Requires PHP: 7.2 9 9 Tested PHP up to: 8.1 10 Package Version: 1.17. 3.011 Version: 1.17. 310 Package Version: 1.17.4.0 11 Version: 1.17.4 12 12 CAUTION: The following field is parsed in `trunk/` for release configuration: 13 Stable Tag: 1.17. 313 Stable Tag: 1.17.4 14 14 License: GPLv2 or later 15 15 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 636 636 == Changelog == 637 637 638 = 1.17.3 (2025-12-09) = 638 = 1.17.4 (2025-12-11) = 639 640 * Paragraph links: Replace deprecated `seems_utf8` with `wp_is_valid_utf8`. 641 * Settings: Security: Debug and remove sanitization callback in `register_setting()`. 642 * Export: Security: Debug and remove sanitization callback in `register_setting()`. 643 * Import: Security: Debug and remove sanitization callback in `register_setting()`. 644 * Templates: Security: Debug and remove sanitization callback in `register_setting()`. 645 * Conversion: Security: Debug and remove sanitization callback in `register_setting()`. 646 647 = 1.17.3 (2025-12-09) [3414896](https://plugins.trac.wordpress.org/changeset/3414896/anrghg) = 639 648 640 649 * Settings: Security: Add sanitization when calling `register_setting()`.
Note: See TracChangeset
for help on using the changeset viewer.