Changeset 2721728 for gdpr-cookie-compliance
- Timestamp:
- 05/11/2022 06:58:43 AM (4 years ago)
- Location:
- gdpr-cookie-compliance
- Files:
-
- 2 edited
-
tags/4.8.4/class-gdpr-modules.php (modified) (1 diff)
-
trunk/class-gdpr-modules.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
gdpr-cookie-compliance/tags/4.8.4/class-gdpr-modules.php
r2721723 r2721728 157 157 158 158 $content = isset( $modal_options[ 'moove_gdpr_info_bar_content' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_info_bar_content' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_info_bar_content' . $wpml_lang ] : $_content; 159 $content = str_replace( '[setting]', '<span role="link" tabindex="1" data-href="#moove_gdpr_cookie_modal" class="change-settings-button">', $content ); 159 $tabindex = apply_filters('gdpr_tabindex_attribute', '', '1' ); 160 $content = str_replace( '[setting]', '<span role="link" ' . $tabindex . ' data-href="#moove_gdpr_cookie_modal" class="change-settings-button">', $content ); 160 161 $content = str_replace( '[/setting]', '</span>', $content ); 161 162 $content = apply_filters( 'gdpr_info_bar_notice_content', $content ); -
gdpr-cookie-compliance/trunk/class-gdpr-modules.php
r2721723 r2721728 157 157 158 158 $content = isset( $modal_options[ 'moove_gdpr_info_bar_content' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_info_bar_content' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_info_bar_content' . $wpml_lang ] : $_content; 159 $content = str_replace( '[setting]', '<span role="link" tabindex="1" data-href="#moove_gdpr_cookie_modal" class="change-settings-button">', $content ); 159 $tabindex = apply_filters('gdpr_tabindex_attribute', '', '1' ); 160 $content = str_replace( '[setting]', '<span role="link" ' . $tabindex . ' data-href="#moove_gdpr_cookie_modal" class="change-settings-button">', $content ); 160 161 $content = str_replace( '[/setting]', '</span>', $content ); 161 162 $content = apply_filters( 'gdpr_info_bar_notice_content', $content );
Note: See TracChangeset
for help on using the changeset viewer.