Plugin Directory

Changeset 3564189


Ignore:
Timestamp:
06/08/2026 06:56:31 AM (5 months ago)
Author:
stayallive
Message:

Syncing v8.11.1 from GitHub

Location:
wp-sentry-integration/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • wp-sentry-integration/trunk/build/vendor/composer/installed.php

    r3538887 r3564189  
    33namespace WPSentry\ScopedVendor;
    44
    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)));
     5return 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  
    2929     * @internal
    3030     */
    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');
    3232    private function __construct()
    3333    {
  • wp-sentry-integration/trunk/readme.txt

    r3538887 r3564189  
    66Tested up to: 7.0
    77Requires PHP: 7.2.5
    8 Stable tag: 8.11.0
     8Stable tag: 8.11.1
    99License: MIT
    10 License URI: https://github.com/stayallive/wp-sentry/blob/v8.11.0/LICENSE.md
     10License URI: https://github.com/stayallive/wp-sentry/blob/v8.11.1/LICENSE.md
    1111
    1212A (unofficial) WordPress plugin to report PHP errors and Browser (JavaScript) errors to Sentry.
    … …  
    1717It will auto detect authenticated users and add context where possible. All context/tags can be adjusted/expanded using filters.
    1818
    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)._
    2020
    2121== Installation ==
    … …  
    2424If 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".
    2525
    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.
     26To 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.
    2727
    2828All 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.
    2929
    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._
    3131
    3232**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!
    … …  
    5353**Note:** Do not set this constant to disable the Browser (JavaScript) tracker.
    5454
    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._
    5656
    5757== Changelog ==
     58= 8.11.1 =
     59
     60* Fix fatal error in HTTP tracing when WordPress passes a malformed URL
     61
    5862= 8.11.0 =
    5963
  • wp-sentry-integration/trunk/src/class-wp-sentry-version.php

    r3538887 r3564189  
    66final class WP_Sentry_Version {
    77        public const SDK_IDENTIFIER = 'sentry.php.wordpress';
    8         public const SDK_VERSION    = '8.11.0';
     8        public const SDK_VERSION    = '8.11.1';
    99}
  • wp-sentry-integration/trunk/src/tracing/features/class-wp-sentry-tracing-feature-http.php

    r3374881 r3564189  
    3636
    3737                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
    4045                        $partialUri = $this->get_partial_uri( $fullUri );
    4146
    … …  
    5863                }
    5964
    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
    6272                $partialUri = $this->get_partial_uri( $fullUri );
    6373
    … …  
    130140        }
    131141
    132         /** @return \Psr\Http\Message\UriInterface */
     142        /** @return \Psr\Http\Message\UriInterface|null */
    133143        private function get_full_uri( string $url ) {
    134144                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                        }
    137151                }
    138152
    139153                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                        }
    141159                }
    142160
  • wp-sentry-integration/trunk/wp-sentry.php

    r3538887 r3564189  
    55 * Plugin URI:        https://github.com/stayallive/wp-sentry
    66 * Description:       A (unofficial) WordPress plugin to report PHP and JavaScript errors to Sentry.
    7  * Version:           8.11.0
     7 * Version:           8.11.1
    88 * Requires at least: 4.4
    99 * Requires PHP:      7.2.5
    … …  
    1111 * Author URI:        https://alex.bouma.dev
    1212 * License:           MIT
    13  * License URI:       https://github.com/stayallive/wp-sentry/blob/v8.11.0/LICENSE.md
     13 * License URI:       https://github.com/stayallive/wp-sentry/blob/v8.11.1/LICENSE.md
    1414 */
    1515
Note: See TracChangeset for help on using the changeset viewer.