Changeset 3799475
- Timestamp:
- 11/13/2026 12:32:12 AM (less than one hour ago)
- Location:
- puregrace-consent-connector
- Files:
-
- 6 edited
- 1 copied
-
tags/1.14.5 (copied) (copied from puregrace-consent-connector/trunk )
-
tags/1.14.5/includes/class-pgcc-a11y-rules.php (modified) (1 diff)
-
tags/1.14.5/puregrace-consent-connector.php (modified) (2 diffs)
-
tags/1.14.5/readme.txt (modified) (3 diffs)
-
trunk/includes/class-pgcc-a11y-rules.php (modified) (1 diff)
-
trunk/puregrace-consent-connector.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
puregrace-consent-connector/tags/1.14.5/includes/class-pgcc-a11y-rules.php
r3793196 r3799475 127 127 continue; 128 128 } 129 // A site colour setting (CSS custom property), e.g. Elementor's 130 // --e-global-color-text. One value corrects every element that 131 // uses it without overriding elements that set their own colour. 132 // The name is kept exactly as given (custom property names are 133 // case-sensitive); the value must be a plain hex colour. 134 if ( preg_match( '/^(--[A-Za-z0-9][A-Za-z0-9_-]{0,80})\s*:\s*(#[0-9a-fA-F]{3,8})\s*(!important)?$/', $d, $cm ) ) { 135 $decls[] = $cm[1] . ': ' . strtolower( $cm[2] ) . ' !important'; 136 continue; 137 } 129 138 if ( ! preg_match( '/^([a-z-]+)\s*:\s*([#\w\s().,%\/-]+?)\s*(!important)?$/i', $d, $m ) ) { 130 139 return new WP_Error( 'bad_css', 'Declaration not allowed: ' . substr( $d, 0, 60 ), array( 'status' => 400 ) ); -
puregrace-consent-connector/tags/1.14.5/puregrace-consent-connector.php
r3795024 r3799475 4 4 * Plugin URI: https://aiprivacycenter.com/wordpress-cookie-consent/ 5 5 * Description: Blocks hardcoded trackers server-side before the browser parses them, and connects your site to the AI Privacy Center consent platform (a service by Pure Grace AI, LLC). 6 * Version: 1.14. 46 * Version: 1.14.5 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.4 … … 42 42 } 43 43 44 define( 'PGCC_VERSION', '1.14. 4' );44 define( 'PGCC_VERSION', '1.14.5' ); 45 45 define( 'PGCC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 46 46 -
puregrace-consent-connector/tags/1.14.5/readme.txt
r3795024 r3799475 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.14. 47 Stable tag: 1.14.5 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 118 118 == Changelog == 119 119 120 = 1.14.5 = 121 * Accessibility fixes: when one of your theme's colour settings (for example the global text colour in Elementor or Astra) is the reason text fails contrast across the site, AI Privacy Center can now correct that one setting instead of adding a separate rule for every paragraph. Elements that set their own colour are left alone. As with every fix, it is re-scanned and rolled back automatically if it does not clear the issue. 122 120 123 = 1.14.4 = 121 124 * Accessibility fixes: AI Privacy Center can now fix low-contrast text colours that are set in your page content (block colour settings or inline styles). The page is saved as a revision first, the block editor keeps showing the block as valid, and a fix that does not clear the issue is rolled back automatically. … … 245 248 == Upgrade Notice == 246 249 250 = 1.14.5 = 251 Lets AI Privacy Center correct a site-wide colour setting once instead of adding a rule for every element. 252 247 253 = 1.14.4 = 248 254 Lets AI Privacy Center fix low-contrast text colours set in your page content. -
puregrace-consent-connector/trunk/includes/class-pgcc-a11y-rules.php
r3793196 r3799475 127 127 continue; 128 128 } 129 // A site colour setting (CSS custom property), e.g. Elementor's 130 // --e-global-color-text. One value corrects every element that 131 // uses it without overriding elements that set their own colour. 132 // The name is kept exactly as given (custom property names are 133 // case-sensitive); the value must be a plain hex colour. 134 if ( preg_match( '/^(--[A-Za-z0-9][A-Za-z0-9_-]{0,80})\s*:\s*(#[0-9a-fA-F]{3,8})\s*(!important)?$/', $d, $cm ) ) { 135 $decls[] = $cm[1] . ': ' . strtolower( $cm[2] ) . ' !important'; 136 continue; 137 } 129 138 if ( ! preg_match( '/^([a-z-]+)\s*:\s*([#\w\s().,%\/-]+?)\s*(!important)?$/i', $d, $m ) ) { 130 139 return new WP_Error( 'bad_css', 'Declaration not allowed: ' . substr( $d, 0, 60 ), array( 'status' => 400 ) ); -
puregrace-consent-connector/trunk/puregrace-consent-connector.php
r3795024 r3799475 4 4 * Plugin URI: https://aiprivacycenter.com/wordpress-cookie-consent/ 5 5 * Description: Blocks hardcoded trackers server-side before the browser parses them, and connects your site to the AI Privacy Center consent platform (a service by Pure Grace AI, LLC). 6 * Version: 1.14. 46 * Version: 1.14.5 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.4 … … 42 42 } 43 43 44 define( 'PGCC_VERSION', '1.14. 4' );44 define( 'PGCC_VERSION', '1.14.5' ); 45 45 define( 'PGCC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 46 46 -
puregrace-consent-connector/trunk/readme.txt
r3795024 r3799475 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.14. 47 Stable tag: 1.14.5 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 118 118 == Changelog == 119 119 120 = 1.14.5 = 121 * Accessibility fixes: when one of your theme's colour settings (for example the global text colour in Elementor or Astra) is the reason text fails contrast across the site, AI Privacy Center can now correct that one setting instead of adding a separate rule for every paragraph. Elements that set their own colour are left alone. As with every fix, it is re-scanned and rolled back automatically if it does not clear the issue. 122 120 123 = 1.14.4 = 121 124 * Accessibility fixes: AI Privacy Center can now fix low-contrast text colours that are set in your page content (block colour settings or inline styles). The page is saved as a revision first, the block editor keeps showing the block as valid, and a fix that does not clear the issue is rolled back automatically. … … 245 248 == Upgrade Notice == 246 249 250 = 1.14.5 = 251 Lets AI Privacy Center correct a site-wide colour setting once instead of adding a rule for every element. 252 247 253 = 1.14.4 = 248 254 Lets AI Privacy Center fix low-contrast text colours set in your page content.
Note:
See TracChangeset
for help on using the changeset viewer.