Plugin Directory

Changeset 2754765 for anrghg


Ignore:
Timestamp:
07/11/2022 10:59:47 PM (4 years ago)
Author:
anrghg
Message:

1.4.1.0

1.4.1 (2022-07-11)

  • Security: Settings: Add missing nonce field.
  • Security: Settings: Add nonce verification condition to settings saved message.
  • Security: Conversion: Add dual nonce fields and verification.
  • Heading links: Remove tooltips from heading numbers.
  • Heading links: Make CSS more robust, cross-theme compatible.
  • Localization: Allow uppercase in identifiers: Change default from yes to no.
Location:
anrghg
Files:
20 edited
1 copied

Legend:

Unmodified
Added
Removed
  • anrghg/tags/1.4.1/admin/anrghg-admin.php

    r2749265 r2754765  
    5555 * @since 1.2.1
    5656 * 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.
    5759 */
    5860require_once plugin_dir_path( __FILE__ ) . 'includes/templates.php';
  • anrghg/tags/1.4.1/admin/includes/convert.php

    r2749265 r2754765  
    7373        return;
    7474    }
    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        );
    8785    }
    8886    settings_errors( 'anrghg_convert_messages' );
     
    268266    $l_s_output .= '<input type="hidden" name="anrghg_action" value="import_docx" />';
    269267    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' ) );
    272270    $l_s_output = "</div></form>\r\n";
    273271
     
    284282    $l_s_output .= '<div class="submit">';
    285283    echo wp_kses( $l_s_output, anrghg_get_ui_whitelist() );
     284    wp_nonce_field( 'anrghg_convert_save_nonce', 'anrghg_convert_save_nonce' );
    286285    submit_button( __( 'Save Changes' ) );
    287286    echo wp_kses( "</div></form></div><!--.wrap-->\r\n", anrghg_get_ui_whitelist() );
     
    492491    function () {
    493492
    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' ) ) {
    495497            return;
    496498        }
     
    499501        }
    500502        if ( ! 'import_docx' === sanitize_key( $_POST['anrghg_action'] ) ) {
    501             return;
    502         }
    503         if ( ! current_user_can( 'manage_options' ) ) {
    504503            return;
    505504        }
  • anrghg/tags/1.4.1/admin/includes/settings.php

    r2754237 r2754765  
    7272        return;
    7373    }
    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        );
    8684    }
    8785    settings_errors( 'anrghg_messages' );
     
    10811079     */
    10821080    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' );
    10851085    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() );
    10871088
    10881089    /**
     
    34643465 * @since 0.60.0
    34653466 * @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.
    34723473 * @return string $l_s_output
    34733474 */
     
    34783479    $p_a_params,
    34793480    $p_i_index = 0,
    3480     $p_b_description = true
     3481    $p_s_uplabel_class = 'description'
    34813482) {
    34823483    $l_s_output = '';
    34833484    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 : '' ) . '">';
    34853486        $l_s_output .= '<label for="' . $p_a_params[ 'key_' . $p_i_index ] . '">' . $p_s_upper_label . '</label></div>';
    34863487    }
     
    56995700                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 ;" ),
    57005701                $p_a_params,
    5701                 2
     5702                2,
     5703                'important description'
    57025704            )
    57035705        ),
     
    61186120    anrghg_settings_section_link( $p_a_params );
    61196121    anrghg_introduction(
    6120         __( 'Security is increased by deactivating authentication cookie generation.', 'anrghg' ),
     6122        __( 'Security is increased by deactivating authentication cookie sending.', 'anrghg' ),
    61216123        __( 'The cookie lifespan may then optionally be increased.', 'anrghg' )
    61226124    );
     
    62026204                0,
    62036205                '-1',
    6204                 array( __( 'Low profile', 'anrghg' ), __( 'Only the authentication cookie generation is blocked; login attempts are ineffective', 'anrghg' ) ),
     6206                array( __( 'Low profile', 'anrghg' ), __( 'Only the authentication cookie sending is blocked; login attempts are ineffective', 'anrghg' ) ),
    62056207                $p_a_params
    62066208            ),
  • anrghg/tags/1.4.1/anrghg.php

    r2754237 r2754765  
    1414 * Tested PHP up to: 8.0
    1515 * CAUTION: The following field is parsed in the stable tag folder for upgrade configuration:
    16  * Version: 1.4.0
     16 * Version: 1.4.1
    1717 * Author: ANRGHG
    1818 * Author URI: https://anrghg.sunsite.fr
     
    8484 * @var string C_S_ANRGHG_VER  Plugin version constant.
    8585 */
    86 define( 'C_S_ANRGHG_VER', '1.4.0' );
     86define( 'C_S_ANRGHG_VER', '1.4.1' );
    8787
    8888/**
     
    479479             * Localization.
    480480             */
    481             'anrghg_fragment_ids_support_titlecase'        => '1',
     481            'anrghg_fragment_ids_support_titlecase'        => '0',
    482482            'anrghg_fragment_ids_remove_accents'           => '1',
    483483            'anrghg_fragment_ids_more_conversions'         => '0',
  • anrghg/tags/1.4.1/includes/contents.php

    r2749921 r2754765  
    431431                            $l_s_prepended .= '<a class="anrghg-heading-number anrghg-before" href="#';
    432432                            $l_s_prepended .= $l_s_contents_id_prefix . $l_s_connector . $l_s_unique_id . '"';
    433                             $l_s_prepended .= $l_s_title;
    434433                            if ( $l_b_amp_active ) {
    435434                                $l_s_prepended .= ' on="tap:anrghg_toggle_contents_' . $l_i_post_id;
     
    504503                            $l_s_appended .= '<a class="anrghg-heading-number anrghg-after" href="#';
    505504                            $l_s_appended .= $l_s_contents_id_prefix . $l_s_connector . $l_s_unique_id . '"';
    506                             $l_s_appended .= $l_s_title;
    507505                            if ( $l_b_amp_active ) {
    508506                                $l_s_appended .= ' on="tap:anrghg_toggle_contents_' . $l_i_post_id;
  • anrghg/tags/1.4.1/includes/core.php

    r2749921 r2754765  
    118118 * @since 0.68.0 Setting to turn off redesigned automatic excerpts.
    119119 *
    120  * @courtesy WordPress.org
    121120 * @see `wp_trim_excerpt()` in wp-includes/formatting.php:3840..3900
    122121 * We cannot use `has_excerpt()` since it fails to trim.
     
    445444 *
    446445 * @since 0.74.0
    447  * @courtesy WordPress.org
    448446 * @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.
    451447 * @param  string $p_s_title     Sanitized title.
    452448 * @param  string $p_s_raw_title The title prior to sanitization.
  • anrghg/tags/1.4.1/includes/styles.php

    r2748691 r2754765  
    569569                "
    570570
    571                     .anrghg-heading-link {
     571                    .anrghg-heading-link:not(:hover) {
    572572                        border-bottom: none !important;
    573573                        color: $l_s_text_color_link;
  • anrghg/tags/1.4.1/package.json

    r2754237 r2754765  
    11{
    22  "name": "anrghg",
    3   "version": " 1.4.0",
     3  "version": " 1.4.1",
    44  "description": "A.N.R.GHG Publishing Helper",
    55  "main": "index.js",
  • anrghg/tags/1.4.1/readme.txt

    r2754237 r2754765  
    88Requires PHP: 5.6
    99Tested PHP up to: 8.0
    10 Package Version: 1.4.0.0
    11 Version: 1.4.0
     10Package Version: 1.4.1.0
     11Version: 1.4.1
    1212CAUTION: The following field is parsed in trunk/ for release configuration:
    13 Stable Tag: 1.4.0
     13Stable Tag: 1.4.1
    1414License: GPLv2 or later
    1515License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    499499== Changelog ==
    500500
     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
    501510= 1.4.0 (2022-07-10) =
    502511
     
    20112020
    20122021== 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  
    1111Previous revisions:
    1212
     131.4.0.0        2754237  2022-07-10 17:33:47 +0000 (Sun, 10 Jul 2022)
    13141.3.1.0        2749921  2022-06-29 23:39:46 +0000 (Wed, 29 Jun 2022)
    14151.3.0.0        2749265  2022-06-28 19:01:37 +0000 (Tue, 28 Jun 2022)
  • anrghg/trunk/admin/anrghg-admin.php

    r2749265 r2754765  
    5555 * @since 1.2.1
    5656 * 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.
    5759 */
    5860require_once plugin_dir_path( __FILE__ ) . 'includes/templates.php';
  • anrghg/trunk/admin/includes/convert.php

    r2749265 r2754765  
    7373        return;
    7474    }
    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        );
    8785    }
    8886    settings_errors( 'anrghg_convert_messages' );
     
    268266    $l_s_output .= '<input type="hidden" name="anrghg_action" value="import_docx" />';
    269267    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' ) );
    272270    $l_s_output = "</div></form>\r\n";
    273271
     
    284282    $l_s_output .= '<div class="submit">';
    285283    echo wp_kses( $l_s_output, anrghg_get_ui_whitelist() );
     284    wp_nonce_field( 'anrghg_convert_save_nonce', 'anrghg_convert_save_nonce' );
    286285    submit_button( __( 'Save Changes' ) );
    287286    echo wp_kses( "</div></form></div><!--.wrap-->\r\n", anrghg_get_ui_whitelist() );
     
    492491    function () {
    493492
    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' ) ) {
    495497            return;
    496498        }
     
    499501        }
    500502        if ( ! 'import_docx' === sanitize_key( $_POST['anrghg_action'] ) ) {
    501             return;
    502         }
    503         if ( ! current_user_can( 'manage_options' ) ) {
    504503            return;
    505504        }
  • anrghg/trunk/admin/includes/settings.php

    r2754237 r2754765  
    7272        return;
    7373    }
    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        );
    8684    }
    8785    settings_errors( 'anrghg_messages' );
     
    10811079     */
    10821080    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' );
    10851085    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() );
    10871088
    10881089    /**
     
    34643465 * @since 0.60.0
    34653466 * @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.
    34723473 * @return string $l_s_output
    34733474 */
     
    34783479    $p_a_params,
    34793480    $p_i_index = 0,
    3480     $p_b_description = true
     3481    $p_s_uplabel_class = 'description'
    34813482) {
    34823483    $l_s_output = '';
    34833484    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 : '' ) . '">';
    34853486        $l_s_output .= '<label for="' . $p_a_params[ 'key_' . $p_i_index ] . '">' . $p_s_upper_label . '</label></div>';
    34863487    }
     
    56995700                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 ;" ),
    57005701                $p_a_params,
    5701                 2
     5702                2,
     5703                'important description'
    57025704            )
    57035705        ),
     
    61186120    anrghg_settings_section_link( $p_a_params );
    61196121    anrghg_introduction(
    6120         __( 'Security is increased by deactivating authentication cookie generation.', 'anrghg' ),
     6122        __( 'Security is increased by deactivating authentication cookie sending.', 'anrghg' ),
    61216123        __( 'The cookie lifespan may then optionally be increased.', 'anrghg' )
    61226124    );
     
    62026204                0,
    62036205                '-1',
    6204                 array( __( 'Low profile', 'anrghg' ), __( 'Only the authentication cookie generation is blocked; login attempts are ineffective', 'anrghg' ) ),
     6206                array( __( 'Low profile', 'anrghg' ), __( 'Only the authentication cookie sending is blocked; login attempts are ineffective', 'anrghg' ) ),
    62056207                $p_a_params
    62066208            ),
  • anrghg/trunk/anrghg.php

    r2754237 r2754765  
    1414 * Tested PHP up to: 8.0
    1515 * CAUTION: The following field is parsed in the stable tag folder for upgrade configuration:
    16  * Version: 1.4.0
     16 * Version: 1.4.1
    1717 * Author: ANRGHG
    1818 * Author URI: https://anrghg.sunsite.fr
     
    8484 * @var string C_S_ANRGHG_VER  Plugin version constant.
    8585 */
    86 define( 'C_S_ANRGHG_VER', '1.4.0' );
     86define( 'C_S_ANRGHG_VER', '1.4.1' );
    8787
    8888/**
     
    479479             * Localization.
    480480             */
    481             'anrghg_fragment_ids_support_titlecase'        => '1',
     481            'anrghg_fragment_ids_support_titlecase'        => '0',
    482482            'anrghg_fragment_ids_remove_accents'           => '1',
    483483            'anrghg_fragment_ids_more_conversions'         => '0',
  • anrghg/trunk/includes/contents.php

    r2749921 r2754765  
    431431                            $l_s_prepended .= '<a class="anrghg-heading-number anrghg-before" href="#';
    432432                            $l_s_prepended .= $l_s_contents_id_prefix . $l_s_connector . $l_s_unique_id . '"';
    433                             $l_s_prepended .= $l_s_title;
    434433                            if ( $l_b_amp_active ) {
    435434                                $l_s_prepended .= ' on="tap:anrghg_toggle_contents_' . $l_i_post_id;
     
    504503                            $l_s_appended .= '<a class="anrghg-heading-number anrghg-after" href="#';
    505504                            $l_s_appended .= $l_s_contents_id_prefix . $l_s_connector . $l_s_unique_id . '"';
    506                             $l_s_appended .= $l_s_title;
    507505                            if ( $l_b_amp_active ) {
    508506                                $l_s_appended .= ' on="tap:anrghg_toggle_contents_' . $l_i_post_id;
  • anrghg/trunk/includes/core.php

    r2749921 r2754765  
    118118 * @since 0.68.0 Setting to turn off redesigned automatic excerpts.
    119119 *
    120  * @courtesy WordPress.org
    121120 * @see `wp_trim_excerpt()` in wp-includes/formatting.php:3840..3900
    122121 * We cannot use `has_excerpt()` since it fails to trim.
     
    445444 *
    446445 * @since 0.74.0
    447  * @courtesy WordPress.org
    448446 * @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.
    451447 * @param  string $p_s_title     Sanitized title.
    452448 * @param  string $p_s_raw_title The title prior to sanitization.
  • anrghg/trunk/includes/styles.php

    r2748691 r2754765  
    569569                "
    570570
    571                     .anrghg-heading-link {
     571                    .anrghg-heading-link:not(:hover) {
    572572                        border-bottom: none !important;
    573573                        color: $l_s_text_color_link;
  • anrghg/trunk/package.json

    r2754237 r2754765  
    11{
    22  "name": "anrghg",
    3   "version": " 1.4.0",
     3  "version": " 1.4.1",
    44  "description": "A.N.R.GHG Publishing Helper",
    55  "main": "index.js",
  • anrghg/trunk/readme.txt

    r2754237 r2754765  
    88Requires PHP: 5.6
    99Tested PHP up to: 8.0
    10 Package Version: 1.4.0.0
    11 Version: 1.4.0
     10Package Version: 1.4.1.0
     11Version: 1.4.1
    1212CAUTION: The following field is parsed in trunk/ for release configuration:
    13 Stable Tag: 1.4.0
     13Stable Tag: 1.4.1
    1414License: GPLv2 or later
    1515License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    499499== Changelog ==
    500500
     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
    501510= 1.4.0 (2022-07-10) =
    502511
     
    20112020
    20122021== 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  
    1111Previous revisions:
    1212
     131.4.0.0        2754237  2022-07-10 17:33:47 +0000 (Sun, 10 Jul 2022)
    13141.3.1.0        2749921  2022-06-29 23:39:46 +0000 (Wed, 29 Jun 2022)
    14151.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.