- Timestamp:
- 07/11/2022 10:59:47 PM (4 years ago)
- Location:
- anrghg
- Files:
-
- 20 edited
- 1 copied
-
tags/1.4.1 (copied) (copied from anrghg/trunk)
-
tags/1.4.1/admin/anrghg-admin.php (modified) (1 diff)
-
tags/1.4.1/admin/includes/convert.php (modified) (5 diffs)
-
tags/1.4.1/admin/includes/settings.php (modified) (7 diffs)
-
tags/1.4.1/anrghg.php (modified) (3 diffs)
-
tags/1.4.1/includes/contents.php (modified) (2 diffs)
-
tags/1.4.1/includes/core.php (modified) (2 diffs)
-
tags/1.4.1/includes/styles.php (modified) (1 diff)
-
tags/1.4.1/package.json (modified) (1 diff)
-
tags/1.4.1/readme.txt (modified) (3 diffs)
-
tags/1.4.1/svn-revs.txt (modified) (1 diff)
-
trunk/admin/anrghg-admin.php (modified) (1 diff)
-
trunk/admin/includes/convert.php (modified) (5 diffs)
-
trunk/admin/includes/settings.php (modified) (7 diffs)
-
trunk/anrghg.php (modified) (3 diffs)
-
trunk/includes/contents.php (modified) (2 diffs)
-
trunk/includes/core.php (modified) (2 diffs)
-
trunk/includes/styles.php (modified) (1 diff)
-
trunk/package.json (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/svn-revs.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
anrghg/tags/1.4.1/admin/anrghg-admin.php
r2749265 r2754765 55 55 * @since 1.2.1 56 56 * Includes files split off to keep the code editable online. 57 * ./includes/settings.php is not yet small enough, until all 58 * settings are implemented. 57 59 */ 58 60 require_once plugin_dir_path( __FILE__ ) . 'includes/templates.php'; -
anrghg/tags/1.4.1/admin/includes/convert.php
r2749265 r2754765 73 73 return; 74 74 } 75 if ( 'top' === $g_a_anrghg_config['anrghg_menu_level'] ) { 76 // Cannot verify nonce before submission. 77 // Just displaying a message does not require nonce verification. 78 // phpcs:ignore 79 if ( isset( $_GET['settings-updated'] ) ) { 80 add_settings_error( 81 'anrghg_convert_messages', 82 'anrghg_convert_message', 83 __( 'Content saved.', 'anrghg' ), 84 'success' 85 ); 86 } 75 if ( isset( $_POST['anrghg_convert_save_nonce'] ) && ! wp_verify_nonce( sanitize_key( $_POST['anrghg_convert_save_nonce'] ), 'anrghg_convert_save_nonce' ) ) { 76 return; 77 } 78 if ( isset( $_GET['settings-updated'] ) && 'top' === $g_a_anrghg_config['anrghg_menu_level'] ) { 79 add_settings_error( 80 'anrghg_convert_messages', 81 'anrghg_convert_message', 82 __( 'Content saved.', 'anrghg' ), 83 'success' 84 ); 87 85 } 88 86 settings_errors( 'anrghg_convert_messages' ); … … 268 266 $l_s_output .= '<input type="hidden" name="anrghg_action" value="import_docx" />'; 269 267 echo wp_kses( $l_s_output, anrghg_get_ui_whitelist() ); 270 wp_nonce_field( 'anrghg_convert_ nonce', 'anrghg_convert_nonce' );271 submit_button( __( 'Import' ) , 'primary');268 wp_nonce_field( 'anrghg_convert_file_nonce', 'anrghg_convert_file_nonce' ); 269 submit_button( __( 'Import' ) ); 272 270 $l_s_output = "</div></form>\r\n"; 273 271 … … 284 282 $l_s_output .= '<div class="submit">'; 285 283 echo wp_kses( $l_s_output, anrghg_get_ui_whitelist() ); 284 wp_nonce_field( 'anrghg_convert_save_nonce', 'anrghg_convert_save_nonce' ); 286 285 submit_button( __( 'Save Changes' ) ); 287 286 echo wp_kses( "</div></form></div><!--.wrap-->\r\n", anrghg_get_ui_whitelist() ); … … 492 491 function () { 493 492 494 if ( isset( $_POST['anrghg_convert_nonce'] ) && ! wp_verify_nonce( sanitize_key( $_POST['anrghg_convert_nonce'] ), 'anrghg_convert_nonce' ) ) { 493 if ( ! current_user_can( 'manage_options' ) ) { 494 return; 495 } 496 if ( isset( $_POST['anrghg_convert_file_nonce'] ) && ! wp_verify_nonce( sanitize_key( $_POST['anrghg_convert_file_nonce'] ), 'anrghg_convert_file_nonce' ) ) { 495 497 return; 496 498 } … … 499 501 } 500 502 if ( ! 'import_docx' === sanitize_key( $_POST['anrghg_action'] ) ) { 501 return;502 }503 if ( ! current_user_can( 'manage_options' ) ) {504 503 return; 505 504 } -
anrghg/tags/1.4.1/admin/includes/settings.php
r2754237 r2754765 72 72 return; 73 73 } 74 if ( 'top' === $g_a_anrghg_config['anrghg_menu_level'] ) { 75 // Cannot verify nonce before submission. 76 // Just displaying a message does not require nonce verification. 77 // phpcs:ignore 78 if ( isset( $_GET['settings-updated'] ) ) { 79 add_settings_error( 80 'anrghg_messages', 81 'anrghg_message', 82 __( 'Your Configuration has been saved.', 'anrghg' ), 83 'success' 84 ); 85 } 74 if ( isset( $_POST['anrghg_settings_nonce'] ) && ! wp_verify_nonce( sanitize_key( $_POST['anrghg_settings_nonce'] ), 'anrghg_settings_nonce' ) ) { 75 return; 76 } 77 if ( isset( $_GET['settings-updated'] ) && 'top' === $g_a_anrghg_config['anrghg_menu_level'] ) { 78 add_settings_error( 79 'anrghg_messages', 80 'anrghg_message', 81 __( 'Your Configuration has been saved.', 'anrghg' ), 82 'success' 83 ); 86 84 } 87 85 settings_errors( 'anrghg_messages' ); … … 1081 1079 */ 1082 1080 do_settings_sections( 'anrghg' ); 1083 echo '<div class="bottom-spacer"></div>'; 1084 echo '<div class="submit">'; 1081 $l_s_output = '<div class="bottom-spacer"></div>'; 1082 $l_s_output .= '<div class="submit">'; 1083 echo wp_kses( $l_s_output, anrghg_get_ui_whitelist() ); 1084 wp_nonce_field( 'anrghg_settings_nonce', 'anrghg_settings_nonce' ); 1085 1085 submit_button( __( 'Save Changes' ) ); 1086 echo '</div></form></div><!--.wrap-->'; 1086 $l_s_output = '</div></form></div><!--.wrap-->'; 1087 echo wp_kses( $l_s_output, anrghg_get_ui_whitelist() ); 1087 1088 1088 1089 /** … … 3464 3465 * @since 0.60.0 3465 3466 * @since 0.61.0 Return instead of echo. 3466 * @param string $p_s_class Class of the textarea: `medium`, `flat`.3467 * @param string $p_s_upper_label Text with classes `input-upper-label description`.3468 * @param string $p_s_placeholder Configured value, or information about filling in.3469 * @param array $p_a_params Settings keys and other parameters.3470 * @param int $p_i_index If not first in field.3471 * @param bool $p_ b_description Should class `description` be skipped set `false`.3467 * @param string $p_s_class Class of the textarea: `medium`, `flat`. 3468 * @param string $p_s_upper_label Text with classes `input-upper-label description`. 3469 * @param string $p_s_placeholder Configured value, or information about filling in. 3470 * @param array $p_a_params Settings keys and other parameters. 3471 * @param int $p_i_index If not first in field. 3472 * @param bool $p_s_uplabel_class Should class `description` be skipped set empty. 3472 3473 * @return string $l_s_output 3473 3474 */ … … 3478 3479 $p_a_params, 3479 3480 $p_i_index = 0, 3480 $p_ b_description = true3481 $p_s_uplabel_class = 'description' 3481 3482 ) { 3482 3483 $l_s_output = ''; 3483 3484 if ( $p_s_upper_label ) { 3484 $l_s_output .= '<div class="input-upper-label' . ( $p_ b_description ? ' description': '' ) . '">';3485 $l_s_output .= '<div class="input-upper-label' . ( $p_s_uplabel_class ? ' ' . $p_s_uplabel_class : '' ) . '">'; 3485 3486 $l_s_output .= '<label for="' . $p_a_params[ 'key_' . $p_i_index ] . '">' . $p_s_upper_label . '</label></div>'; 3486 3487 } … … 5699 5700 sprintf( __( 'Please separate values with a comma, and pairs with a semicolon. Line breaks and spaces are ignored. Example: %s', 'anrghg' ), "\r\noriginal1,result1;original2, result2;\r\noriginal3 , result3 ;" ), 5700 5701 $p_a_params, 5701 2 5702 2, 5703 'important description' 5702 5704 ) 5703 5705 ), … … 6118 6120 anrghg_settings_section_link( $p_a_params ); 6119 6121 anrghg_introduction( 6120 __( 'Security is increased by deactivating authentication cookie generation.', 'anrghg' ),6122 __( 'Security is increased by deactivating authentication cookie sending.', 'anrghg' ), 6121 6123 __( 'The cookie lifespan may then optionally be increased.', 'anrghg' ) 6122 6124 ); … … 6202 6204 0, 6203 6205 '-1', 6204 array( __( 'Low profile', 'anrghg' ), __( 'Only the authentication cookie generationis blocked; login attempts are ineffective', 'anrghg' ) ),6206 array( __( 'Low profile', 'anrghg' ), __( 'Only the authentication cookie sending is blocked; login attempts are ineffective', 'anrghg' ) ), 6205 6207 $p_a_params 6206 6208 ), -
anrghg/tags/1.4.1/anrghg.php
r2754237 r2754765 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.4. 016 * Version: 1.4.1 17 17 * Author: ANRGHG 18 18 * Author URI: https://anrghg.sunsite.fr … … 84 84 * @var string C_S_ANRGHG_VER Plugin version constant. 85 85 */ 86 define( 'C_S_ANRGHG_VER', '1.4. 0' );86 define( 'C_S_ANRGHG_VER', '1.4.1' ); 87 87 88 88 /** … … 479 479 * Localization. 480 480 */ 481 'anrghg_fragment_ids_support_titlecase' => ' 1',481 'anrghg_fragment_ids_support_titlecase' => '0', 482 482 'anrghg_fragment_ids_remove_accents' => '1', 483 483 'anrghg_fragment_ids_more_conversions' => '0', -
anrghg/tags/1.4.1/includes/contents.php
r2749921 r2754765 431 431 $l_s_prepended .= '<a class="anrghg-heading-number anrghg-before" href="#'; 432 432 $l_s_prepended .= $l_s_contents_id_prefix . $l_s_connector . $l_s_unique_id . '"'; 433 $l_s_prepended .= $l_s_title;434 433 if ( $l_b_amp_active ) { 435 434 $l_s_prepended .= ' on="tap:anrghg_toggle_contents_' . $l_i_post_id; … … 504 503 $l_s_appended .= '<a class="anrghg-heading-number anrghg-after" href="#'; 505 504 $l_s_appended .= $l_s_contents_id_prefix . $l_s_connector . $l_s_unique_id . '"'; 506 $l_s_appended .= $l_s_title;507 505 if ( $l_b_amp_active ) { 508 506 $l_s_appended .= ' on="tap:anrghg_toggle_contents_' . $l_i_post_id; -
anrghg/tags/1.4.1/includes/core.php
r2749921 r2754765 118 118 * @since 0.68.0 Setting to turn off redesigned automatic excerpts. 119 119 * 120 * @courtesy WordPress.org121 120 * @see `wp_trim_excerpt()` in wp-includes/formatting.php:3840..3900 122 121 * We cannot use `has_excerpt()` since it fails to trim. … … 445 444 * 446 445 * @since 0.74.0 447 * @courtesy WordPress.org448 446 * @see wp-includes/formatting.php:2196 449 * The context is not used because this must work everywhere,450 * i.e. for 'save', but also for 'query' or links will break.451 447 * @param string $p_s_title Sanitized title. 452 448 * @param string $p_s_raw_title The title prior to sanitization. -
anrghg/tags/1.4.1/includes/styles.php
r2748691 r2754765 569 569 " 570 570 571 .anrghg-heading-link {571 .anrghg-heading-link:not(:hover) { 572 572 border-bottom: none !important; 573 573 color: $l_s_text_color_link; -
anrghg/tags/1.4.1/package.json
r2754237 r2754765 1 1 { 2 2 "name": "anrghg", 3 "version": " 1.4. 0",3 "version": " 1.4.1", 4 4 "description": "A.N.R.GHG Publishing Helper", 5 5 "main": "index.js", -
anrghg/tags/1.4.1/readme.txt
r2754237 r2754765 8 8 Requires PHP: 5.6 9 9 Tested PHP up to: 8.0 10 Package Version: 1.4. 0.011 Version: 1.4. 010 Package Version: 1.4.1.0 11 Version: 1.4.1 12 12 CAUTION: The following field is parsed in trunk/ for release configuration: 13 Stable Tag: 1.4. 013 Stable Tag: 1.4.1 14 14 License: GPLv2 or later 15 15 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 499 499 == Changelog == 500 500 501 = 1.4.1 (2022-07-11) = 502 503 * Security: Settings: Add missing nonce field. 504 * Security: Settings: Add nonce verification condition to settings saved message. 505 * Security: Conversion: Add dual nonce fields and verification. 506 * Heading links: Remove tooltips from heading numbers. 507 * Heading links: Make CSS more robust, cross-theme compatible. 508 * Localization: Allow uppercase in identifiers: Change default from yes to no. 509 501 510 = 1.4.0 (2022-07-10) = 502 511 … … 2011 2020 2012 2021 == Upgrade Notice == 2013 2014 = 1.4.0 =2015 2016 The security feature’s login screen high and standard profiles should not be used unless the dialog is not useful any longer. Also it is recommended to define the constant in a mini-plugin using the included template, and to delete its definition in `wp-config.php`. -
anrghg/tags/1.4.1/svn-revs.txt
r2754237 r2754765 11 11 Previous revisions: 12 12 13 1.4.0.0 2754237 2022-07-10 17:33:47 +0000 (Sun, 10 Jul 2022) 13 14 1.3.1.0 2749921 2022-06-29 23:39:46 +0000 (Wed, 29 Jun 2022) 14 15 1.3.0.0 2749265 2022-06-28 19:01:37 +0000 (Tue, 28 Jun 2022) -
anrghg/trunk/admin/anrghg-admin.php
r2749265 r2754765 55 55 * @since 1.2.1 56 56 * Includes files split off to keep the code editable online. 57 * ./includes/settings.php is not yet small enough, until all 58 * settings are implemented. 57 59 */ 58 60 require_once plugin_dir_path( __FILE__ ) . 'includes/templates.php'; -
anrghg/trunk/admin/includes/convert.php
r2749265 r2754765 73 73 return; 74 74 } 75 if ( 'top' === $g_a_anrghg_config['anrghg_menu_level'] ) { 76 // Cannot verify nonce before submission. 77 // Just displaying a message does not require nonce verification. 78 // phpcs:ignore 79 if ( isset( $_GET['settings-updated'] ) ) { 80 add_settings_error( 81 'anrghg_convert_messages', 82 'anrghg_convert_message', 83 __( 'Content saved.', 'anrghg' ), 84 'success' 85 ); 86 } 75 if ( isset( $_POST['anrghg_convert_save_nonce'] ) && ! wp_verify_nonce( sanitize_key( $_POST['anrghg_convert_save_nonce'] ), 'anrghg_convert_save_nonce' ) ) { 76 return; 77 } 78 if ( isset( $_GET['settings-updated'] ) && 'top' === $g_a_anrghg_config['anrghg_menu_level'] ) { 79 add_settings_error( 80 'anrghg_convert_messages', 81 'anrghg_convert_message', 82 __( 'Content saved.', 'anrghg' ), 83 'success' 84 ); 87 85 } 88 86 settings_errors( 'anrghg_convert_messages' ); … … 268 266 $l_s_output .= '<input type="hidden" name="anrghg_action" value="import_docx" />'; 269 267 echo wp_kses( $l_s_output, anrghg_get_ui_whitelist() ); 270 wp_nonce_field( 'anrghg_convert_ nonce', 'anrghg_convert_nonce' );271 submit_button( __( 'Import' ) , 'primary');268 wp_nonce_field( 'anrghg_convert_file_nonce', 'anrghg_convert_file_nonce' ); 269 submit_button( __( 'Import' ) ); 272 270 $l_s_output = "</div></form>\r\n"; 273 271 … … 284 282 $l_s_output .= '<div class="submit">'; 285 283 echo wp_kses( $l_s_output, anrghg_get_ui_whitelist() ); 284 wp_nonce_field( 'anrghg_convert_save_nonce', 'anrghg_convert_save_nonce' ); 286 285 submit_button( __( 'Save Changes' ) ); 287 286 echo wp_kses( "</div></form></div><!--.wrap-->\r\n", anrghg_get_ui_whitelist() ); … … 492 491 function () { 493 492 494 if ( isset( $_POST['anrghg_convert_nonce'] ) && ! wp_verify_nonce( sanitize_key( $_POST['anrghg_convert_nonce'] ), 'anrghg_convert_nonce' ) ) { 493 if ( ! current_user_can( 'manage_options' ) ) { 494 return; 495 } 496 if ( isset( $_POST['anrghg_convert_file_nonce'] ) && ! wp_verify_nonce( sanitize_key( $_POST['anrghg_convert_file_nonce'] ), 'anrghg_convert_file_nonce' ) ) { 495 497 return; 496 498 } … … 499 501 } 500 502 if ( ! 'import_docx' === sanitize_key( $_POST['anrghg_action'] ) ) { 501 return;502 }503 if ( ! current_user_can( 'manage_options' ) ) {504 503 return; 505 504 } -
anrghg/trunk/admin/includes/settings.php
r2754237 r2754765 72 72 return; 73 73 } 74 if ( 'top' === $g_a_anrghg_config['anrghg_menu_level'] ) { 75 // Cannot verify nonce before submission. 76 // Just displaying a message does not require nonce verification. 77 // phpcs:ignore 78 if ( isset( $_GET['settings-updated'] ) ) { 79 add_settings_error( 80 'anrghg_messages', 81 'anrghg_message', 82 __( 'Your Configuration has been saved.', 'anrghg' ), 83 'success' 84 ); 85 } 74 if ( isset( $_POST['anrghg_settings_nonce'] ) && ! wp_verify_nonce( sanitize_key( $_POST['anrghg_settings_nonce'] ), 'anrghg_settings_nonce' ) ) { 75 return; 76 } 77 if ( isset( $_GET['settings-updated'] ) && 'top' === $g_a_anrghg_config['anrghg_menu_level'] ) { 78 add_settings_error( 79 'anrghg_messages', 80 'anrghg_message', 81 __( 'Your Configuration has been saved.', 'anrghg' ), 82 'success' 83 ); 86 84 } 87 85 settings_errors( 'anrghg_messages' ); … … 1081 1079 */ 1082 1080 do_settings_sections( 'anrghg' ); 1083 echo '<div class="bottom-spacer"></div>'; 1084 echo '<div class="submit">'; 1081 $l_s_output = '<div class="bottom-spacer"></div>'; 1082 $l_s_output .= '<div class="submit">'; 1083 echo wp_kses( $l_s_output, anrghg_get_ui_whitelist() ); 1084 wp_nonce_field( 'anrghg_settings_nonce', 'anrghg_settings_nonce' ); 1085 1085 submit_button( __( 'Save Changes' ) ); 1086 echo '</div></form></div><!--.wrap-->'; 1086 $l_s_output = '</div></form></div><!--.wrap-->'; 1087 echo wp_kses( $l_s_output, anrghg_get_ui_whitelist() ); 1087 1088 1088 1089 /** … … 3464 3465 * @since 0.60.0 3465 3466 * @since 0.61.0 Return instead of echo. 3466 * @param string $p_s_class Class of the textarea: `medium`, `flat`.3467 * @param string $p_s_upper_label Text with classes `input-upper-label description`.3468 * @param string $p_s_placeholder Configured value, or information about filling in.3469 * @param array $p_a_params Settings keys and other parameters.3470 * @param int $p_i_index If not first in field.3471 * @param bool $p_ b_description Should class `description` be skipped set `false`.3467 * @param string $p_s_class Class of the textarea: `medium`, `flat`. 3468 * @param string $p_s_upper_label Text with classes `input-upper-label description`. 3469 * @param string $p_s_placeholder Configured value, or information about filling in. 3470 * @param array $p_a_params Settings keys and other parameters. 3471 * @param int $p_i_index If not first in field. 3472 * @param bool $p_s_uplabel_class Should class `description` be skipped set empty. 3472 3473 * @return string $l_s_output 3473 3474 */ … … 3478 3479 $p_a_params, 3479 3480 $p_i_index = 0, 3480 $p_ b_description = true3481 $p_s_uplabel_class = 'description' 3481 3482 ) { 3482 3483 $l_s_output = ''; 3483 3484 if ( $p_s_upper_label ) { 3484 $l_s_output .= '<div class="input-upper-label' . ( $p_ b_description ? ' description': '' ) . '">';3485 $l_s_output .= '<div class="input-upper-label' . ( $p_s_uplabel_class ? ' ' . $p_s_uplabel_class : '' ) . '">'; 3485 3486 $l_s_output .= '<label for="' . $p_a_params[ 'key_' . $p_i_index ] . '">' . $p_s_upper_label . '</label></div>'; 3486 3487 } … … 5699 5700 sprintf( __( 'Please separate values with a comma, and pairs with a semicolon. Line breaks and spaces are ignored. Example: %s', 'anrghg' ), "\r\noriginal1,result1;original2, result2;\r\noriginal3 , result3 ;" ), 5700 5701 $p_a_params, 5701 2 5702 2, 5703 'important description' 5702 5704 ) 5703 5705 ), … … 6118 6120 anrghg_settings_section_link( $p_a_params ); 6119 6121 anrghg_introduction( 6120 __( 'Security is increased by deactivating authentication cookie generation.', 'anrghg' ),6122 __( 'Security is increased by deactivating authentication cookie sending.', 'anrghg' ), 6121 6123 __( 'The cookie lifespan may then optionally be increased.', 'anrghg' ) 6122 6124 ); … … 6202 6204 0, 6203 6205 '-1', 6204 array( __( 'Low profile', 'anrghg' ), __( 'Only the authentication cookie generationis blocked; login attempts are ineffective', 'anrghg' ) ),6206 array( __( 'Low profile', 'anrghg' ), __( 'Only the authentication cookie sending is blocked; login attempts are ineffective', 'anrghg' ) ), 6205 6207 $p_a_params 6206 6208 ), -
anrghg/trunk/anrghg.php
r2754237 r2754765 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.4. 016 * Version: 1.4.1 17 17 * Author: ANRGHG 18 18 * Author URI: https://anrghg.sunsite.fr … … 84 84 * @var string C_S_ANRGHG_VER Plugin version constant. 85 85 */ 86 define( 'C_S_ANRGHG_VER', '1.4. 0' );86 define( 'C_S_ANRGHG_VER', '1.4.1' ); 87 87 88 88 /** … … 479 479 * Localization. 480 480 */ 481 'anrghg_fragment_ids_support_titlecase' => ' 1',481 'anrghg_fragment_ids_support_titlecase' => '0', 482 482 'anrghg_fragment_ids_remove_accents' => '1', 483 483 'anrghg_fragment_ids_more_conversions' => '0', -
anrghg/trunk/includes/contents.php
r2749921 r2754765 431 431 $l_s_prepended .= '<a class="anrghg-heading-number anrghg-before" href="#'; 432 432 $l_s_prepended .= $l_s_contents_id_prefix . $l_s_connector . $l_s_unique_id . '"'; 433 $l_s_prepended .= $l_s_title;434 433 if ( $l_b_amp_active ) { 435 434 $l_s_prepended .= ' on="tap:anrghg_toggle_contents_' . $l_i_post_id; … … 504 503 $l_s_appended .= '<a class="anrghg-heading-number anrghg-after" href="#'; 505 504 $l_s_appended .= $l_s_contents_id_prefix . $l_s_connector . $l_s_unique_id . '"'; 506 $l_s_appended .= $l_s_title;507 505 if ( $l_b_amp_active ) { 508 506 $l_s_appended .= ' on="tap:anrghg_toggle_contents_' . $l_i_post_id; -
anrghg/trunk/includes/core.php
r2749921 r2754765 118 118 * @since 0.68.0 Setting to turn off redesigned automatic excerpts. 119 119 * 120 * @courtesy WordPress.org121 120 * @see `wp_trim_excerpt()` in wp-includes/formatting.php:3840..3900 122 121 * We cannot use `has_excerpt()` since it fails to trim. … … 445 444 * 446 445 * @since 0.74.0 447 * @courtesy WordPress.org448 446 * @see wp-includes/formatting.php:2196 449 * The context is not used because this must work everywhere,450 * i.e. for 'save', but also for 'query' or links will break.451 447 * @param string $p_s_title Sanitized title. 452 448 * @param string $p_s_raw_title The title prior to sanitization. -
anrghg/trunk/includes/styles.php
r2748691 r2754765 569 569 " 570 570 571 .anrghg-heading-link {571 .anrghg-heading-link:not(:hover) { 572 572 border-bottom: none !important; 573 573 color: $l_s_text_color_link; -
anrghg/trunk/package.json
r2754237 r2754765 1 1 { 2 2 "name": "anrghg", 3 "version": " 1.4. 0",3 "version": " 1.4.1", 4 4 "description": "A.N.R.GHG Publishing Helper", 5 5 "main": "index.js", -
anrghg/trunk/readme.txt
r2754237 r2754765 8 8 Requires PHP: 5.6 9 9 Tested PHP up to: 8.0 10 Package Version: 1.4. 0.011 Version: 1.4. 010 Package Version: 1.4.1.0 11 Version: 1.4.1 12 12 CAUTION: The following field is parsed in trunk/ for release configuration: 13 Stable Tag: 1.4. 013 Stable Tag: 1.4.1 14 14 License: GPLv2 or later 15 15 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 499 499 == Changelog == 500 500 501 = 1.4.1 (2022-07-11) = 502 503 * Security: Settings: Add missing nonce field. 504 * Security: Settings: Add nonce verification condition to settings saved message. 505 * Security: Conversion: Add dual nonce fields and verification. 506 * Heading links: Remove tooltips from heading numbers. 507 * Heading links: Make CSS more robust, cross-theme compatible. 508 * Localization: Allow uppercase in identifiers: Change default from yes to no. 509 501 510 = 1.4.0 (2022-07-10) = 502 511 … … 2011 2020 2012 2021 == Upgrade Notice == 2013 2014 = 1.4.0 =2015 2016 The security feature’s login screen high and standard profiles should not be used unless the dialog is not useful any longer. Also it is recommended to define the constant in a mini-plugin using the included template, and to delete its definition in `wp-config.php`. -
anrghg/trunk/svn-revs.txt
r2754237 r2754765 11 11 Previous revisions: 12 12 13 1.4.0.0 2754237 2022-07-10 17:33:47 +0000 (Sun, 10 Jul 2022) 13 14 1.3.1.0 2749921 2022-06-29 23:39:46 +0000 (Wed, 29 Jun 2022) 14 15 1.3.0.0 2749265 2022-06-28 19:01:37 +0000 (Tue, 28 Jun 2022)
Note: See TracChangeset
for help on using the changeset viewer.