Changeset 2933043 for pressidium-cookie-consent
- Timestamp:
- 07/02/2023 04:01:22 PM (3 years ago)
- Location:
- pressidium-cookie-consent
- Files:
-
- 14 edited
- 1 copied
-
tags/1.0.4 (copied) (copied from pressidium-cookie-consent/trunk)
-
tags/1.0.4/includes/Admin/Page.php (modified) (1 diff)
-
tags/1.0.4/includes/Admin/Settings/Settings_Page.php (modified) (4 diffs)
-
tags/1.0.4/pressidium-cookie-consent.php (modified) (2 diffs)
-
tags/1.0.4/readme.txt (modified) (2 diffs)
-
tags/1.0.4/vendor/autoload.php (modified) (1 diff)
-
tags/1.0.4/vendor/composer/autoload_real.php (modified) (2 diffs)
-
tags/1.0.4/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/includes/Admin/Page.php (modified) (1 diff)
-
trunk/includes/Admin/Settings/Settings_Page.php (modified) (4 diffs)
-
trunk/pressidium-cookie-consent.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pressidium-cookie-consent/tags/1.0.4/includes/Admin/Page.php
r2928017 r2933043 82 82 * @return string 83 83 */ 84 protected function get_icon() {84 protected function get_icon(): string { 85 85 return 'dashicons-admin-generic'; 86 86 } -
pressidium-cookie-consent/tags/1.0.4/includes/Admin/Settings/Settings_Page.php
r2928017 r2933043 100 100 * @return string 101 101 */ 102 protected function get_icon() { 102 protected function get_icon(): string { 103 // phpcs:ignore Generic.Files.LineLength 103 104 return 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxnIGZpbGw9Im5vbmUiPjxwYXRoIGQ9Ik0xNTguNywxN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0xLjA2LjI4bC0uMTksMGMtLjM3LjA3LS43NS4xMy0xLjE0LjE3aC0uMTVjLS40MiwwLS44NC4wNi0xLjI4LjA2aDBjLjA5LjIxLjE5LjQxLjI4LjYydjBDMjkuNjUsMjAyLjM5LDgwLjE5LDIyNywxMjgsMjI3aDBjNDcuOCwwLDk4LjI4LTI0LjU2LDExMy41OC01Ny45MWwuMTYtLjA5LjA1LDBoMGwwLDAsLjA4LDBjMC0uMTksMC0uMzgsMC0uNThDMjI5LDE2OC4zMiwyMjYsMTUxLjQsMjIwLjY3LDEzMC42OFpNNTMuOSwxMzIuNDRjNi0xNS44NiwyMi4wNS0yNC44MSwzOC4xMS0xNi44LDE2LjU1LDguMjUsMjYuMzksMjguMTcsMjYuNjMsNDYuNy4xOCwxMy4zMS0uODQsMTcuNzYtMS4yOSwxOS4wOGgtMi4yNGMuNS4xMiwxLjEyLjI4LDAsMC0xOC44Ny00LjU3LTQ4LjcyLTkuODgtNjEuNjgtMTAuMkM0Ny45LDE2MC4xNiw0OS43NywxNDMuMzIsNTMuOSwxMzIuNDRaTTE0MiwxOTEuNzNsLTQuMjgsMi4xOWExNSwxNSwwLDAsMS0xOS4zLDBsLTQuMjgtMi4xOWMtMi40Mi0yLTEtNC41OSwyLjE3LTQuNTloMjMuNTJDMTQzLDE4Ny4xNCwxNDQuNDIsMTg5LjcsMTQyLDE5MS43M1oiLz48L2c+PC9zdmc+'; 104 105 } … … 177 178 * Add information about this plugin to the left side of the admin footer. 178 179 * 179 * @param string $content The existing content.180 * 181 * @return string The modified content including the plugin information.182 */ 183 public function admin_footer_info( string $content ):string {180 * @param string|null $content The existing content. 181 * 182 * @return string|null The modified content including the plugin information. 183 */ 184 public function admin_footer_info( ?string $content ): ?string { 184 185 if ( ! $this->is_settings_page() ) { 185 186 // Not the settings page, bail early … … 191 192 sprintf( 192 193 /* translators: 1: Developer name, 2: Link to the docs. */ 193 __( 'Developed by % s | For more information, read the %s.', 'pressidium-cookie-consent' ),194 __( 'Developed by %1$s | For more information, read the %2$s.', 'pressidium-cookie-consent' ), 194 195 sprintf( 195 '<a href="% s" target="_blank" rel="noopener noreferrer">%s</a>',196 '<a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s</a>', 196 197 esc_url( 'https://pressidium.com/' ), 197 198 esc_html( 'Pressidium' ) 198 199 ), 199 200 sprintf( 200 '<a href="% s" target="_blank" rel="noopener noreferrer">%s</a>',201 '<a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s</a>', 201 202 esc_url( 'https://github.com/pressidium/pressidium-cookie-consent/wiki' ), 202 203 __( 'documentation', 'pressidium-cookie-consent' ) … … 209 210 * Add plugin version to the right side of the admin footer. 210 211 * 211 * @param string $content The existing content.212 * 213 * @return string The modified content including the plugin version.214 */ 215 public function admin_footer_version( string $content ):string {212 * @param string|null $content The existing content. 213 * 214 * @return string|null The modified content including the plugin version. 215 */ 216 public function admin_footer_version( ?string $content ): ?string { 216 217 if ( ! $this->is_settings_page() ) { 217 218 // Not the settings page, bail early -
pressidium-cookie-consent/tags/1.0.4/pressidium-cookie-consent.php
r2932765 r2933043 4 4 * Plugin URI: https://github.com/pressidium/pressidium-cookie-consent/ 5 5 * Description: Lightweight, user-friendly and customizable cookie consent banner to help you comply with the EU GDPR cookie law and CCPA regulations. 6 * Version: 1.0. 36 * Version: 1.0.4 7 7 * Author: Pressidium 8 8 * Author URI: https://pressidium.com/ … … 28 28 function setup_constants(): void { 29 29 if ( ! defined( 'Pressidium\WP\CookieConsent\VERSION' ) ) { 30 define( 'Pressidium\WP\CookieConsent\VERSION', '1.0. 3' );30 define( 'Pressidium\WP\CookieConsent\VERSION', '1.0.4' ); 31 31 } 32 32 -
pressidium-cookie-consent/tags/1.0.4/readme.txt
r2932765 r2933043 7 7 Tested up to: 6.2 8 8 Requires PHP: 7.4 9 Stable Tag: 1.0. 39 Stable Tag: 1.0.4 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 146 146 == Changelog == 147 147 148 = 1.0.4: Jul 2, 2023 = 149 150 * Fix a conflict with plugins that use `null` as their admin footer text 151 148 152 = 1.0.3: Jun 30, 2023 = 149 153 -
pressidium-cookie-consent/tags/1.0.4/vendor/autoload.php
r2932765 r2933043 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit b51892c4c46d36cfbc552d247a0591ef::getLoader();25 return ComposerAutoloaderInitc5842229a7b0b697ca6ad6294ebebd9d::getLoader(); -
pressidium-cookie-consent/tags/1.0.4/vendor/composer/autoload_real.php
r2932765 r2933043 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit b51892c4c46d36cfbc552d247a0591ef5 class ComposerAutoloaderInitc5842229a7b0b697ca6ad6294ebebd9d 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit b51892c4c46d36cfbc552d247a0591ef', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitc5842229a7b0b697ca6ad6294ebebd9d', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit b51892c4c46d36cfbc552d247a0591ef', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitc5842229a7b0b697ca6ad6294ebebd9d', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit b51892c4c46d36cfbc552d247a0591ef::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitc5842229a7b0b697ca6ad6294ebebd9d::getInitializer($loader)); 33 33 34 34 $loader->register(true); -
pressidium-cookie-consent/tags/1.0.4/vendor/composer/autoload_static.php
r2932765 r2933043 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit b51892c4c46d36cfbc552d247a0591ef7 class ComposerStaticInitc5842229a7b0b697ca6ad6294ebebd9d 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 41 41 { 42 42 return \Closure::bind(function () use ($loader) { 43 $loader->prefixLengthsPsr4 = ComposerStaticInit b51892c4c46d36cfbc552d247a0591ef::$prefixLengthsPsr4;44 $loader->prefixDirsPsr4 = ComposerStaticInit b51892c4c46d36cfbc552d247a0591ef::$prefixDirsPsr4;45 $loader->classMap = ComposerStaticInit b51892c4c46d36cfbc552d247a0591ef::$classMap;43 $loader->prefixLengthsPsr4 = ComposerStaticInitc5842229a7b0b697ca6ad6294ebebd9d::$prefixLengthsPsr4; 44 $loader->prefixDirsPsr4 = ComposerStaticInitc5842229a7b0b697ca6ad6294ebebd9d::$prefixDirsPsr4; 45 $loader->classMap = ComposerStaticInitc5842229a7b0b697ca6ad6294ebebd9d::$classMap; 46 46 47 47 }, null, ClassLoader::class); -
pressidium-cookie-consent/trunk/includes/Admin/Page.php
r2928017 r2933043 82 82 * @return string 83 83 */ 84 protected function get_icon() {84 protected function get_icon(): string { 85 85 return 'dashicons-admin-generic'; 86 86 } -
pressidium-cookie-consent/trunk/includes/Admin/Settings/Settings_Page.php
r2928017 r2933043 100 100 * @return string 101 101 */ 102 protected function get_icon() { 102 protected function get_icon(): string { 103 // phpcs:ignore Generic.Files.LineLength 103 104 return 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxnIGZpbGw9Im5vbmUiPjxwYXRoIGQ9Ik0xNTguNywxNDAuNzJjLTIuNzIsMi4yNC03LjI1LDYuNC05LjE2LDExLjJhMzIuNjIsMzIuNjIsMCwwLDAtMS44NiwxMS4yNCwyMS42MSwyMS42MSwwLDAsMCwuMTYsMi44NGMyLjg0LDUsMTIuMDcsNS40NywxNy4xLDUuMDgsNS43LS40NSwxNC4yNC0yLj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I4LTI0LjU2LDExMy41OC01Ny45MWwuMTYtLjA5LjA1LDBoMGwwLDAsLjA4LDBjMC0uMTksMC0uMzgsMC0uNThDMjI5LDE2OC4zMiwyMjYsMTUxLjQsMjIwLjY3LDEzMC42OFpNNTMuOSwxMzIuNDRjNi0xNS44NiwyMi4wNS0yNC44MSwzOC4xMS0xNi44LDE2LjU1LDguMjUsMjYuMzksMjguMTcsMjYuNjMsNDYuNy4xOCwxMy4zMS0uODQsMTcuNzYtMS4yOSwxOS4wOGgtMi4yNGMuNS4xMiwxLjEyLjI4LDAsMC0xOC44Ny00LjU3LTQ4LjcyLTkuODgtNjEuNjgtMTAuMkM0Ny45LDE2MC4xNiw0OS43NywxNDMuMzIsNTMuOSwxMzIuNDRaTTE0MiwxOTEuNzNsLTQuMjgsMi4xOWExNSwxNSwwLDAsMS0xOS4zLDBsLTQuMjgtMi4xOWMtMi40Mi0yLTEtNC41OSwyLjE3LTQuNTloMjMuNTJDMTQzLDE4Ny4xNCwxNDQuNDIsMTg5LjcsMTQyLDE5MS43M1oiLz48L2c+PC9zdmc+'; 104 105 } … … 177 178 * Add information about this plugin to the left side of the admin footer. 178 179 * 179 * @param string $content The existing content.180 * 181 * @return string The modified content including the plugin information.182 */ 183 public function admin_footer_info( string $content ):string {180 * @param string|null $content The existing content. 181 * 182 * @return string|null The modified content including the plugin information. 183 */ 184 public function admin_footer_info( ?string $content ): ?string { 184 185 if ( ! $this->is_settings_page() ) { 185 186 // Not the settings page, bail early … … 191 192 sprintf( 192 193 /* translators: 1: Developer name, 2: Link to the docs. */ 193 __( 'Developed by % s | For more information, read the %s.', 'pressidium-cookie-consent' ),194 __( 'Developed by %1$s | For more information, read the %2$s.', 'pressidium-cookie-consent' ), 194 195 sprintf( 195 '<a href="% s" target="_blank" rel="noopener noreferrer">%s</a>',196 '<a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s</a>', 196 197 esc_url( 'https://pressidium.com/' ), 197 198 esc_html( 'Pressidium' ) 198 199 ), 199 200 sprintf( 200 '<a href="% s" target="_blank" rel="noopener noreferrer">%s</a>',201 '<a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s</a>', 201 202 esc_url( 'https://github.com/pressidium/pressidium-cookie-consent/wiki' ), 202 203 __( 'documentation', 'pressidium-cookie-consent' ) … … 209 210 * Add plugin version to the right side of the admin footer. 210 211 * 211 * @param string $content The existing content.212 * 213 * @return string The modified content including the plugin version.214 */ 215 public function admin_footer_version( string $content ):string {212 * @param string|null $content The existing content. 213 * 214 * @return string|null The modified content including the plugin version. 215 */ 216 public function admin_footer_version( ?string $content ): ?string { 216 217 if ( ! $this->is_settings_page() ) { 217 218 // Not the settings page, bail early -
pressidium-cookie-consent/trunk/pressidium-cookie-consent.php
r2932765 r2933043 4 4 * Plugin URI: https://github.com/pressidium/pressidium-cookie-consent/ 5 5 * Description: Lightweight, user-friendly and customizable cookie consent banner to help you comply with the EU GDPR cookie law and CCPA regulations. 6 * Version: 1.0. 36 * Version: 1.0.4 7 7 * Author: Pressidium 8 8 * Author URI: https://pressidium.com/ … … 28 28 function setup_constants(): void { 29 29 if ( ! defined( 'Pressidium\WP\CookieConsent\VERSION' ) ) { 30 define( 'Pressidium\WP\CookieConsent\VERSION', '1.0. 3' );30 define( 'Pressidium\WP\CookieConsent\VERSION', '1.0.4' ); 31 31 } 32 32 -
pressidium-cookie-consent/trunk/readme.txt
r2932765 r2933043 7 7 Tested up to: 6.2 8 8 Requires PHP: 7.4 9 Stable Tag: 1.0. 39 Stable Tag: 1.0.4 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 146 146 == Changelog == 147 147 148 = 1.0.4: Jul 2, 2023 = 149 150 * Fix a conflict with plugins that use `null` as their admin footer text 151 148 152 = 1.0.3: Jun 30, 2023 = 149 153 -
pressidium-cookie-consent/trunk/vendor/autoload.php
r2932765 r2933043 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit b51892c4c46d36cfbc552d247a0591ef::getLoader();25 return ComposerAutoloaderInitc5842229a7b0b697ca6ad6294ebebd9d::getLoader(); -
pressidium-cookie-consent/trunk/vendor/composer/autoload_real.php
r2932765 r2933043 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit b51892c4c46d36cfbc552d247a0591ef5 class ComposerAutoloaderInitc5842229a7b0b697ca6ad6294ebebd9d 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit b51892c4c46d36cfbc552d247a0591ef', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitc5842229a7b0b697ca6ad6294ebebd9d', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit b51892c4c46d36cfbc552d247a0591ef', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitc5842229a7b0b697ca6ad6294ebebd9d', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit b51892c4c46d36cfbc552d247a0591ef::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitc5842229a7b0b697ca6ad6294ebebd9d::getInitializer($loader)); 33 33 34 34 $loader->register(true); -
pressidium-cookie-consent/trunk/vendor/composer/autoload_static.php
r2932765 r2933043 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit b51892c4c46d36cfbc552d247a0591ef7 class ComposerStaticInitc5842229a7b0b697ca6ad6294ebebd9d 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 41 41 { 42 42 return \Closure::bind(function () use ($loader) { 43 $loader->prefixLengthsPsr4 = ComposerStaticInit b51892c4c46d36cfbc552d247a0591ef::$prefixLengthsPsr4;44 $loader->prefixDirsPsr4 = ComposerStaticInit b51892c4c46d36cfbc552d247a0591ef::$prefixDirsPsr4;45 $loader->classMap = ComposerStaticInit b51892c4c46d36cfbc552d247a0591ef::$classMap;43 $loader->prefixLengthsPsr4 = ComposerStaticInitc5842229a7b0b697ca6ad6294ebebd9d::$prefixLengthsPsr4; 44 $loader->prefixDirsPsr4 = ComposerStaticInitc5842229a7b0b697ca6ad6294ebebd9d::$prefixDirsPsr4; 45 $loader->classMap = ComposerStaticInitc5842229a7b0b697ca6ad6294ebebd9d::$classMap; 46 46 47 47 }, null, ClassLoader::class);
Note: See TracChangeset
for help on using the changeset viewer.