- Timestamp:
- 06/15/2022 01:08:34 AM (4 years ago)
- Location:
- anrghg
- Files:
-
- 10 edited
- 1 copied
-
tags/0.81.1 (copied) (copied from anrghg/trunk)
-
tags/0.81.1/admin/anrghg-admin.php (modified) (3 diffs)
-
tags/0.81.1/anrghg.php (modified) (3 diffs)
-
tags/0.81.1/build.sh (modified) (1 diff)
-
tags/0.81.1/package.json (modified) (1 diff)
-
tags/0.81.1/readme.txt (modified) (2 diffs)
-
trunk/admin/anrghg-admin.php (modified) (3 diffs)
-
trunk/anrghg.php (modified) (3 diffs)
-
trunk/build.sh (modified) (1 diff)
-
trunk/package.json (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
anrghg/tags/0.81.1/admin/anrghg-admin.php
r2742418 r2742540 6548 6548 * 6549 6549 * @since 0.60.0 6550 * @since 6550 6551 * For maintainability `$p_b_label_for` comes next to `$p_s_label` so 6551 6552 * the assignation of `true` as its default value would be pointless. … … 6580 6581 $l_a_params[ 'val_' . $l_i_index ] = $g_a_anrghg_config[ $l_s_key ]; 6581 6582 } 6583 $l_a_params['ok'] = array( 6584 'div' => array( 6585 'class' => array(), 6586 '' => array(), 6587 6588 ), 6589 'fieldset' => array(), 6590 'input' => array( 6591 'checked' => array(), 6592 'id' => array(), 6593 'name' => array(), 6594 'type' => array(), 6595 'value' => array(), 6596 6597 ), 6598 'label' => array( 6599 'for' => array(), 6600 6601 ), 6602 'legend' => array( 6603 'aria-hidden' => array(), 6604 'aria-label' => array(), 6605 'class' => array(), 6606 ), 6607 'span' => array( 6608 'class' => array(), 6609 6610 ), 6611 'style' => array(), 6612 'script' => array(), 6613 ); 6582 6614 add_settings_field( 6583 6615 $p_a_keys[0], … … 8529 8561 $p_a_params 8530 8562 ); 8531 echo anrghg_fieldset( 8532 __( 'The settings checked below are displayed inside:', 'anrghg' ), 8533 'description', 8534 $p_a_params, 8535 anrghg_checkbox_list( 8536 array( 8537 array( __( 'Published first information', 'anrghg' ), __( 'Saves both the prefills and the field contents.', 'anrghg' ) ), 8538 __( 'Thank You message', 'anrghg' ), 8539 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Insertion', 'anrghg' ), 8540 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Alignment', 'anrghg' ), 8541 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Heading label', 'anrghg' ), 8542 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Collapsing behavior', 'anrghg' ), 8543 __( 'Complements: Processing deactivation', 'anrghg' ), 8544 __( 'Complement lists and anchor tooltips: Writing direction', 'anrghg' ), 8545 array( __( 'Complement, name, tooltip and link delimiters', 'anrghg' ), __( 'Prefills the delimiters as configured when adding the post, and saves the field contents.', 'anrghg' ) ), 8546 __( 'Complement lists', 'anrghg' ) . ' ' . __( 'Heading label', 'anrghg' ), 8547 __( 'Complement lists', 'anrghg' ) . ' ' . __( 'Collapsing behavior', 'anrghg' ), 8548 __( 'Complement lists', 'anrghg' ) . ' ' . __( 'Footer deferral', 'anrghg' ), 8549 ), 8550 true, 8563 echo wp_kses( 8564 anrghg_fieldset( 8565 __( 'The settings checked below are displayed inside:', 'anrghg' ), 8566 'description', 8551 8567 $p_a_params, 8552 1, 8553 false 8554 ) 8568 anrghg_checkbox_list( 8569 array( 8570 array( __( 'Published first information', 'anrghg' ), __( 'Saves both the prefills and the field contents.', 'anrghg' ) ), 8571 __( 'Thank You message', 'anrghg' ), 8572 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Insertion', 'anrghg' ), 8573 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Alignment', 'anrghg' ), 8574 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Heading label', 'anrghg' ), 8575 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Collapsing behavior', 'anrghg' ), 8576 __( 'Complements: Processing deactivation', 'anrghg' ), 8577 __( 'Complement lists and anchor tooltips: Writing direction', 'anrghg' ), 8578 array( __( 'Complement, name, tooltip and link delimiters', 'anrghg' ), __( 'Prefills the delimiters as configured when adding the post, and saves the field contents.', 'anrghg' ) ), 8579 __( 'Complement lists', 'anrghg' ) . ' ' . __( 'Heading label', 'anrghg' ), 8580 __( 'Complement lists', 'anrghg' ) . ' ' . __( 'Collapsing behavior', 'anrghg' ), 8581 __( 'Complement lists', 'anrghg' ) . ' ' . __( 'Footer deferral', 'anrghg' ), 8582 ), 8583 true, 8584 $p_a_params, 8585 1, 8586 false 8587 ) 8588 ), 8589 $p_a_params['ok'] 8555 8590 ); 8556 8591 echo anrghg_information( -
anrghg/tags/0.81.1/anrghg.php
r2742418 r2742540 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: 0.81. 016 * Version: 0.81.1 17 17 * Author: ANRGHG 18 18 * Author URI: https://anrghg.sunsite.fr … … 52 52 * @todo Conversion: Add conversion script Word ➔ WordPress with inline complements. 53 53 * @todo Conversion: Improve the conversion script markdown ➔ inline complements. 54 * @todo Conversion: Enqueue the script from the related `anrghg-admin-convert.js`. 54 55 * @todo Accessible emoji: Add emoji name in title and alt text for copy-paste. 55 56 */ … … 79 80 * @var string C_S_ANRGHG_VER Plugin version constant. 80 81 */ 81 define( 'C_S_ANRGHG_VER', '0.81. 0' );82 define( 'C_S_ANRGHG_VER', '0.81.1' ); 82 83 83 84 /** -
anrghg/tags/0.81.1/build.sh
r2742232 r2742540 93 93 fi 94 94 # 95 # Update config w/o running Node Package Manager build process: 96 if [ "$1" == "up" ]; then 97 echo -e " Running $(dirname $0)/build.sh\n" 98 echo -e " Updating 'package.json' from '../anrghg/package.json'." 99 echo -e " Updating 'package-lock.json' from '../anrghg/admin/package-lock.json'." 100 echo -e " Updating 'webpack.config.js' from '../anrghg/webpack.config.js'.\n" 101 cp ../anrghg/package.json package.json 102 cp ../anrghg/admin/package-lock.json package-lock.json 103 cp ../anrghg/webpack.config.js webpack.config.js 104 echo -e " Updating the '$(dirname $0)/build.sh' script copy in the '../anrghg/' folder." 105 cp build.sh ../anrghg/build.sh 106 fi 107 # 95 108 # Run PHPCS assessment with reports output in VSCode: 96 109 if [ "$1" == "cs" ]; then 97 110 echo -e " Running $(dirname $0)/build.sh" 98 111 echo -e " PHPCS-WPCS for display in VSCode.\n" 99 #~/vendor/bin/phpcs -s --standard=WordPress ../anrghg/anrghg.php > phpcs-reports/cs-anrghg.txt100 # ~/vendor/bin/phpcs -s --standard=WordPress ../anrghg/admin/anrghg-admin.php > phpcs-reports/cs-admin.txt112 ~/vendor/bin/phpcs -s --standard=WordPress ../anrghg/anrghg.php > phpcs-reports/cs-anrghg.txt 113 ~/vendor/bin/phpcs -s --standard=WordPress ../anrghg/admin/anrghg-admin.php >> phpcs-reports/cs-anrghg.txt 101 114 ~/vendor/bin/phpcs -s --standard=WordPress ../anrghg/ > phpcs-reports/cs-all.txt 102 #code phpcs-reports/cs-anrghg.txt115 code phpcs-reports/cs-anrghg.txt 103 116 # code phpcs-reports/cs-admin.txt 104 code phpcs-reports/cs-all.txt117 # code phpcs-reports/cs-all.txt 105 118 fi 106 119 # -
anrghg/tags/0.81.1/package.json
r2742418 r2742540 1 1 { 2 2 "name": "anrghg", 3 "version": "0.81. 0",3 "version": "0.81.1", 4 4 "description": "A.N.R.GHG Publishing Helper", 5 5 "main": "index.js", -
anrghg/tags/0.81.1/readme.txt
r2742418 r2742540 8 8 Requires PHP: 5.6 9 9 Tested PHP up to: 8.0 10 Package Version: 0.81. 0.011 Version: 0.81. 010 Package Version: 0.81.1.0 11 Version: 0.81.1 12 12 CAUTION: The following field is parsed in trunk/ for release configuration: 13 Stable Tag: 0.81. 013 Stable Tag: 0.81.1 14 14 License: GPLv2 or later 15 15 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 502 502 == Changelog == 503 503 504 = 0.81.1 (2022-06-15) = 505 506 * Security: Settings: Escaping output: `wp_kses()` with custom whitelist POC. 507 504 508 = 0.81.0 (2022-06-14) = 505 509 -
anrghg/trunk/admin/anrghg-admin.php
r2742418 r2742540 6548 6548 * 6549 6549 * @since 0.60.0 6550 * @since 6550 6551 * For maintainability `$p_b_label_for` comes next to `$p_s_label` so 6551 6552 * the assignation of `true` as its default value would be pointless. … … 6580 6581 $l_a_params[ 'val_' . $l_i_index ] = $g_a_anrghg_config[ $l_s_key ]; 6581 6582 } 6583 $l_a_params['ok'] = array( 6584 'div' => array( 6585 'class' => array(), 6586 '' => array(), 6587 6588 ), 6589 'fieldset' => array(), 6590 'input' => array( 6591 'checked' => array(), 6592 'id' => array(), 6593 'name' => array(), 6594 'type' => array(), 6595 'value' => array(), 6596 6597 ), 6598 'label' => array( 6599 'for' => array(), 6600 6601 ), 6602 'legend' => array( 6603 'aria-hidden' => array(), 6604 'aria-label' => array(), 6605 'class' => array(), 6606 ), 6607 'span' => array( 6608 'class' => array(), 6609 6610 ), 6611 'style' => array(), 6612 'script' => array(), 6613 ); 6582 6614 add_settings_field( 6583 6615 $p_a_keys[0], … … 8529 8561 $p_a_params 8530 8562 ); 8531 echo anrghg_fieldset( 8532 __( 'The settings checked below are displayed inside:', 'anrghg' ), 8533 'description', 8534 $p_a_params, 8535 anrghg_checkbox_list( 8536 array( 8537 array( __( 'Published first information', 'anrghg' ), __( 'Saves both the prefills and the field contents.', 'anrghg' ) ), 8538 __( 'Thank You message', 'anrghg' ), 8539 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Insertion', 'anrghg' ), 8540 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Alignment', 'anrghg' ), 8541 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Heading label', 'anrghg' ), 8542 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Collapsing behavior', 'anrghg' ), 8543 __( 'Complements: Processing deactivation', 'anrghg' ), 8544 __( 'Complement lists and anchor tooltips: Writing direction', 'anrghg' ), 8545 array( __( 'Complement, name, tooltip and link delimiters', 'anrghg' ), __( 'Prefills the delimiters as configured when adding the post, and saves the field contents.', 'anrghg' ) ), 8546 __( 'Complement lists', 'anrghg' ) . ' ' . __( 'Heading label', 'anrghg' ), 8547 __( 'Complement lists', 'anrghg' ) . ' ' . __( 'Collapsing behavior', 'anrghg' ), 8548 __( 'Complement lists', 'anrghg' ) . ' ' . __( 'Footer deferral', 'anrghg' ), 8549 ), 8550 true, 8563 echo wp_kses( 8564 anrghg_fieldset( 8565 __( 'The settings checked below are displayed inside:', 'anrghg' ), 8566 'description', 8551 8567 $p_a_params, 8552 1, 8553 false 8554 ) 8568 anrghg_checkbox_list( 8569 array( 8570 array( __( 'Published first information', 'anrghg' ), __( 'Saves both the prefills and the field contents.', 'anrghg' ) ), 8571 __( 'Thank You message', 'anrghg' ), 8572 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Insertion', 'anrghg' ), 8573 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Alignment', 'anrghg' ), 8574 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Heading label', 'anrghg' ), 8575 __( 'Table of contents', 'anrghg' ) . ' ' . __( 'Collapsing behavior', 'anrghg' ), 8576 __( 'Complements: Processing deactivation', 'anrghg' ), 8577 __( 'Complement lists and anchor tooltips: Writing direction', 'anrghg' ), 8578 array( __( 'Complement, name, tooltip and link delimiters', 'anrghg' ), __( 'Prefills the delimiters as configured when adding the post, and saves the field contents.', 'anrghg' ) ), 8579 __( 'Complement lists', 'anrghg' ) . ' ' . __( 'Heading label', 'anrghg' ), 8580 __( 'Complement lists', 'anrghg' ) . ' ' . __( 'Collapsing behavior', 'anrghg' ), 8581 __( 'Complement lists', 'anrghg' ) . ' ' . __( 'Footer deferral', 'anrghg' ), 8582 ), 8583 true, 8584 $p_a_params, 8585 1, 8586 false 8587 ) 8588 ), 8589 $p_a_params['ok'] 8555 8590 ); 8556 8591 echo anrghg_information( -
anrghg/trunk/anrghg.php
r2742418 r2742540 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: 0.81. 016 * Version: 0.81.1 17 17 * Author: ANRGHG 18 18 * Author URI: https://anrghg.sunsite.fr … … 52 52 * @todo Conversion: Add conversion script Word ➔ WordPress with inline complements. 53 53 * @todo Conversion: Improve the conversion script markdown ➔ inline complements. 54 * @todo Conversion: Enqueue the script from the related `anrghg-admin-convert.js`. 54 55 * @todo Accessible emoji: Add emoji name in title and alt text for copy-paste. 55 56 */ … … 79 80 * @var string C_S_ANRGHG_VER Plugin version constant. 80 81 */ 81 define( 'C_S_ANRGHG_VER', '0.81. 0' );82 define( 'C_S_ANRGHG_VER', '0.81.1' ); 82 83 83 84 /** -
anrghg/trunk/build.sh
r2742232 r2742540 93 93 fi 94 94 # 95 # Update config w/o running Node Package Manager build process: 96 if [ "$1" == "up" ]; then 97 echo -e " Running $(dirname $0)/build.sh\n" 98 echo -e " Updating 'package.json' from '../anrghg/package.json'." 99 echo -e " Updating 'package-lock.json' from '../anrghg/admin/package-lock.json'." 100 echo -e " Updating 'webpack.config.js' from '../anrghg/webpack.config.js'.\n" 101 cp ../anrghg/package.json package.json 102 cp ../anrghg/admin/package-lock.json package-lock.json 103 cp ../anrghg/webpack.config.js webpack.config.js 104 echo -e " Updating the '$(dirname $0)/build.sh' script copy in the '../anrghg/' folder." 105 cp build.sh ../anrghg/build.sh 106 fi 107 # 95 108 # Run PHPCS assessment with reports output in VSCode: 96 109 if [ "$1" == "cs" ]; then 97 110 echo -e " Running $(dirname $0)/build.sh" 98 111 echo -e " PHPCS-WPCS for display in VSCode.\n" 99 #~/vendor/bin/phpcs -s --standard=WordPress ../anrghg/anrghg.php > phpcs-reports/cs-anrghg.txt100 # ~/vendor/bin/phpcs -s --standard=WordPress ../anrghg/admin/anrghg-admin.php > phpcs-reports/cs-admin.txt112 ~/vendor/bin/phpcs -s --standard=WordPress ../anrghg/anrghg.php > phpcs-reports/cs-anrghg.txt 113 ~/vendor/bin/phpcs -s --standard=WordPress ../anrghg/admin/anrghg-admin.php >> phpcs-reports/cs-anrghg.txt 101 114 ~/vendor/bin/phpcs -s --standard=WordPress ../anrghg/ > phpcs-reports/cs-all.txt 102 #code phpcs-reports/cs-anrghg.txt115 code phpcs-reports/cs-anrghg.txt 103 116 # code phpcs-reports/cs-admin.txt 104 code phpcs-reports/cs-all.txt117 # code phpcs-reports/cs-all.txt 105 118 fi 106 119 # -
anrghg/trunk/package.json
r2742418 r2742540 1 1 { 2 2 "name": "anrghg", 3 "version": "0.81. 0",3 "version": "0.81.1", 4 4 "description": "A.N.R.GHG Publishing Helper", 5 5 "main": "index.js", -
anrghg/trunk/readme.txt
r2742418 r2742540 8 8 Requires PHP: 5.6 9 9 Tested PHP up to: 8.0 10 Package Version: 0.81. 0.011 Version: 0.81. 010 Package Version: 0.81.1.0 11 Version: 0.81.1 12 12 CAUTION: The following field is parsed in trunk/ for release configuration: 13 Stable Tag: 0.81. 013 Stable Tag: 0.81.1 14 14 License: GPLv2 or later 15 15 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 502 502 == Changelog == 503 503 504 = 0.81.1 (2022-06-15) = 505 506 * Security: Settings: Escaping output: `wp_kses()` with custom whitelist POC. 507 504 508 = 0.81.0 (2022-06-14) = 505 509
Note: See TracChangeset
for help on using the changeset viewer.