- Timestamp:
- 09/07/2022 01:44:35 AM (3 years ago)
- Location:
- anrghg
- Files:
-
- 1 deleted
- 12 edited
- 1 copied
-
tags/1.6.17 (deleted)
-
tags/1.6.18 (copied) (copied from anrghg/trunk)
-
tags/1.6.18/anrghg.php (modified) (2 diffs)
-
tags/1.6.18/includes/modular.php (modified) (3 diffs)
-
tags/1.6.18/includes/stylesplit.php (modified) (8 diffs)
-
tags/1.6.18/package.json (modified) (1 diff)
-
tags/1.6.18/readme.txt (modified) (2 diffs)
-
tags/1.6.18/svn-revs.txt (modified) (1 diff)
-
trunk/anrghg.php (modified) (2 diffs)
-
trunk/includes/modular.php (modified) (3 diffs)
-
trunk/includes/stylesplit.php (modified) (8 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.6.18/anrghg.php
r2780783 r2781035 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.6.1 716 * Version: 1.6.18 17 17 * Author: ANRGHG 18 18 * Author URI: https://anrghg.sunsite.fr … … 101 101 * @var string C_S_ANRGHG_VER Plugin version constant. 102 102 */ 103 define( 'C_S_ANRGHG_VER', '1.6.1 7' );103 define( 'C_S_ANRGHG_VER', '1.6.18' ); 104 104 105 105 /** -
anrghg/tags/1.6.18/includes/modular.php
r2780783 r2781035 1433 1433 1434 1434 /** 1435 * Converts okina, letter apostrophe, and certain punctuation marks. 1436 */ 1437 $l_a_needle = array( 'ʻ', 'ʼ', '‐', '‑', '‒', '―', '−', '’', '\'' ); 1438 $l_a_replace = array( '_', '_', '-', '-', '-', '-', '-', '-', '-' ); 1439 $p_s_text = str_replace( $l_a_needle, $l_a_replace, $p_s_text ); 1440 1441 /** 1442 * Converts diacriticized letters to polygraphs, ß to ss, and pound sign to L. 1435 * Converts diacriticized letters to polygraphs, ß to ss, currencies to letters. 1443 1436 */ 1444 1437 // phpcs:ignore 1445 $l_a_needle = array( ' £', 'ß', 'ẞ', 'Å', 'å', 'Ä', 'ä', 'Č', 'č', 'Ř', 'ř' );1446 $l_a_replace = array( ' L', 'ss', 'SS', 'Aa', 'aa', 'Ae', 'ae', 'Cz', 'cz', 'Rz', 'rz' );1438 $l_a_needle = array( '$', '£', '¥', 'ß', 'ẞ', 'Å', 'å', 'Ä', 'ä', 'Č', 'č', 'Ř', 'ř' ); 1439 $l_a_replace = array( 'S', 'L', 'Y', 'ss', 'SS', 'Aa', 'aa', 'Ae', 'ae', 'Cz', 'cz', 'Rz', 'rz' ); 1447 1440 $l_a_lang = explode( '-', get_bloginfo( 'language' ) ); 1448 1441 $l_s_lang = $l_a_lang[0]; … … 1495 1488 1496 1489 /** 1497 * Converts to hyphen-minus. According to `sanitize_title_with_dashes()`. 1498 */ 1499 $l_a_needle = array( '.', '/', ' ', '–', '—', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' 1490 * Converts okina, letter apostrophe to underscore. 1491 */ 1492 $l_a_needle = array( 'ʻ', 'ʼ' ); 1493 $p_s_text = str_replace( $l_a_needle, '_', $p_s_text ); 1494 1495 /** 1496 * Converts to hyphen-minus. Pro parte according to `sanitize_title_with_dashes()`. 1497 */ 1498 $l_a_needle = array( '&', '.', '’', '\'', '/', '\\', '*', '@', '·', '‧', ' ', ' ', '‐', '‑', '−', '‒', '–', '—', '―', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' 1500 1499 ', ' 1501 ' , ' ');1500 ' ); 1502 1501 $p_s_text = str_replace( $l_a_needle, '-', $p_s_text ); 1503 1502 … … 1510 1509 * Removes entirely. According to `sanitize_title_with_dashes()`. 1511 1510 * 1512 * @since 1.6.17 Percent sign is part of th is set.1511 * @since 1.6.17 Percent sign is part of these classes (\p{Po}). 1513 1512 * See * URL-decodes to avoid screwing up percent sign removal. 1514 1513 * `sanitize_title_with_dashes()` also removes 11 “Non-visible 1515 1514 * characters that display without a width”: U+00AD, U+200B, 1516 1515 * U+200B, U+200C, U+200D, U+200E, U+200F, U+202A, U+202B, 1517 * U+202C, U+202D, U+202E, U+FEFF. Rather remove the full set. 1518 */ 1519 $p_s_text = preg_replace( '/\\p{Cf}/u', '', $p_s_text ); 1520 $l_a_needle = array( '%', '¡', '¿', '«', '»', '‹', '›', '‘', '’', '“', '”', '‚', '‛', '„', '‟', '•', '©', '®', '°', '…', '™', '´', 'ˊ' ); 1521 $p_s_text = str_replace( $l_a_needle, '', $p_s_text ); 1516 * U+202C, U+202D, U+202E, U+FEFF. Rather remove the full class 1517 * of format controls (\p{Cf}). Do the same for punctuation, 1518 * except Pc and Pd; also Sk, So, Lm, to catch full sets, that 1519 * '%', '¡', '¿', '«', '»', '‹', '›', '‘', '’', '“', '”', '‚', 1520 * '‛', '„', '‟', '•', '©', '®', '°', '…', '™', '´', 'ˊ' are in. 1521 */ 1522 $p_s_text = preg_replace( '/[\\p{Cf}\\p{Ps}\\p{Pe}\\p{Pi}\\p{Pf}\\p{Po}\\p{Sk}\\p{So}\\p{Lm}]/u', '', $p_s_text ); 1522 1523 1523 1524 /** -
anrghg/tags/1.6.18/includes/stylesplit.php
r2779832 r2781035 516 516 $l_i_list_column_number_note = anrghg_apply_config( 'anrghg_note_list_layout' ); 517 517 $l_i_list_column_number_source = anrghg_apply_config( 'anrghg_source_list_layout' ); 518 $l_s_list_row_pad _top = 18. 'px';518 $l_s_list_row_padding = 6 . 'px'; 519 519 $l_s_list_row_margin_top = -7 . 'px'; 520 520 $l_s_list_row_line_height = 1.5 . 'em'; … … 734 734 opacity: 1; 735 735 line-height: $l_s_list_row_line_height; 736 padding -top: $l_s_list_row_pad_top;736 padding: $l_s_list_row_padding 0 $l_s_list_row_padding; 737 737 transition: visibility 0s, opacity $l_s_transition_duration ease-in-out, line-height $l_s_transition_duration ease-in-out, padding-top $l_s_transition_duration ease-in-out; 738 738 } … … 754 754 opacity: 1 !important; 755 755 line-height: $l_s_list_row_line_height !important; 756 padding -top: $l_s_list_row_pad_top!important;756 padding: $l_s_list_row_padding 0 $l_s_list_row_padding !important; 757 757 } 758 758 … … 762 762 .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target * { 763 763 line-height: $l_s_list_row_line_height; 764 padding -top: $l_s_list_row_pad_top;764 padding: $l_s_list_row_padding 0 $l_s_list_row_padding; 765 765 } 766 766 … … 899 899 $l_s_twistie_color_expanded = '#CBCBCB'; // inherit, or #CBCBCB. 900 900 $l_s_transition_duration = 300 . 'ms'; 901 $l_s_list_row_pad _top = 18. 'px';901 $l_s_list_row_padding = 6 . 'px'; 902 902 $l_s_list_row_line_height = 2 . 'em'; 903 903 $l_s_list_number_min_width = 3.3 . 'em'; … … 1027 1027 opacity: 1; 1028 1028 line-height: $l_s_list_row_line_height; 1029 padding -top: $l_s_list_row_pad_top;1029 padding: $l_s_list_row_padding 0 $l_s_list_row_padding; 1030 1030 transition: visibility 0s, opacity $l_s_transition_duration ease-in-out, line-height $l_s_transition_duration ease-in-out, padding-top $l_s_transition_duration ease-in-out; 1031 1031 } … … 1047 1047 opacity: 1; 1048 1048 line-height: $l_s_list_row_line_height; 1049 padding -top: $l_s_list_row_pad_top;1049 padding: $l_s_list_row_padding 0 $l_s_list_row_padding; 1050 1050 } 1051 1051 … … 1056 1056 opacity: 1; 1057 1057 line-height: $l_s_list_row_line_height; 1058 padding -top: $l_s_list_row_pad_top;1058 padding: $l_s_list_row_padding 0 $l_s_list_row_padding; 1059 1059 } 1060 1060 -
anrghg/tags/1.6.18/package.json
r2780783 r2781035 1 1 { 2 2 "name": "anrghg", 3 "version": " 1.6.1 7",3 "version": " 1.6.18", 4 4 "description": "A.N.R.GHG Publishing Helper", 5 5 "main": "index.js", -
anrghg/tags/1.6.18/readme.txt
r2780783 r2781035 8 8 Requires PHP: 5.6 9 9 Tested PHP up to: 8.0 10 Package Version: 1.6.1 7.011 Version: 1.6.1 710 Package Version: 1.6.18.0 11 Version: 1.6.18 12 12 CAUTION: The following field is parsed in `trunk/` for release configuration: 13 Stable Tag: 1.6.1 713 Stable Tag: 1.6.18 14 14 License: GPLv2 or later 15 15 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 542 542 == Changelog == 543 543 544 = 1.6.18 (2022-09-07) = 545 546 * Localization: IDs and slugs: Fix sanitization by removing full classes. 547 * Notes and sources: Lists: Correct line top and bottom padding. 548 * Reference lists: Correct line top and bottom padding. 549 544 550 = 1.6.17 (2022-09-06) = 545 551 546 * Localization: FragmentIDs and slugs: Maintain plus sign instead of letting it turn into space then hyphen-minus.547 * Localization: FragmentIDs and slugs: Stop always deleting acute, grave, circumflex accents, macron and hacek.548 * Localization: FragmentIDs and slugs: Optionally remove the full set of combining diacritics.549 * Localization: FragmentIDs and slugs: Remove the full set of format control characters.550 * Localization: FragmentIDs and slugs: Convert Latin alphabetic abbreviation indicators.552 * Localization: IDs and slugs: Maintain plus sign instead of letting it turn into space then hyphen-minus. 553 * Localization: IDs and slugs: Stop always deleting acute, grave, circumflex accents, macron and hacek. 554 * Localization: IDs and slugs: Optionally remove the full set of combining diacritics. 555 * Localization: IDs and slugs: Remove the full set of format control characters. 556 * Localization: IDs and slugs: Convert Latin alphabetic abbreviation indicators. 551 557 552 558 = 1.6.16 (2022-09-05) = 553 559 554 * Slug body class: Debug portions starting with an ampersand and ending with a semicolon. 555 * Paragraph links: Debug portions starting with an ampersand and ending with a semicolon. 556 * Heading links: Debug portions starting with an ampersand and ending with a semicolon. 560 * Localization: IDs and slugs: Debug portions starting with an ampersand and ending with a semicolon. 557 561 558 562 = 1.6.15 (2022-09-04) = -
anrghg/tags/1.6.18/svn-revs.txt
r2780783 r2781035 11 11 Past revisions: 12 12 13 1.6.17.0 2780783 2022-09-06 15:32:22 +0000 (Tue, 06 Sep 2022) 13 14 1.6.16.0 2780342 2022-09-05 21:34:56 +0000 (Mon, 05 Sep 2022) 14 15 1.6.15.0 2779832 2022-09-04 17:16:03 +0000 (Sun, 04 Sep 2022) -
anrghg/trunk/anrghg.php
r2780783 r2781035 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.6.1 716 * Version: 1.6.18 17 17 * Author: ANRGHG 18 18 * Author URI: https://anrghg.sunsite.fr … … 101 101 * @var string C_S_ANRGHG_VER Plugin version constant. 102 102 */ 103 define( 'C_S_ANRGHG_VER', '1.6.1 7' );103 define( 'C_S_ANRGHG_VER', '1.6.18' ); 104 104 105 105 /** -
anrghg/trunk/includes/modular.php
r2780783 r2781035 1433 1433 1434 1434 /** 1435 * Converts okina, letter apostrophe, and certain punctuation marks. 1436 */ 1437 $l_a_needle = array( 'ʻ', 'ʼ', '‐', '‑', '‒', '―', '−', '’', '\'' ); 1438 $l_a_replace = array( '_', '_', '-', '-', '-', '-', '-', '-', '-' ); 1439 $p_s_text = str_replace( $l_a_needle, $l_a_replace, $p_s_text ); 1440 1441 /** 1442 * Converts diacriticized letters to polygraphs, ß to ss, and pound sign to L. 1435 * Converts diacriticized letters to polygraphs, ß to ss, currencies to letters. 1443 1436 */ 1444 1437 // phpcs:ignore 1445 $l_a_needle = array( ' £', 'ß', 'ẞ', 'Å', 'å', 'Ä', 'ä', 'Č', 'č', 'Ř', 'ř' );1446 $l_a_replace = array( ' L', 'ss', 'SS', 'Aa', 'aa', 'Ae', 'ae', 'Cz', 'cz', 'Rz', 'rz' );1438 $l_a_needle = array( '$', '£', '¥', 'ß', 'ẞ', 'Å', 'å', 'Ä', 'ä', 'Č', 'č', 'Ř', 'ř' ); 1439 $l_a_replace = array( 'S', 'L', 'Y', 'ss', 'SS', 'Aa', 'aa', 'Ae', 'ae', 'Cz', 'cz', 'Rz', 'rz' ); 1447 1440 $l_a_lang = explode( '-', get_bloginfo( 'language' ) ); 1448 1441 $l_s_lang = $l_a_lang[0]; … … 1495 1488 1496 1489 /** 1497 * Converts to hyphen-minus. According to `sanitize_title_with_dashes()`. 1498 */ 1499 $l_a_needle = array( '.', '/', ' ', '–', '—', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' 1490 * Converts okina, letter apostrophe to underscore. 1491 */ 1492 $l_a_needle = array( 'ʻ', 'ʼ' ); 1493 $p_s_text = str_replace( $l_a_needle, '_', $p_s_text ); 1494 1495 /** 1496 * Converts to hyphen-minus. Pro parte according to `sanitize_title_with_dashes()`. 1497 */ 1498 $l_a_needle = array( '&', '.', '’', '\'', '/', '\\', '*', '@', '·', '‧', ' ', ' ', '‐', '‑', '−', '‒', '–', '—', '―', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' 1500 1499 ', ' 1501 ' , ' ');1500 ' ); 1502 1501 $p_s_text = str_replace( $l_a_needle, '-', $p_s_text ); 1503 1502 … … 1510 1509 * Removes entirely. According to `sanitize_title_with_dashes()`. 1511 1510 * 1512 * @since 1.6.17 Percent sign is part of th is set.1511 * @since 1.6.17 Percent sign is part of these classes (\p{Po}). 1513 1512 * See * URL-decodes to avoid screwing up percent sign removal. 1514 1513 * `sanitize_title_with_dashes()` also removes 11 “Non-visible 1515 1514 * characters that display without a width”: U+00AD, U+200B, 1516 1515 * U+200B, U+200C, U+200D, U+200E, U+200F, U+202A, U+202B, 1517 * U+202C, U+202D, U+202E, U+FEFF. Rather remove the full set. 1518 */ 1519 $p_s_text = preg_replace( '/\\p{Cf}/u', '', $p_s_text ); 1520 $l_a_needle = array( '%', '¡', '¿', '«', '»', '‹', '›', '‘', '’', '“', '”', '‚', '‛', '„', '‟', '•', '©', '®', '°', '…', '™', '´', 'ˊ' ); 1521 $p_s_text = str_replace( $l_a_needle, '', $p_s_text ); 1516 * U+202C, U+202D, U+202E, U+FEFF. Rather remove the full class 1517 * of format controls (\p{Cf}). Do the same for punctuation, 1518 * except Pc and Pd; also Sk, So, Lm, to catch full sets, that 1519 * '%', '¡', '¿', '«', '»', '‹', '›', '‘', '’', '“', '”', '‚', 1520 * '‛', '„', '‟', '•', '©', '®', '°', '…', '™', '´', 'ˊ' are in. 1521 */ 1522 $p_s_text = preg_replace( '/[\\p{Cf}\\p{Ps}\\p{Pe}\\p{Pi}\\p{Pf}\\p{Po}\\p{Sk}\\p{So}\\p{Lm}]/u', '', $p_s_text ); 1522 1523 1523 1524 /** -
anrghg/trunk/includes/stylesplit.php
r2779832 r2781035 516 516 $l_i_list_column_number_note = anrghg_apply_config( 'anrghg_note_list_layout' ); 517 517 $l_i_list_column_number_source = anrghg_apply_config( 'anrghg_source_list_layout' ); 518 $l_s_list_row_pad _top = 18. 'px';518 $l_s_list_row_padding = 6 . 'px'; 519 519 $l_s_list_row_margin_top = -7 . 'px'; 520 520 $l_s_list_row_line_height = 1.5 . 'em'; … … 734 734 opacity: 1; 735 735 line-height: $l_s_list_row_line_height; 736 padding -top: $l_s_list_row_pad_top;736 padding: $l_s_list_row_padding 0 $l_s_list_row_padding; 737 737 transition: visibility 0s, opacity $l_s_transition_duration ease-in-out, line-height $l_s_transition_duration ease-in-out, padding-top $l_s_transition_duration ease-in-out; 738 738 } … … 754 754 opacity: 1 !important; 755 755 line-height: $l_s_list_row_line_height !important; 756 padding -top: $l_s_list_row_pad_top!important;756 padding: $l_s_list_row_padding 0 $l_s_list_row_padding !important; 757 757 } 758 758 … … 762 762 .anrghg-display-toggle:not(:checked) + .anrghg-complement-list .anrghg-complement-row:target * { 763 763 line-height: $l_s_list_row_line_height; 764 padding -top: $l_s_list_row_pad_top;764 padding: $l_s_list_row_padding 0 $l_s_list_row_padding; 765 765 } 766 766 … … 899 899 $l_s_twistie_color_expanded = '#CBCBCB'; // inherit, or #CBCBCB. 900 900 $l_s_transition_duration = 300 . 'ms'; 901 $l_s_list_row_pad _top = 18. 'px';901 $l_s_list_row_padding = 6 . 'px'; 902 902 $l_s_list_row_line_height = 2 . 'em'; 903 903 $l_s_list_number_min_width = 3.3 . 'em'; … … 1027 1027 opacity: 1; 1028 1028 line-height: $l_s_list_row_line_height; 1029 padding -top: $l_s_list_row_pad_top;1029 padding: $l_s_list_row_padding 0 $l_s_list_row_padding; 1030 1030 transition: visibility 0s, opacity $l_s_transition_duration ease-in-out, line-height $l_s_transition_duration ease-in-out, padding-top $l_s_transition_duration ease-in-out; 1031 1031 } … … 1047 1047 opacity: 1; 1048 1048 line-height: $l_s_list_row_line_height; 1049 padding -top: $l_s_list_row_pad_top;1049 padding: $l_s_list_row_padding 0 $l_s_list_row_padding; 1050 1050 } 1051 1051 … … 1056 1056 opacity: 1; 1057 1057 line-height: $l_s_list_row_line_height; 1058 padding -top: $l_s_list_row_pad_top;1058 padding: $l_s_list_row_padding 0 $l_s_list_row_padding; 1059 1059 } 1060 1060 -
anrghg/trunk/package.json
r2780783 r2781035 1 1 { 2 2 "name": "anrghg", 3 "version": " 1.6.1 7",3 "version": " 1.6.18", 4 4 "description": "A.N.R.GHG Publishing Helper", 5 5 "main": "index.js", -
anrghg/trunk/readme.txt
r2780783 r2781035 8 8 Requires PHP: 5.6 9 9 Tested PHP up to: 8.0 10 Package Version: 1.6.1 7.011 Version: 1.6.1 710 Package Version: 1.6.18.0 11 Version: 1.6.18 12 12 CAUTION: The following field is parsed in `trunk/` for release configuration: 13 Stable Tag: 1.6.1 713 Stable Tag: 1.6.18 14 14 License: GPLv2 or later 15 15 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 542 542 == Changelog == 543 543 544 = 1.6.18 (2022-09-07) = 545 546 * Localization: IDs and slugs: Fix sanitization by removing full classes. 547 * Notes and sources: Lists: Correct line top and bottom padding. 548 * Reference lists: Correct line top and bottom padding. 549 544 550 = 1.6.17 (2022-09-06) = 545 551 546 * Localization: FragmentIDs and slugs: Maintain plus sign instead of letting it turn into space then hyphen-minus.547 * Localization: FragmentIDs and slugs: Stop always deleting acute, grave, circumflex accents, macron and hacek.548 * Localization: FragmentIDs and slugs: Optionally remove the full set of combining diacritics.549 * Localization: FragmentIDs and slugs: Remove the full set of format control characters.550 * Localization: FragmentIDs and slugs: Convert Latin alphabetic abbreviation indicators.552 * Localization: IDs and slugs: Maintain plus sign instead of letting it turn into space then hyphen-minus. 553 * Localization: IDs and slugs: Stop always deleting acute, grave, circumflex accents, macron and hacek. 554 * Localization: IDs and slugs: Optionally remove the full set of combining diacritics. 555 * Localization: IDs and slugs: Remove the full set of format control characters. 556 * Localization: IDs and slugs: Convert Latin alphabetic abbreviation indicators. 551 557 552 558 = 1.6.16 (2022-09-05) = 553 559 554 * Slug body class: Debug portions starting with an ampersand and ending with a semicolon. 555 * Paragraph links: Debug portions starting with an ampersand and ending with a semicolon. 556 * Heading links: Debug portions starting with an ampersand and ending with a semicolon. 560 * Localization: IDs and slugs: Debug portions starting with an ampersand and ending with a semicolon. 557 561 558 562 = 1.6.15 (2022-09-04) = -
anrghg/trunk/svn-revs.txt
r2780783 r2781035 11 11 Past revisions: 12 12 13 1.6.17.0 2780783 2022-09-06 15:32:22 +0000 (Tue, 06 Sep 2022) 13 14 1.6.16.0 2780342 2022-09-05 21:34:56 +0000 (Mon, 05 Sep 2022) 14 15 1.6.15.0 2779832 2022-09-04 17:16:03 +0000 (Sun, 04 Sep 2022)
Note: See TracChangeset
for help on using the changeset viewer.