Changeset 3564189
- Timestamp:
- 06/08/2026 06:56:31 AM (5 months ago)
- Location:
- wp-sentry-integration/trunk
- Files:
-
- 6 edited
-
build/vendor/composer/installed.php (modified) (1 diff)
-
build/vendor/composer/package-versions-deprecated/src/PackageVersions/Versions.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
-
src/class-wp-sentry-version.php (modified) (1 diff)
-
src/tracing/features/class-wp-sentry-tracing-feature-http.php (modified) (3 diffs)
-
wp-sentry.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-sentry-integration/trunk/build/vendor/composer/installed.php
r3538887 r3564189 3 3 namespace WPSentry\ScopedVendor; 4 4 5 return array('root' => array('name' => 'stayallive/wp-sentry', 'pretty_version' => 'v8.11. 0', 'version' => '8.11.0.0', 'reference' => 'e4912334b7dcc3ccc37e9350057cdc85546ba6e6', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('composer/installers' => array('pretty_version' => 'v2.3.0', 'version' => '2.3.0.0', 'reference' => '12fb2dfe5e16183de69e784a7b84046c43d97e8e', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/./installers', 'aliases' => array(), 'dev_requirement' => \false), 'composer/package-versions-deprecated' => array('pretty_version' => '1.11.99.5', 'version' => '1.11.99.5', 'reference' => 'b4f54f74ef3453349c24a845d22392cd31e65f1d', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/./package-versions-deprecated', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.10.1', 'version' => '2.10.1.0', 'reference' => '73ab136360b5dfd858006eae9795e8fe43c80361', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'jean85/pretty-package-versions' => array('pretty_version' => '1.6.0', 'version' => '1.6.0.0', 'reference' => '1e0104b46f045868f11942aea058cd7186d6c303', 'type' => 'library', 'install_path' => __DIR__ . '/../jean85/pretty-package-versions', 'aliases' => array(), 'dev_requirement' => \false), 'ocramius/package-versions' => array('dev_requirement' => \false, 'replaced' => array(0 => '1.11.99')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'sentry/sentry' => array('pretty_version' => '4.27.0', 'version' => '4.27.0.0', 'reference' => '1f0544cff8443ac1d25d6521487118e28381a1c2', 'type' => 'library', 'install_path' => __DIR__ . '/../sentry/sentry', 'aliases' => array(), 'dev_requirement' => \false), 'stayallive/wp-sentry' => array('pretty_version' => 'v8.11.0', 'version' => '8.11.0.0', 'reference' => 'e4912334b7dcc3ccc37e9350057cdc85546ba6e6', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v2.5.4', 'version' => '2.5.4.0', 'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/options-resolver' => array('pretty_version' => 'v5.4.45', 'version' => '5.4.45.0', 'reference' => '74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/options-resolver', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-php73' => array('pretty_version' => 'v1.37.0', 'version' => '1.37.0.0', 'reference' => '0f68c03565dcaaf25a890667542e8bd75fe7e5bb', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php73', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-php80' => array('pretty_version' => 'v1.37.0', 'version' => '1.37.0.0', 'reference' => 'dfb55726c3a76ea3b6459fcfda1ec2d80a682411', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php80', 'aliases' => array(), 'dev_requirement' => \false)));5 return array('root' => array('name' => 'stayallive/wp-sentry', 'pretty_version' => 'v8.11.1', 'version' => '8.11.1.0', 'reference' => '2b620ceb3b70655a96655468d5da018f5c573c66', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('composer/installers' => array('pretty_version' => 'v2.3.0', 'version' => '2.3.0.0', 'reference' => '12fb2dfe5e16183de69e784a7b84046c43d97e8e', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/./installers', 'aliases' => array(), 'dev_requirement' => \false), 'composer/package-versions-deprecated' => array('pretty_version' => '1.11.99.5', 'version' => '1.11.99.5', 'reference' => 'b4f54f74ef3453349c24a845d22392cd31e65f1d', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/./package-versions-deprecated', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.10.1', 'version' => '2.10.1.0', 'reference' => '73ab136360b5dfd858006eae9795e8fe43c80361', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'jean85/pretty-package-versions' => array('pretty_version' => '1.6.0', 'version' => '1.6.0.0', 'reference' => '1e0104b46f045868f11942aea058cd7186d6c303', 'type' => 'library', 'install_path' => __DIR__ . '/../jean85/pretty-package-versions', 'aliases' => array(), 'dev_requirement' => \false), 'ocramius/package-versions' => array('dev_requirement' => \false, 'replaced' => array(0 => '1.11.99')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'sentry/sentry' => array('pretty_version' => '4.27.0', 'version' => '4.27.0.0', 'reference' => '1f0544cff8443ac1d25d6521487118e28381a1c2', 'type' => 'library', 'install_path' => __DIR__ . '/../sentry/sentry', 'aliases' => array(), 'dev_requirement' => \false), 'stayallive/wp-sentry' => array('pretty_version' => 'v8.11.1', 'version' => '8.11.1.0', 'reference' => '2b620ceb3b70655a96655468d5da018f5c573c66', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v2.5.4', 'version' => '2.5.4.0', 'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/options-resolver' => array('pretty_version' => 'v5.4.45', 'version' => '5.4.45.0', 'reference' => '74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/options-resolver', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-php73' => array('pretty_version' => 'v1.37.0', 'version' => '1.37.0.0', 'reference' => '0f68c03565dcaaf25a890667542e8bd75fe7e5bb', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php73', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-php80' => array('pretty_version' => 'v1.37.0', 'version' => '1.37.0.0', 'reference' => 'dfb55726c3a76ea3b6459fcfda1ec2d80a682411', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php80', 'aliases' => array(), 'dev_requirement' => \false))); -
wp-sentry-integration/trunk/build/vendor/composer/package-versions-deprecated/src/PackageVersions/Versions.php
r3538887 r3564189 29 29 * @internal 30 30 */ 31 const VERSIONS = array('composer/installers' => 'v2.3.0@12fb2dfe5e16183de69e784a7b84046c43d97e8e', 'composer/package-versions-deprecated' => '1.11.99.5@b4f54f74ef3453349c24a845d22392cd31e65f1d', 'guzzlehttp/psr7' => '2.10.1@73ab136360b5dfd858006eae9795e8fe43c80361', 'jean85/pretty-package-versions' => '1.6.0@1e0104b46f045868f11942aea058cd7186d6c303', 'psr/http-factory' => '1.1.0@2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'psr/http-message' => '2.0@402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'psr/log' => '1.1.4@d49695b909c3b7628b6289db5479a1c204601f11', 'ralouphie/getallheaders' => '3.0.3@120b605dfeb996808c31b6477290a714d356e822', 'sentry/sentry' => '4.27.0@1f0544cff8443ac1d25d6521487118e28381a1c2', 'symfony/deprecation-contracts' => 'v2.5.4@605389f2a7e5625f273b53960dc46aeaf9c62918', 'symfony/options-resolver' => 'v5.4.45@74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6', 'symfony/polyfill-php73' => 'v1.37.0@0f68c03565dcaaf25a890667542e8bd75fe7e5bb', 'symfony/polyfill-php80' => 'v1.37.0@dfb55726c3a76ea3b6459fcfda1ec2d80a682411', 'stayallive/wp-sentry' => 'v8.11. 0@e4912334b7dcc3ccc37e9350057cdc85546ba6e6');31 const VERSIONS = array('composer/installers' => 'v2.3.0@12fb2dfe5e16183de69e784a7b84046c43d97e8e', 'composer/package-versions-deprecated' => '1.11.99.5@b4f54f74ef3453349c24a845d22392cd31e65f1d', 'guzzlehttp/psr7' => '2.10.1@73ab136360b5dfd858006eae9795e8fe43c80361', 'jean85/pretty-package-versions' => '1.6.0@1e0104b46f045868f11942aea058cd7186d6c303', 'psr/http-factory' => '1.1.0@2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'psr/http-message' => '2.0@402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'psr/log' => '1.1.4@d49695b909c3b7628b6289db5479a1c204601f11', 'ralouphie/getallheaders' => '3.0.3@120b605dfeb996808c31b6477290a714d356e822', 'sentry/sentry' => '4.27.0@1f0544cff8443ac1d25d6521487118e28381a1c2', 'symfony/deprecation-contracts' => 'v2.5.4@605389f2a7e5625f273b53960dc46aeaf9c62918', 'symfony/options-resolver' => 'v5.4.45@74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6', 'symfony/polyfill-php73' => 'v1.37.0@0f68c03565dcaaf25a890667542e8bd75fe7e5bb', 'symfony/polyfill-php80' => 'v1.37.0@dfb55726c3a76ea3b6459fcfda1ec2d80a682411', 'stayallive/wp-sentry' => 'v8.11.1@2b620ceb3b70655a96655468d5da018f5c573c66'); 32 32 private function __construct() 33 33 { -
wp-sentry-integration/trunk/readme.txt
r3538887 r3564189 6 6 Tested up to: 7.0 7 7 Requires PHP: 7.2.5 8 Stable tag: 8.11. 08 Stable tag: 8.11.1 9 9 License: MIT 10 License URI: https://github.com/stayallive/wp-sentry/blob/v8.11. 0/LICENSE.md10 License URI: https://github.com/stayallive/wp-sentry/blob/v8.11.1/LICENSE.md 11 11 12 12 A (unofficial) WordPress plugin to report PHP errors and Browser (JavaScript) errors to Sentry. … … 17 17 It will auto detect authenticated users and add context where possible. All context/tags can be adjusted/expanded using filters. 18 18 19 _For more information and documentation have a look at the [full documentation](https://github.com/stayallive/wp-sentry/tree/v8.11. 0#readme)._19 _For more information and documentation have a look at the [full documentation](https://github.com/stayallive/wp-sentry/tree/v8.11.1#readme)._ 20 20 21 21 == Installation == … … 24 24 If manual installation is required, please make sure that the plugin files are in a folder named "wp-sentry-integration" in the WordPress plugins folder, usually "wp-content/plugins". 25 25 26 To start using the plugin first setup the [DSN](https://github.com/stayallive/wp-sentry/tree/v8.11. 0#dsn) for either the PHP side or the Browser side or both.26 To start using the plugin first setup the [DSN](https://github.com/stayallive/wp-sentry/tree/v8.11.1#dsn) for either the PHP side or the Browser side or both. 27 27 28 28 All other configuration options are optional but it's advised you read through them to see if any are applicable to you or are thing you'd like to configure. 29 29 30 _You can find more information and the full documentation: [here](https://github.com/stayallive/wp-sentry/tree/v8.11. 0#configuration). The following are the basics._30 _You can find more information and the full documentation: [here](https://github.com/stayallive/wp-sentry/tree/v8.11.1#configuration). The following are the basics._ 31 31 32 32 **Note:** When configuring constants in your `wp-config.php` do this **before** the `That's all, stop editing! Happy publishing.` line, otherwise they won't work! … … 53 53 **Note:** Do not set this constant to disable the Browser (JavaScript) tracker. 54 54 55 _You can find more information and the full documentation: [here](https://github.com/stayallive/wp-sentry/tree/v8.11. 0#configuration). The above are the basics._55 _You can find more information and the full documentation: [here](https://github.com/stayallive/wp-sentry/tree/v8.11.1#configuration). The above are the basics._ 56 56 57 57 == Changelog == 58 = 8.11.1 = 59 60 * Fix fatal error in HTTP tracing when WordPress passes a malformed URL 61 58 62 = 8.11.0 = 59 63 -
wp-sentry-integration/trunk/src/class-wp-sentry-version.php
r3538887 r3564189 6 6 final class WP_Sentry_Version { 7 7 public const SDK_IDENTIFIER = 'sentry.php.wordpress'; 8 public const SDK_VERSION = '8.11. 0';8 public const SDK_VERSION = '8.11.1'; 9 9 } -
wp-sentry-integration/trunk/src/tracing/features/class-wp-sentry-tracing-feature-http.php
r3374881 r3564189 36 36 37 37 if ( $this->span_enabled() ) { 38 $method = strtoupper( $parsed_args['method'] ); 39 $fullUri = $this->get_full_uri( $url ); 38 $method = strtoupper( $parsed_args['method'] ); 39 $fullUri = $this->get_full_uri( $url ); 40 41 if ( $fullUri === null ) { 42 return $response; 43 } 44 40 45 $partialUri = $this->get_partial_uri( $fullUri ); 41 46 … … 58 63 } 59 64 60 $method = strtoupper( $parsed_args['method'] ); 61 $fullUri = $this->get_full_uri( $url ); 65 $method = strtoupper( $parsed_args['method'] ); 66 $fullUri = $this->get_full_uri( $url ); 67 68 if ( $fullUri === null ) { 69 return; 70 } 71 62 72 $partialUri = $this->get_partial_uri( $fullUri ); 63 73 … … 130 140 } 131 141 132 /** @return \Psr\Http\Message\UriInterface */142 /** @return \Psr\Http\Message\UriInterface|null */ 133 143 private function get_full_uri( string $url ) { 134 144 if ( class_exists( WPSentry\ScopedVendor\GuzzleHttp\Psr7\Uri::class ) ) { 135 /** @noinspection PhpIncompatibleReturnTypeInspection */ 136 return new WPSentry\ScopedVendor\GuzzleHttp\Psr7\Uri( $url ); 145 try { 146 /** @noinspection PhpIncompatibleReturnTypeInspection */ 147 return new WPSentry\ScopedVendor\GuzzleHttp\Psr7\Uri( $url ); 148 } catch ( InvalidArgumentException $exception ) { 149 return null; 150 } 137 151 } 138 152 139 153 if ( class_exists( GuzzleHttp\Psr7\Uri::class ) ) { 140 return new GuzzleHttp\Psr7\Uri( $url ); 154 try { 155 return new GuzzleHttp\Psr7\Uri( $url ); 156 } catch ( InvalidArgumentException $exception ) { 157 return null; 158 } 141 159 } 142 160 -
wp-sentry-integration/trunk/wp-sentry.php
r3538887 r3564189 5 5 * Plugin URI: https://github.com/stayallive/wp-sentry 6 6 * Description: A (unofficial) WordPress plugin to report PHP and JavaScript errors to Sentry. 7 * Version: 8.11. 07 * Version: 8.11.1 8 8 * Requires at least: 4.4 9 9 * Requires PHP: 7.2.5 … … 11 11 * Author URI: https://alex.bouma.dev 12 12 * License: MIT 13 * License URI: https://github.com/stayallive/wp-sentry/blob/v8.11. 0/LICENSE.md13 * License URI: https://github.com/stayallive/wp-sentry/blob/v8.11.1/LICENSE.md 14 14 */ 15 15
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)