Changeset 3228041 for gdpr-cookie-compliance
- Timestamp:
- 01/24/2025 01:02:16 PM (14 months ago)
- Location:
- gdpr-cookie-compliance
- Files:
-
- 145 added
- 18 edited
-
tags/4.15.7 (added)
-
tags/4.15.7/assets (added)
-
tags/4.15.7/assets/fonts (added)
-
tags/4.15.7/assets/fonts/.gitkeep (added)
-
tags/4.15.7/assets/fonts/nunito-v8-latin-700.eot (added)
-
tags/4.15.7/assets/fonts/nunito-v8-latin-700.svg (added)
-
tags/4.15.7/assets/fonts/nunito-v8-latin-700.ttf (added)
-
tags/4.15.7/assets/fonts/nunito-v8-latin-700.woff (added)
-
tags/4.15.7/assets/fonts/nunito-v8-latin-700.woff2 (added)
-
tags/4.15.7/assets/fonts/nunito-v8-latin-regular.eot (added)
-
tags/4.15.7/assets/fonts/nunito-v8-latin-regular.svg (added)
-
tags/4.15.7/assets/fonts/nunito-v8-latin-regular.ttf (added)
-
tags/4.15.7/assets/fonts/nunito-v8-latin-regular.woff (added)
-
tags/4.15.7/assets/fonts/nunito-v8-latin-regular.woff2 (added)
-
tags/4.15.7/assets/images (added)
-
tags/4.15.7/assets/images/.gitkeep (added)
-
tags/4.15.7/assets/images/gdpr-cookie-compliance-icon.png (added)
-
tags/4.15.7/assets/images/gdpr-icon.png (added)
-
tags/4.15.7/assets/images/gdpr-logo.png (added)
-
tags/4.15.7/assets/images/moove-gdpr-inputs.png (added)
-
tags/4.15.7/assets/images/moove_logo_br.png (added)
-
tags/4.15.7/assets/images/uat-promo-wp.png (added)
-
tags/4.15.7/assets/manifest.json (added)
-
tags/4.15.7/assets/scripts (added)
-
tags/4.15.7/assets/scripts/.eslintrc.js (added)
-
tags/4.15.7/assets/scripts/admin.js (added)
-
tags/4.15.7/assets/scripts/codemirror.js (added)
-
tags/4.15.7/assets/scripts/colorpicker.js (added)
-
tags/4.15.7/assets/scripts/gdpr_lightbox.js (added)
-
tags/4.15.7/assets/scripts/main.js (added)
-
tags/4.15.7/assets/styles (added)
-
tags/4.15.7/assets/styles/admin.scss (added)
-
tags/4.15.7/assets/styles/back-end (added)
-
tags/4.15.7/assets/styles/back-end/_codemirror.scss (added)
-
tags/4.15.7/assets/styles/back-end/_global.scss (added)
-
tags/4.15.7/assets/styles/custom-editor-style.scss (added)
-
tags/4.15.7/assets/styles/frontend (added)
-
tags/4.15.7/assets/styles/frontend/main-nf.scss (added)
-
tags/4.15.7/assets/styles/frontend/main.scss (added)
-
tags/4.15.7/assets/styles/main-nf.scss (added)
-
tags/4.15.7/assets/styles/main.scss (added)
-
tags/4.15.7/assets/styles/modules (added)
-
tags/4.15.7/assets/styles/modules/_fonts.scss (added)
-
tags/4.15.7/assets/styles/modules/_gdpr_lightbox.scss (added)
-
tags/4.15.7/assets/styles/modules/_global.scss (added)
-
tags/4.15.7/bower.json (added)
-
tags/4.15.7/class-gdpr-modules-view.php (added)
-
tags/4.15.7/class-gdpr-modules.php (added)
-
tags/4.15.7/class-gdpr-view.php (added)
-
tags/4.15.7/class-moove-gdpr-actions.php (added)
-
tags/4.15.7/class-moove-gdpr-content.php (added)
-
tags/4.15.7/class-moove-gdpr-options.php (added)
-
tags/4.15.7/controllers (added)
-
tags/4.15.7/controllers/class-moove-gdpr-controller.php (added)
-
tags/4.15.7/controllers/class-moove-gdpr-db-controller.php (added)
-
tags/4.15.7/controllers/class-moove-gdpr-license-manager.php (added)
-
tags/4.15.7/controllers/class-moove-gdpr-review.php (added)
-
tags/4.15.7/dist (added)
-
tags/4.15.7/dist/fonts (added)
-
tags/4.15.7/dist/fonts/nunito-v8-latin-700.eot (added)
-
tags/4.15.7/dist/fonts/nunito-v8-latin-700.svg (added)
-
tags/4.15.7/dist/fonts/nunito-v8-latin-700.ttf (added)
-
tags/4.15.7/dist/fonts/nunito-v8-latin-700.woff (added)
-
tags/4.15.7/dist/fonts/nunito-v8-latin-700.woff2 (added)
-
tags/4.15.7/dist/fonts/nunito-v8-latin-regular.eot (added)
-
tags/4.15.7/dist/fonts/nunito-v8-latin-regular.svg (added)
-
tags/4.15.7/dist/fonts/nunito-v8-latin-regular.ttf (added)
-
tags/4.15.7/dist/fonts/nunito-v8-latin-regular.woff (added)
-
tags/4.15.7/dist/fonts/nunito-v8-latin-regular.woff2 (added)
-
tags/4.15.7/dist/images (added)
-
tags/4.15.7/dist/images/gdpr-cookie-compliance-icon.png (added)
-
tags/4.15.7/dist/images/gdpr-icon.png (added)
-
tags/4.15.7/dist/images/gdpr-logo.png (added)
-
tags/4.15.7/dist/images/moove-gdpr-inputs.png (added)
-
tags/4.15.7/dist/images/moove_logo_br.png (added)
-
tags/4.15.7/dist/images/uat-promo-wp.png (added)
-
tags/4.15.7/dist/scripts (added)
-
tags/4.15.7/dist/scripts/admin.js (added)
-
tags/4.15.7/dist/scripts/codemirror.js (added)
-
tags/4.15.7/dist/scripts/colorpicker.js (added)
-
tags/4.15.7/dist/scripts/main.js (added)
-
tags/4.15.7/dist/styles (added)
-
tags/4.15.7/dist/styles/admin.css (added)
-
tags/4.15.7/dist/styles/custom-editor-style.css (added)
-
tags/4.15.7/dist/styles/gdpr-main-nf.css (added)
-
tags/4.15.7/dist/styles/gdpr-main.css (added)
-
tags/4.15.7/gdpr-functions.php (added)
-
tags/4.15.7/gdpr-modules (added)
-
tags/4.15.7/gdpr-modules/branding-styles.php (added)
-
tags/4.15.7/gdpr-modules/infobar (added)
-
tags/4.15.7/gdpr-modules/infobar/floating-button.php (added)
-
tags/4.15.7/gdpr-modules/infobar/infobar-base.php (added)
-
tags/4.15.7/gdpr-modules/infobar/infobar-buttons.php (added)
-
tags/4.15.7/gdpr-modules/infobar/infobar-content.php (added)
-
tags/4.15.7/gdpr-modules/modal (added)
-
tags/4.15.7/gdpr-modules/modal/company-logo.php (added)
-
tags/4.15.7/gdpr-modules/modal/content-sections (added)
-
tags/4.15.7/gdpr-modules/modal/content-sections/advanced.php (added)
-
tags/4.15.7/gdpr-modules/modal/content-sections/cookiepolicy.php (added)
-
tags/4.15.7/gdpr-modules/modal/content-sections/overview.php (added)
-
tags/4.15.7/gdpr-modules/modal/content-sections/strictly.php (added)
-
tags/4.15.7/gdpr-modules/modal/content-sections/third_party.php (added)
-
tags/4.15.7/gdpr-modules/modal/gdpr-branding.php (added)
-
tags/4.15.7/gdpr-modules/modal/modal-base-onepage.php (added)
-
tags/4.15.7/gdpr-modules/modal/modal-base-tabs.php (added)
-
tags/4.15.7/gdpr-modules/modal/tab-footer-buttons.php (added)
-
tags/4.15.7/gdpr-modules/modal/tab-navigation.php (added)
-
tags/4.15.7/gulpfile.js (added)
-
tags/4.15.7/languages (added)
-
tags/4.15.7/languages/gdpr-cookie-compliance.pot (added)
-
tags/4.15.7/moove-gdpr.php (added)
-
tags/4.15.7/package.json (added)
-
tags/4.15.7/readme.txt (added)
-
tags/4.15.7/views (added)
-
tags/4.15.7/views/moove (added)
-
tags/4.15.7/views/moove/admin (added)
-
tags/4.15.7/views/moove/admin/settings (added)
-
tags/4.15.7/views/moove/admin/settings/accept-on-scroll.php (added)
-
tags/4.15.7/views/moove/admin/settings/advanced-cookies.php (added)
-
tags/4.15.7/views/moove/admin/settings/banner-settings.php (added)
-
tags/4.15.7/views/moove/admin/settings/branding.php (added)
-
tags/4.15.7/views/moove/admin/settings/consent-log.php (added)
-
tags/4.15.7/views/moove/admin/settings/cookie-banner-manager.php (added)
-
tags/4.15.7/views/moove/admin/settings/cookie-declaration.php (added)
-
tags/4.15.7/views/moove/admin/settings/cookie-policy.php (added)
-
tags/4.15.7/views/moove/admin/settings/export-import.php (added)
-
tags/4.15.7/views/moove/admin/settings/floating-button.php (added)
-
tags/4.15.7/views/moove/admin/settings/full-screen-mode.php (added)
-
tags/4.15.7/views/moove/admin/settings/general-settings.php (added)
-
tags/4.15.7/views/moove/admin/settings/geo-location.php (added)
-
tags/4.15.7/views/moove/admin/settings/help.php (added)
-
tags/4.15.7/views/moove/admin/settings/iframe-blocker.php (added)
-
tags/4.15.7/views/moove/admin/settings/integrations.php (added)
-
tags/4.15.7/views/moove/admin/settings/licence.php (added)
-
tags/4.15.7/views/moove/admin/settings/multisite-settings.php (added)
-
tags/4.15.7/views/moove/admin/settings/plugin-boxes.php (added)
-
tags/4.15.7/views/moove/admin/settings/privacy-overview.php (added)
-
tags/4.15.7/views/moove/admin/settings/renew-consent.php (added)
-
tags/4.15.7/views/moove/admin/settings/screen-settings.php (added)
-
tags/4.15.7/views/moove/admin/settings/settings-page.php (added)
-
tags/4.15.7/views/moove/admin/settings/stats.php (added)
-
tags/4.15.7/views/moove/admin/settings/strictly-necessary-cookies.php (added)
-
tags/4.15.7/views/moove/admin/settings/support.php (added)
-
tags/4.15.7/views/moove/admin/settings/third-party-cookies.php (added)
-
tags/4.15.7/views/moove/admin/settings/video-tutorial.php (added)
-
trunk/class-gdpr-modules.php (modified) (13 diffs)
-
trunk/gdpr-modules/infobar/floating-button.php (modified) (2 diffs)
-
trunk/gdpr-modules/infobar/infobar-base.php (modified) (1 diff)
-
trunk/gdpr-modules/infobar/infobar-buttons.php (modified) (1 diff)
-
trunk/gdpr-modules/modal/company-logo.php (modified) (1 diff)
-
trunk/gdpr-modules/modal/content-sections/advanced.php (modified) (2 diffs)
-
trunk/gdpr-modules/modal/content-sections/cookiepolicy.php (modified) (1 diff)
-
trunk/gdpr-modules/modal/content-sections/overview.php (modified) (1 diff)
-
trunk/gdpr-modules/modal/content-sections/strictly.php (modified) (2 diffs)
-
trunk/gdpr-modules/modal/content-sections/third_party.php (modified) (2 diffs)
-
trunk/gdpr-modules/modal/modal-base-onepage.php (modified) (1 diff)
-
trunk/gdpr-modules/modal/modal-base-tabs.php (modified) (1 diff)
-
trunk/moove-gdpr.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/views/moove/admin/settings/banner-settings.php (modified) (2 diffs)
-
trunk/views/moove/admin/settings/branding.php (modified) (1 diff)
-
trunk/views/moove/admin/settings/cookie-policy.php (modified) (1 diff)
-
trunk/views/moove/admin/settings/privacy-overview.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
gdpr-cookie-compliance/trunk/class-gdpr-modules.php
r2956723 r3228041 80 80 81 81 $data->label = ( isset( $modal_options[ 'moove_gdpr_floating_button_label' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_floating_button_label' . $wpml_lang ] ) ? $modal_options[ 'moove_gdpr_floating_button_label' . $wpml_lang ] : __( 'Change cookie settings', 'gdpr-cookie-compliance' ); 82 $data->label = esc_attr( $data->label ); 82 83 return $view_controller->load( 'infobar.floating-button', $data ); 83 84 } … … 92 93 $layout = isset( $modal_options['moove_gdpr_plugin_layout'] ) ? $modal_options['moove_gdpr_plugin_layout'] : 'v1'; 93 94 $tab_title = isset( $modal_options[ 'moove_gdpr_privacy_overview_tab_title' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_privacy_overview_tab_title' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_privacy_overview_tab_title' . $wpml_lang ] : __( 'Privacy Overview', 'gdpr-cookie-compliance' ); 95 $tab_title = esc_attr( $tab_title ); 94 96 $data = new stdClass(); 95 97 $data->logo_position = apply_filters( 'gdpr_logo_position', 'left' ); … … 157 159 158 160 $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; 161 162 $content = wp_kses_post( $content ); 163 159 164 $tabindex = apply_filters('gdpr_tabindex_attribute', '', '0' ); 160 165 $content = str_replace( '[setting]', '<button ' . $tabindex . ' data-href="#moove_gdpr_cookie_modal" class="change-settings-button">', $content ); … … 177 182 $data->has_accept = $has_accept; 178 183 $data->button_label = isset( $modal_options[ 'moove_gdpr_infobar_accept_button_label' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_infobar_accept_button_label' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_infobar_accept_button_label' . $wpml_lang ] : __( 'Accept', 'gdpr-cookie-compliance' ); 184 $data->button_label = esc_attr( $data->button_label ); 179 185 $buttons_order = isset( $modal_options['gdpr_bs_buttons_order'] ) ? json_decode( $modal_options['gdpr_bs_buttons_order'], true ) : array('accept', 'reject', 'settings', 'close'); 180 186 $data->accept_order = in_array( 'accept', $buttons_order ) ? array_search( 'accept', $buttons_order ) : 'auto'; … … 197 203 $logo_details = gdpr_get_logo_details( $data->logo_url, $modal_options ); 198 204 $data->logo_alt = gdpr_get_logo_alt( $data->logo_url, $modal_options ); 199 $data->logo_width = isset( $logo_details['width'] ) ? $logo_details['width']: false;200 $data->logo_height = isset( $logo_details['height'] ) ? $logo_details['height']: false;201 $data->logo_url = isset( $logo_details['logo_url'] ) ? $logo_details['logo_url'] : $data->logo_url;205 $data->logo_width = isset( $logo_details['width'] ) ? esc_attr( $logo_details['width'] ) : false; 206 $data->logo_height = isset( $logo_details['height'] ) ? esc_attr( $logo_details['height'] ) : false; 207 $data->logo_url = isset( $logo_details['logo_url'] ) ? esc_attr( $logo_details['logo_url'] ) : esc_attr( $data->logo_url ); 202 208 $data->logo_url = apply_filters( 'gdpr_cc_modal_logo_url', $data->logo_url ); 203 209 return $view_controller->load( 'modal.company-logo', $data ); … … 230 236 $layout = isset( $modal_options['moove_gdpr_plugin_layout'] ) ? $modal_options['moove_gdpr_plugin_layout'] : 'v1'; 231 237 $tab_title = isset( $modal_options[ 'moove_gdpr_privacy_overview_tab_title' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_privacy_overview_tab_title' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_privacy_overview_tab_title' . $wpml_lang ] : __( 'Privacy Overview', 'gdpr-cookie-compliance' ); 238 $tab_title = esc_attr( $tab_title ); 232 239 $tab_content = isset( $modal_options[ 'moove_gdpr_privacy_overview_tab_content' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_privacy_overview_tab_content' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_privacy_overview_tab_content' . $wpml_lang ] : $gdpr_default_content->moove_gdpr_get_privacy_overview_content(); 240 233 241 $data = new stdClass(); 234 242 $data->options = $modal_options; 235 243 $data->wpml_lang = $wpml_lang; 236 244 $data->tab_title = 'v1' === $layout ? $tab_title : false; 237 $data->tab_content = wp autop( $tab_content);245 $data->tab_content = wp_kses_post ( wpautop( $tab_content ) ); 238 246 $data->visibility = 'v1' === $layout ? 'style="display:none"' : ''; 239 247 … … 258 266 $data->options = $modal_options; 259 267 $data->wpml_lang = $wpml_lang; 260 $data->tab_title = $tab_title;261 $data->tab_content = wp autop( $tab_content);268 $data->tab_title = esc_attr( $tab_title ); 269 $data->tab_content = wp_kses_post( wpautop( $tab_content ) ); 262 270 $data->show = 3 !== $strictly; 263 271 $data->is_checked = 1 !== $strictly ? 'disabled checked="checked" ' : ''; 264 272 $data->text_enable = isset( $modal_options[ 'moove_gdpr_modal_enabled_checkbox_label' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_modal_enabled_checkbox_label' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_modal_enabled_checkbox_label' . $wpml_lang ] : __( 'Enabled', 'gdpr-cookie-compliance' ); 265 273 $data->text_disable = isset( $modal_options[ 'moove_gdpr_modal_disabled_checkbox_label' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_modal_disabled_checkbox_label' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_modal_disabled_checkbox_label' . $wpml_lang ] : __( 'Disabled', 'gdpr-cookie-compliance' ); 266 $data->warning_message_top = 'v2' === $layout && 1 === $strictly ? wp autop( $warning_msg) : false;267 $data->warning_message_bottom = 'v1' === $layout ? wp autop( $warning_msg) : false;274 $data->warning_message_top = 'v2' === $layout && 1 === $strictly ? wp_kses_post( wpautop( $warning_msg ) ) : false; 275 $data->warning_message_bottom = 'v1' === $layout ? wp_kses_post( wpautop( $warning_msg ) ) : false; 268 276 $data->checkbox_state = 1 !== $strictly ? 'gdpr-checkbox-disabled checkbox-selected' : ''; 269 277 $data->visibility = 'v1' === $layout ? 'style="display:none"' : ''; … … 287 295 $data->options = $modal_options; 288 296 $data->wpml_lang = $wpml_lang; 289 $data->tab_title = $tab_title;290 $data->tab_content = wp autop( $tab_content);297 $data->tab_title = esc_attr( $tab_title ); 298 $data->tab_content = wp_kses_post( wpautop( $tab_content ) ); 291 299 $data->show = isset( $modal_options['moove_gdpr_advanced_cookies_enable'] ) && 1 === intval( $modal_options['moove_gdpr_advanced_cookies_enable'] ) ? true : false; 292 300 $data->is_checked = 1 !== $strictly ? '' : 'disabled'; 293 301 $data->fieldset = 1 !== $strictly ? 'fl-strenabled' : 'fl-disabled'; 294 302 $data->text_enable = isset( $modal_options[ 'moove_gdpr_modal_enabled_checkbox_label' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_modal_enabled_checkbox_label' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_modal_enabled_checkbox_label' . $wpml_lang ] : __( 'Enabled', 'gdpr-cookie-compliance' ); 303 $data->text_enable = esc_attr( $data->text_enable ); 295 304 $data->text_disable = isset( $modal_options[ 'moove_gdpr_modal_disabled_checkbox_label' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_modal_disabled_checkbox_label' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_modal_disabled_checkbox_label' . $wpml_lang ] : __( 'Disabled', 'gdpr-cookie-compliance' ); 305 $data->text_disable = esc_attr( $data->text_disable ); 296 306 $data->warning_message = isset( $modal_options[ 'moove_gdpr_modal_strictly_secondary_notice' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_modal_strictly_secondary_notice' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_modal_strictly_secondary_notice' . $wpml_lang ] : $gdpr_default_content->moove_gdpr_get_secondary_notice(); 297 $data->warning_message = wp autop( $data->warning_message);307 $data->warning_message = wp_kses_post( wpautop( $data->warning_message ) ); 298 308 $data->visibility = 'v1' === $layout ? 'style="display:none"' : ''; 299 309 return $view_controller->load( 'modal.content-sections.advanced', $data ); … … 315 325 $data->options = $modal_options; 316 326 $data->wpml_lang = $wpml_lang; 317 $data->tab_title = $tab_title;327 $data->tab_title = esc_attr( $tab_title ); 318 328 $data->tab_content = wpautop( $tab_content ); 319 329 $data->show = isset( $modal_options['moove_gdpr_third_party_cookies_enable'] ) && 1 === intval( $modal_options['moove_gdpr_third_party_cookies_enable'] ) ? true : false; … … 321 331 $data->fieldset = 1 !== $strictly ? 'fl-strenabled' : 'fl-disabled'; 322 332 $data->text_enable = isset( $modal_options[ 'moove_gdpr_modal_enabled_checkbox_label' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_modal_enabled_checkbox_label' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_modal_enabled_checkbox_label' . $wpml_lang ] : __( 'Enabled', 'gdpr-cookie-compliance' ); 333 $data->text_enable = esc_attr( $data->text_enable ); 323 334 $data->text_disable = isset( $modal_options[ 'moove_gdpr_modal_disabled_checkbox_label' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_modal_disabled_checkbox_label' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_modal_disabled_checkbox_label' . $wpml_lang ] : __( 'Disabled', 'gdpr-cookie-compliance' ); 335 $data->text_disable = esc_attr( $data->text_disable ); 324 336 $data->warning_message = isset( $modal_options[ 'moove_gdpr_modal_strictly_secondary_notice' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_modal_strictly_secondary_notice' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_modal_strictly_secondary_notice' . $wpml_lang ] : $gdpr_default_content->moove_gdpr_get_secondary_notice(); 325 $data->warning_message = wp autop( $data->warning_message);337 $data->warning_message = wp_kses_post( wpautop( $data->warning_message ) ); 326 338 $data->visibility = 'v1' === $layout ? 'style="display:none"' : ''; 327 339 return $view_controller->load( 'modal.content-sections.third_party', $data ); … … 371 383 $data->options = $modal_options; 372 384 $data->wpml_lang = $wpml_lang; 373 $data->tab_title = $tab_title;374 $data->tab_content = wp autop( $tab_content);385 $data->tab_title = esc_attr( $tab_title ); 386 $data->tab_content = wp_kses_post( wpautop( $tab_content ) ); 375 387 $data->show = isset( $modal_options['moove_gdpr_cookie_policy_enable'] ) && 1 === intval( $modal_options['moove_gdpr_cookie_policy_enable'] ) ? true : false; 376 388 $data->visibility = 'v1' === $layout ? 'style="display:none"' : ''; … … 388 400 $data->settings_v = isset( $modal_options['moove_gdpr_save_settings_button_enable'] ) ? ( intval( $modal_options['moove_gdpr_save_settings_button_enable'] ) === 1 ? true : ( ! isset( $modal_options['moove_gdpr_save_settings_button_enable'] ) ? true : false ) ) : true; 389 401 $data->settings_label = isset( $modal_options[ 'moove_gdpr_modal_save_button_label' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_modal_save_button_label' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_modal_save_button_label' . $wpml_lang ] : __( 'Save Settings', 'gdpr-cookie-compliance' ); 390 402 $data->settings_label = esc_attr( $data->settings_label ); 403 391 404 $data->allow_v = isset( $modal_options['moove_gdpr_enable_all_button_enable'] ) ? ( intval( $modal_options['moove_gdpr_enable_all_button_enable'] ) === 1 ? true : ( ! isset( $modal_options['moove_gdpr_enable_all_button_enable'] ) ? true : false ) ) : true; 392 405 $data->allow_label = isset( $modal_options[ 'moove_gdpr_modal_allow_button_label' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_modal_allow_button_label' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_modal_allow_button_label' . $wpml_lang ] : __( 'Enable All', 'gdpr-cookie-compliance' ); 406 $data->allow_label = esc_attr( $data->allow_label ); 393 407 394 408 $data->reject_v = isset( $modal_options['moove_gdpr_reject_all_button_enable'] ) ? ( intval( $modal_options['moove_gdpr_reject_all_button_enable'] ) === 1 ? true : ( ! isset( $modal_options['moove_gdpr_reject_all_button_enable'] ) ? false : false ) ) : false; 395 409 $data->reject_label = isset( $modal_options[ 'moove_gdpr_modal_reject_button_label' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_modal_reject_button_label' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_modal_reject_button_label' . $wpml_lang ] : __( 'Reject All', 'gdpr-cookie-compliance' ); 410 $data->reject_label = esc_attr( $data->reject_label ); 411 396 412 $data->buttons_order = isset( $modal_options['gdpr_gs_buttons_order'] ) ? json_decode( $modal_options['gdpr_gs_buttons_order'], true ) : array( 'enable', 'reject', 'save', 'close' ); 397 413 … … 416 432 // OVERVIEW. 417 433 $data->overview->nav_label = isset( $modal_options[ 'moove_gdpr_privacy_overview_tab_title' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_privacy_overview_tab_title' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_privacy_overview_tab_title' . $wpml_lang ] : __( 'Privacy Overview', 'gdpr-cookie-compliance' ); 434 $data->overview->nav_label = esc_attr( $data->overview->nav_label ); 418 435 419 436 // STRICTLY. 420 437 $data->strictly->show = 3 !== $strictly; 421 438 $data->strictly->nav_label = isset( $modal_options[ 'moove_gdpr_strictly_necessary_cookies_tab_title' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_strictly_necessary_cookies_tab_title' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_strictly_necessary_cookies_tab_title' . $wpml_lang ] : __( 'Strictly Necessary Cookies', 'gdpr-cookie-compliance' ); 439 $data->strictly->nav_label = esc_attr( $data->strictly->nav_label ); 422 440 423 441 // THIRD PARTY. 424 442 $data->third_party->show = isset( $modal_options['moove_gdpr_third_party_cookies_enable'] ) && 1 === intval( $modal_options['moove_gdpr_third_party_cookies_enable'] ) ? true : false; 425 443 $data->third_party->nav_label = isset( $modal_options[ 'moove_gdpr_performance_cookies_tab_title' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_performance_cookies_tab_title' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_performance_cookies_tab_title' . $wpml_lang ] : __( '3rd Party Cookies', 'gdpr-cookie-compliance' ); 444 $data->third_party->nav_label = esc_attr( $data->third_party->nav_label ); 426 445 427 446 // ADVANCED. 428 447 $data->advanced->show = isset( $modal_options['moove_gdpr_advanced_cookies_enable'] ) && 1 === intval( $modal_options['moove_gdpr_advanced_cookies_enable'] ) ? true : false; 429 448 $data->advanced->nav_label = isset( $modal_options[ 'moove_gdpr_advanced_cookies_tab_title' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_advanced_cookies_tab_title' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_advanced_cookies_tab_title' . $wpml_lang ] : __( 'Additional Cookies', 'gdpr-cookie-compliance' ); 449 $data->advanced->nav_label = esc_attr( $data->advanced->nav_label ); 430 450 431 451 // COOKIEPOLICY. 432 452 $data->cookiepolicy->show = isset( $modal_options['moove_gdpr_cookie_policy_enable'] ) && 1 === intval( $modal_options['moove_gdpr_cookie_policy_enable'] ) ? true : false; 433 453 $data->cookiepolicy->nav_label = isset( $modal_options[ 'moove_gdpr_cookie_policy_tab_nav_label' . $wpml_lang ] ) && $modal_options[ 'moove_gdpr_cookie_policy_tab_nav_label' . $wpml_lang ] ? $modal_options[ 'moove_gdpr_cookie_policy_tab_nav_label' . $wpml_lang ] : __( 'Cookie Policy', 'gdpr-cookie-compliance' ); 454 $data->cookiepolicy->nav_label = esc_attr( $data->cookiepolicy->nav_label ); 434 455 435 456 return $view_controller->load( 'modal.tab-navigation', $data ); -
gdpr-cookie-compliance/trunk/gdpr-modules/infobar/floating-button.php
r2816538 r3228041 7 7 <?php if ( $content->is_enabled ) : ?> 8 8 <!--copyscapeskip--> 9 <button data-href="#moove_gdpr_cookie_modal" <?php echo apply_filters('gdpr_tabindex_attribute', '', 1 ); ?> id="moove_gdpr_save_popup_settings_button" style='<?php echo $content->styles; ?>' class="<?php echo $content->class; ?>" aria-label="<?php echo $content->label; ?>">9 <button data-href="#moove_gdpr_cookie_modal" <?php echo apply_filters('gdpr_tabindex_attribute', '', 1 ); ?> id="moove_gdpr_save_popup_settings_button" style='<?php echo $content->styles; ?>' class="<?php echo esc_attr( $content->class ); ?>" aria-label="<?php echo esc_attr( $content->label ); ?>"> 10 10 <span class="moove_gdpr_icon"> 11 11 <svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" style="max-width: 30px; max-height: 30px;"> … … 17 17 </span> 18 18 19 <span class="moove_gdpr_text"><?php echo $content->label; ?></span>19 <span class="moove_gdpr_text"><?php echo esc_attr( $content->label ); ?></span> 20 20 </button> 21 21 <!--/copyscapeskip--> -
gdpr-cookie-compliance/trunk/gdpr-modules/infobar/infobar-base.php
r2871673 r3228041 8 8 if ( $content->show ) : ?> 9 9 <!--copyscapeskip--> 10 <aside id="moove_gdpr_cookie_info_bar" class="<?php echo $content->class; ?>" aria-label="<?php esc_html_e('GDPR Cookie Banner', 'gdpr-cookie-compliance'); ?>" style="display: none;">10 <aside id="moove_gdpr_cookie_info_bar" class="<?php echo esc_attr( $content->class ); ?>" aria-label="<?php esc_html_e('GDPR Cookie Banner', 'gdpr-cookie-compliance'); ?>" style="display: none;"> 11 11 <div class="moove-gdpr-info-bar-container"> 12 12 <div class="moove-gdpr-info-bar-content"> -
gdpr-cookie-compliance/trunk/gdpr-modules/infobar/infobar-buttons.php
r2947036 r3228041 7 7 <div class="moove-gdpr-button-holder"> 8 8 <?php if ( isset( $content->has_accept ) && $content->has_accept ) : ?> 9 <button class="mgbutton moove-gdpr-infobar-allow-all <?php echo isset( $content->accept_order ) ? 'gdpr-fbo-' . $content->accept_order : ''; ?>" aria-label="<?php echo $content->button_label; ?>" <?php echo apply_filters('gdpr_tabindex_attribute', '', 1 ); ?>><?php echo $content->button_label; ?></button>9 <button class="mgbutton moove-gdpr-infobar-allow-all <?php echo isset( $content->accept_order ) ? 'gdpr-fbo-' . $content->accept_order : ''; ?>" aria-label="<?php echo esc_attr( $content->button_label ); ?>" <?php echo apply_filters('gdpr_tabindex_attribute', '', 1 ); ?>><?php echo esc_attr( $content->button_label ); ?></button> 10 10 <?php endif; ?> 11 11 <?php do_action( 'gdpr_info_bar_button_extensions' ); ?> -
gdpr-cookie-compliance/trunk/gdpr-modules/modal/company-logo.php
r2564882 r3228041 6 6 7 7 <div class="moove-gdpr-company-logo-holder"> 8 <img src="<?php echo esc_url( $content->logo_url ); ?>" alt="<?php echo esc_attr( $content->logo_alt ); ?>" <?php echo apply_filters( 'gpdr_logo_extra_atts', ''); ?> <?php echo $content->logo_width ? ' width="' . $content->logo_width . '"' : '' ?> <?php echo $content->logo_height ? ' height="' . $content->logo_height. '"' : '' ?> class="img-responsive" />8 <img src="<?php echo esc_url( $content->logo_url ); ?>" alt="<?php echo esc_attr( $content->logo_alt ); ?>" <?php echo apply_filters( 'gpdr_logo_extra_atts', ''); ?> <?php echo $content->logo_width ? ' width="' . esc_attr( $content->logo_width ) . '"' : '' ?> <?php echo $content->logo_height ? ' height="' . esc_attr( $content->logo_height ) . '"' : '' ?> class="img-responsive" /> 9 9 </div> 10 10 <!-- .moove-gdpr-company-logo-holder --> -
gdpr-cookie-compliance/trunk/gdpr-modules/modal/content-sections/advanced.php
r2858922 r3228041 6 6 7 7 <?php if ( $content->show ) : ?> 8 <div id="advanced-cookies" class="moove-gdpr-tab-main" <?php echo $content->visibility; ?>>9 <span class="tab-title"><?php echo $content->tab_title; ?></span>8 <div id="advanced-cookies" class="moove-gdpr-tab-main" <?php echo esc_attr( $content->visibility ); ?>> 9 <span class="tab-title"><?php echo esc_attr( $content->tab_title ); ?></span> 10 10 <div class="moove-gdpr-tab-main-content"> 11 11 <?php echo $content->tab_content; ?> … … 15 15 <label class="cookie-switch" for="moove_gdpr_advanced_cookies"> 16 16 <span class="gdpr-sr-only"><?php esc_html_e( 'Enable or Disable Cookies', 'gdpr-cookie-compliance' ); ?></span> 17 <input type="checkbox" aria-label="<?php echo $content->tab_title; ?>" value="check" name="moove_gdpr_advanced_cookies" id="moove_gdpr_advanced_cookies" <?php echo $content->is_checked; ?>>18 <span class="cookie-slider cookie-round" data-text-enable="<?php echo $content->text_enable; ?>" data-text-disabled="<?php echo $content->text_disable; ?>"></span>17 <input type="checkbox" aria-label="<?php echo esc_attr( $content->tab_title ); ?>" value="check" name="moove_gdpr_advanced_cookies" id="moove_gdpr_advanced_cookies" <?php echo $content->is_checked; ?>> 18 <span class="cookie-slider cookie-round" data-text-enable="<?php echo esc_attr( $content->text_enable ); ?>" data-text-disabled="<?php echo esc_attr( $content->text_disable ); ?>"></span> 19 19 </label> 20 20 </div> -
gdpr-cookie-compliance/trunk/gdpr-modules/modal/content-sections/cookiepolicy.php
r2239501 r3228041 7 7 <?php if ( $content->show ) : ?> 8 8 <div id="cookie_policy_modal" class="moove-gdpr-tab-main" <?php echo $content->visibility; ?>> 9 <span class="tab-title"><?php echo $content->tab_title; ?></span>9 <span class="tab-title"><?php echo esc_attr( $content->tab_title ); ?></span> 10 10 <div class="moove-gdpr-tab-main-content"> 11 11 <?php echo $content->tab_content; ?> -
gdpr-cookie-compliance/trunk/gdpr-modules/modal/content-sections/overview.php
r2239501 r3228041 7 7 <div id="privacy_overview" class="moove-gdpr-tab-main"> 8 8 <?php if ( $content->tab_title ) : ?> 9 <span class="tab-title"><?php echo $content->tab_title; ?></span>9 <span class="tab-title"><?php echo esc_attr( $content->tab_title ); ?></span> 10 10 <?php endif; ?> 11 11 <div class="moove-gdpr-tab-main-content"> -
gdpr-cookie-compliance/trunk/gdpr-modules/modal/content-sections/strictly.php
r2376316 r3228041 7 7 <?php if ( $content->show ) : ?> 8 8 <div id="strict-necessary-cookies" class="moove-gdpr-tab-main" <?php echo $content->visibility; ?>> 9 <span class="tab-title"><?php echo $content->tab_title; ?></span>9 <span class="tab-title"><?php echo esc_attr( $content->tab_title ); ?></span> 10 10 <div class="moove-gdpr-tab-main-content"> 11 11 <?php … … 13 13 echo $content->warning_message_top ? $content->warning_message_top : ''; 14 14 ?> 15 <div class="moove-gdpr-status-bar <?php echo $content->checkbox_state; ?>">15 <div class="moove-gdpr-status-bar <?php echo esc_attr( $content->checkbox_state ); ?>"> 16 16 <div class="gdpr-cc-form-wrap"> 17 17 <div class="gdpr-cc-form-fieldset"> 18 18 <label class="cookie-switch" for="moove_gdpr_strict_cookies"> 19 19 <span class="gdpr-sr-only"><?php esc_html_e( 'Enable or Disable Cookies', 'gdpr-cookie-compliance' ); ?></span> 20 <input type="checkbox" aria-label="<?php echo $content->tab_title; ?>" <?php echo $content->is_checked; ?> value="check" name="moove_gdpr_strict_cookies" id="moove_gdpr_strict_cookies">21 <span class="cookie-slider cookie-round" data-text-enable="<?php echo $content->text_enable; ?>" data-text-disabled="<?php echo $content->text_disable; ?>"></span>20 <input type="checkbox" aria-label="<?php echo esc_attr( $content->tab_title ); ?>" <?php echo $content->is_checked; ?> value="check" name="moove_gdpr_strict_cookies" id="moove_gdpr_strict_cookies"> 21 <span class="cookie-slider cookie-round" data-text-enable="<?php echo esc_attr( $content->text_enable ); ?>" data-text-disabled="<?php echo esc_attr( $content->text_disable ); ?>"></span> 22 22 </label> 23 23 </div> -
gdpr-cookie-compliance/trunk/gdpr-modules/modal/content-sections/third_party.php
r2413828 r3228041 6 6 7 7 <?php if ( $content->show ) : ?> 8 <div id="third_party_cookies" class="moove-gdpr-tab-main" <?php echo $content->visibility; ?>>9 <span class="tab-title"><?php echo $content->tab_title; ?></span>8 <div id="third_party_cookies" class="moove-gdpr-tab-main" <?php echo esc_attr( $content->visibility ); ?>> 9 <span class="tab-title"><?php echo esc_attr( $content->tab_title ); ?></span> 10 10 <div class="moove-gdpr-tab-main-content"> 11 11 <?php echo $content->tab_content; ?> … … 15 15 <label class="cookie-switch" for="moove_gdpr_performance_cookies"> 16 16 <span class="gdpr-sr-only"><?php esc_html_e( 'Enable or Disable Cookies', 'gdpr-cookie-compliance' ); ?></span> 17 <input type="checkbox" aria-label="<?php echo $content->tab_title; ?>" value="check" name="moove_gdpr_performance_cookies" id="moove_gdpr_performance_cookies" <?php echo $content->is_checked; ?>>18 <span class="cookie-slider cookie-round" data-text-enable="<?php echo $content->text_enable; ?>" data-text-disabled="<?php echo $content->text_disable; ?>"></span>17 <input type="checkbox" aria-label="<?php echo esc_attr( $content->tab_title ); ?>" value="check" name="moove_gdpr_performance_cookies" id="moove_gdpr_performance_cookies" <?php echo $content->is_checked; ?>> 18 <span class="cookie-slider cookie-round" data-text-enable="<?php echo esc_attr( $content->text_enable ); ?>" data-text-disabled="<?php echo esc_attr( $content->text_disable ); ?>"></span> 19 19 </label> 20 20 </div> -
gdpr-cookie-compliance/trunk/gdpr-modules/modal/modal-base-onepage.php
r2721723 r3228041 25 25 <div class="moove-gdpr-modal-title"> 26 26 <div> 27 <span class="tab-title"><?php echo $content->modal_title; ?></span>27 <span class="tab-title"><?php echo esc_attr( $content->modal_title ); ?></span> 28 28 </div> 29 29 <?php echo gdpr_get_module('company-logo'); ?> -
gdpr-cookie-compliance/trunk/gdpr-modules/modal/modal-base-tabs.php
r2721723 r3228041 25 25 <div class="moove-gdpr-modal-right-content"> 26 26 <div class="moove-gdpr-modal-title"> 27 <?php echo $content->modal_title; ?>27 <?php echo esc_attr( $content->modal_title ); ?> 28 28 </div> 29 29 <!-- .moove-gdpr-modal-ritle --> -
gdpr-cookie-compliance/trunk/moove-gdpr.php
r3200991 r3228041 5 5 * Plugin URI: https://wordpress.org/plugins/gdpr-cookie-compliance/ 6 6 * Description: Our plugin is useful in preparing your site for the following data protection and privacy regulations: GDPR, CCPA, PIPEDA, AAP, LGPD and others. 7 * Version: 4.15. 67 * Version: 4.15.7 8 8 * Author: Moove Agency 9 9 * Domain Path: /languages … … 19 19 } // Exit if accessed directly 20 20 21 define( 'MOOVE_GDPR_VERSION', '4.15. 6' );21 define( 'MOOVE_GDPR_VERSION', '4.15.7' ); 22 22 if ( ! defined( 'MOOVE_SHOP_URL' ) ) : 23 23 define( 'MOOVE_SHOP_URL', 'https://shop.mooveagency.com' ); -
gdpr-cookie-compliance/trunk/readme.txt
r3200991 r3228041 3 3 Donate link: https://www.mooveagency.com/wordpress-plugins/gdpr-cookie-compliance/ 4 4 Tags: GDPR, CCPA, DSGVO, CPRA, RGPD 5 Stable tag: 4.15. 65 Stable tag: 4.15.7 6 6 Requires at least: 4.5 7 7 Tested up to: 6.7 … … 270 270 271 271 == Changelog == 272 = 4.15.7: 24 January 2025 = 273 * Security improvements 274 272 275 = 4.15.6: 2 December 2024 = 273 276 * Lightbox area-hidden fix * -
gdpr-cookie-compliance/trunk/views/moove/admin/settings/banner-settings.php
r3174205 r3228041 106 106 foreach ( $_POST as $form_key => $form_value ) : 107 107 if ( 'moove_gdpr_info_bar_content' === $form_key ) : 108 $form_value = wp_kses_post( $form_value ); 108 109 $value = wpautop( wp_unslash( $form_value ) ); 109 110 $gdpr_options[ $form_key . $wpml_lang ] = $value; 110 111 elseif ( 'moove_gdpr_modal_strictly_secondary_notice' . $wpml_lang === $form_key ) : 111 $value = wp autop( wp_unslash( $form_value) );112 $value = wp_kses_post( wpautop( wp_unslash( $form_value ) ) ); 112 113 $gdpr_options[ $form_key ] = $value; 113 114 elseif ( 'gdpr_initialization_delay' === $form_key ) : … … 182 183 $content = $_content; 183 184 endif; 185 $content = wp_kses_post( $content ); 184 186 ?> 185 187 <?php -
gdpr-cookie-compliance/trunk/views/moove/admin/settings/branding.php
r2878897 r3228041 29 29 foreach ( $_POST as $form_key => $form_value ) : 30 30 if ( 'moove_gdpr_info_bar_content' === $form_key ) : 31 $value = wp autop( wp_unslash( $form_value) );31 $value = wp_kses_post( wpautop( wp_unslash( $form_value ) ) ); 32 32 $gdpr_options[ $form_key . $wpml_lang ] = $value; 33 33 elseif ( 'moove_gdpr_modal_strictly_secondary_notice' . $wpml_lang === $form_key ) : 34 $value = wp autop( wp_unslash( $form_value) );34 $value = wp_kses_post( pautop( wp_unslash( $form_value ) ) ); 35 35 $gdpr_options[ $form_key ] = $value; 36 36 elseif ( 'moove_gdpr_floating_button_enable' !== $form_key && 'moove_gdpr_modal_powered_by_disable' !== $form_key && 'moove_gdpr_company_logo_id' !== $form_key ) : -
gdpr-cookie-compliance/trunk/views/moove/admin/settings/cookie-policy.php
r2564882 r3228041 33 33 foreach ( $_POST as $form_key => $form_value ) : 34 34 if ( 'moove_gdpr_cookies_policy_tab_content' === $form_key ) : 35 $value = wp_ unslash( $form_value);35 $value = wp_kses_post( wp_unslash( $form_value ) ); 36 36 $gdpr_options[ $form_key . $wpml_lang ] = $value; 37 37 update_option( $option_name, $gdpr_options ); -
gdpr-cookie-compliance/trunk/views/moove/admin/settings/privacy-overview.php
r2564882 r3228041 25 25 foreach ( $_POST as $form_key => $form_value ) : 26 26 if ( 'moove_gdpr_privacy_overview_tab_content' === $form_key ) : 27 $value = wp_ unslash( $form_value);27 $value = wp_kses_post( wp_unslash( $form_value ) ); 28 28 $gdpr_options[ $form_key . $wpml_lang ] = $value; 29 29 update_option( $option_name, $gdpr_options );
Note: See TracChangeset
for help on using the changeset viewer.