Plugin Directory

Changeset 3459052


Ignore:
Timestamp:
02/11/2026 02:51:11 PM (6 weeks ago)
Author:
claudiosanches
Message:

Tagging version 3.2.20

Location:
restrict-content/tags/3.2.20
Files:
13 edited
1 copied

Legend:

Unmodified
Added
Removed
  • restrict-content/tags/3.2.20/composer.json

    r3448964 r3459052  
    11{
    22    "name": "restrictcontent/restrict-content",
    3     "version": "3.2.19",
     3    "version": "3.2.20",
    44    "type": "wordpress-plugin",
    55    "description": "A simple, yet powerful membership solution for WordPress.",
  • restrict-content/tags/3.2.20/core/includes/class-restrict-content.php

    r3448964 r3459052  
    2727     */
    2828    final class Restrict_Content_Pro {
    29         const VERSION = '3.5.51';
     29        const VERSION = '3.5.52';
    3030
    3131        /**
  • restrict-content/tags/3.2.20/core/includes/query-filters.php

    r3420370 r3459052  
    236236    ];
    237237
    238     // For REST API, we need to handle term-based restrictions differently since meta_query
    239     // doesn't support term relationships. We'll use a custom filter approach.
    240     add_filter( 'rest_post_query', 'rcp_filter_rest_api_restricted_posts', 10, 2 );
    241 
    242238    return $args;
    243239}
     
    248244 *
    249245 * @since 3.5.47
     246 * @deprecated 3.5.52
    250247 *
    251248 * @param array<string, mixed> $args    The query arguments.
     
    255252 */
    256253function rcp_filter_rest_api_restricted_posts( $args, $request ) {
    257     global $wpdb;
    258 
    259     // Get posts that are assigned to restricted terms.
    260     $restricted_term_post_ids = $wpdb->get_col(
    261         "SELECT DISTINCT tr.object_id
    262         FROM {$wpdb->term_relationships} tr
    263         INNER JOIN {$wpdb->term_taxonomy} tt ON tr.term_taxonomy_id = tt.term_taxonomy_id
    264         INNER JOIN {$wpdb->termmeta} tm ON tt.term_id = tm.term_id
    265         WHERE tm.meta_key = 'rcp_restricted_meta'
    266         AND tm.meta_value != ''
    267         AND tm.meta_value NOT LIKE '%s:13:\"access_level\";s:4:\"None\"%'"
    268     );
    269 
    270     if ( ! empty( $restricted_term_post_ids ) ) {
    271         // Initialize post__not_in if it doesn't exist.
    272         if ( ! isset( $args['post__not_in'] ) ) {
    273             $args['post__not_in'] = [];
    274         } elseif ( is_array( $args['post__not_in'] ) ) {
    275             // Add term-restricted post IDs to the exclusion list.
    276             $args['post__not_in'] = array_unique(
    277                 array_merge( $args['post__not_in'], $restricted_term_post_ids )
    278             );
    279         }
    280     }
    281 
    282     // Remove this filter to prevent it from affecting other queries.
    283     remove_filter( 'rest_post_query', 'rcp_filter_rest_api_restricted_posts', 10 );
     254    _deprecated_function( __FUNCTION__, '3.5.52' );
    284255
    285256    return $args;
  • restrict-content/tags/3.2.20/core/includes/registration-functions.php

    r3447187 r3459052  
    100100        // no membership level was chosen
    101101        rcp_errors()->add( 'no_level', __( 'Please choose a membership level', 'rcp' ), 'register' );
    102     }
    103 
    104     // Validate membership level is active.
    105     if ( 'active' !== $membership_level->get_status() ) {
    106         rcp_errors()->add( 'invalid_level', __( 'The selected membership level is not available for registration.', 'rcp' ), 'register' );
    107102    }
    108103
     
    12241219    // Validate membership level is active.
    12251220    $membership_level = rcp_get_membership_level( $level_id );
    1226     if ( ! $membership_level instanceof Membership_Level || 'active' !== $membership_level->get_status() ) {
     1221
     1222    /**
     1223     * Filters whether or not to allow registration to inactive membership levels.
     1224     *
     1225     * @since 3.5.52
     1226     *
     1227     * @param bool                       $can_register_inactive_levels Whether or not to allow registration to inactive membership levels.
     1228     * @param RCP\Membership_Level|false $membership_level             Membership level object.
     1229     *
     1230     * @return bool
     1231     */
     1232    $can_register_inactive_levels = apply_filters( 'rcp_can_register_to_inactive_membership_levels', true, $membership_level );
     1233
     1234    if (
     1235        ! $membership_level instanceof Membership_Level
     1236        || ( ! $can_register_inactive_levels && 'active' !== $membership_level->get_status() )
     1237    ) {
    12271238        rcp_errors()->add( 'invalid_level', __( 'Invalid membership level selected.', 'rcp' ), 'register' );
    12281239        return;
  • restrict-content/tags/3.2.20/lang/restrict-content.pot

    r3448964 r3459052  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Restrict Content 3.2.19\n"
     5"Project-Id-Version: Restrict Content 3.2.20\n"
    66"Report-Msgid-Bugs-To: http://ithemes.com/support/\n"
    7 "POT-Creation-Date: 2026-01-28 19:01:26+00:00\n"
     7"POT-Creation-Date: 2026-02-11 14:47:08+00:00\n"
    88"PO-Revision-Date: 2026-MO-DA HO:MI+ZONE\n"
    99"MIME-Version: 1.0\n"
     
    576576#: core/includes/memberships/membership-actions.php:99
    577577#: core/includes/memberships/membership-actions.php:165
     578#: core/includes/registration-functions.php:299
    578579#: core/includes/registration-functions.php:304
    579580#: core/includes/registration-functions.php:309
    580 #: core/includes/registration-functions.php:314
    581581#: core/includes/user-page-columns.php:136
    582582msgid "Error"
     
    13011301#: core/includes/memberships/membership-actions.php:99
    13021302#: core/includes/memberships/membership-actions.php:165
     1303#: core/includes/registration-functions.php:299
    13031304#: core/includes/registration-functions.php:304
    13041305#: core/includes/registration-functions.php:309
    1305 #: core/includes/registration-functions.php:314
    13061306#: core/includes/shortcodes.php:714 core/includes/user-page-columns.php:136
    13071307msgid "You do not have permission to perform this action."
     
    60176017
    60186018#: core/includes/gateways/stripe/functions.php:797
    6019 #: core/includes/registration-functions.php:548
     6019#: core/includes/registration-functions.php:543
    60206020msgid "Missing payment ID."
    60216021msgstr ""
     
    64226422
    64236423#: core/includes/login-functions.php:86
    6424 #: core/includes/registration-functions.php:810 legacy/includes/forms.php:134
     6424#: core/includes/registration-functions.php:805 legacy/includes/forms.php:134
    64256425#: legacy/includes/forms.php:670
    64266426msgid "Please enter a password"
     
    64936493
    64946494#: core/includes/member-functions.php:543
    6495 #: core/includes/registration-functions.php:814 legacy/includes/forms.php:674
     6495#: core/includes/registration-functions.php:809 legacy/includes/forms.php:674
    64966496msgid "Passwords do not match"
    64976497msgstr ""
     
    68036803
    68046804#: core/includes/registration-functions.php:106
    6805 msgid "The selected membership level is not available for registration."
    6806 msgstr ""
    6807 
    6808 #: core/includes/registration-functions.php:111
    68096805msgid "You may only sign up for a free trial once"
    68106806msgstr ""
    68116807
    6812 #: core/includes/registration-functions.php:121
     6808#: core/includes/registration-functions.php:116
    68136809msgid "You can only use the discount code once"
    68146810msgstr ""
    68156811
    6816 #: core/includes/registration-functions.php:125
     6812#: core/includes/registration-functions.php:120
    68176813msgid "The discount you entered is invalid"
    68186814msgstr ""
    68196815
     6816#: core/includes/registration-functions.php:135
     6817msgid "You must agree to the terms and conditions"
     6818msgstr ""
     6819
    68206820#: core/includes/registration-functions.php:140
    6821 msgid "You must agree to the terms and conditions"
    6822 msgstr ""
    6823 
    6824 #: core/includes/registration-functions.php:145
    68256821msgid "You must agree to the privacy policy"
    68266822msgstr ""
    68276823
    6828 #: core/includes/registration-functions.php:230
     6824#: core/includes/registration-functions.php:225
    68296825msgid "Failed to create customer record"
    68306826msgstr ""
    68316827
    6832 #: core/includes/registration-functions.php:360
     6828#: core/includes/registration-functions.php:355
    68336829msgid "Upgraded from %1$s (membership #%2$d)."
    68346830msgstr ""
    68356831
    6836 #: core/includes/registration-functions.php:561
     6832#: core/includes/registration-functions.php:556
    68376833msgid "Invalid payment. Please try again."
    68386834msgstr ""
    68396835
    6840 #: core/includes/registration-functions.php:779
     6836#: core/includes/registration-functions.php:774
    68416837msgid "This username is already in use. If this is your username, please <a href=\"%s\">log in</a> and try again."
    68426838msgstr ""
    68436839
    6844 #: core/includes/registration-functions.php:787 legacy/includes/forms.php:658
     6840#: core/includes/registration-functions.php:782 legacy/includes/forms.php:658
    68456841msgid "Invalid username"
    68466842msgstr ""
    68476843
    6848 #: core/includes/registration-functions.php:791 legacy/includes/forms.php:649
     6844#: core/includes/registration-functions.php:786 legacy/includes/forms.php:649
    68496845msgid "Please enter a username"
    68506846msgstr ""
    68516847
    6852 #: core/includes/registration-functions.php:795 legacy/includes/forms.php:662
     6848#: core/includes/registration-functions.php:790 legacy/includes/forms.php:662
    68536849msgid "Invalid email"
    68546850msgstr ""
    68556851
    6856 #: core/includes/registration-functions.php:802
     6852#: core/includes/registration-functions.php:797
    68576853msgid "This email address is already in use. If this is your email address, please <a href=\"%s\">log in</a> and try again."
    68586854msgstr ""
    68596855
    6860 #: core/includes/registration-functions.php:1062
    6861 #: core/includes/registration-functions.php:1130
     6856#: core/includes/registration-functions.php:1057
     6857#: core/includes/registration-functions.php:1125
    68626858#: core/templates/register-common.php:102
    68636859#: core/templates/register-total-details.php:53
     
    68656861msgstr ""
    68666862
    6867 #: core/includes/registration-functions.php:1069
     6863#: core/includes/registration-functions.php:1064
    68686864msgid "Free trial - %s"
    68696865msgstr ""
    68706866
    6871 #: core/includes/registration-functions.php:1123
     6867#: core/includes/registration-functions.php:1118
    68726868msgid " every %1$s %2$s"
    68736869msgstr ""
    68746870
    6875 #: core/includes/registration-functions.php:1227
     6871#: core/includes/registration-functions.php:1238
    68766872msgid "Invalid membership level selected."
    68776873msgstr ""
    68786874
    6879 #: core/includes/registration-functions.php:1235
     6875#: core/includes/registration-functions.php:1246
    68806876msgid "A payment method is required for this membership level."
    68816877msgstr ""
    68826878
    6883 #: core/includes/registration-functions.php:1365
     6879#: core/includes/registration-functions.php:1376
    68846880msgid "Renew"
    68856881msgstr ""
    68866882
    6887 #: core/includes/registration-functions.php:1369
     6883#: core/includes/registration-functions.php:1380
    68886884msgid "Change"
    68896885msgstr ""
    68906886
    6891 #: core/includes/registration-functions.php:1374
     6887#: core/includes/registration-functions.php:1385
    68926888msgid "or"
    68936889msgstr ""
    68946890
    6895 #: core/includes/registration-functions.php:1384
     6891#: core/includes/registration-functions.php:1395
    68966892msgid "You are signing up for a new membership."
    68976893msgstr ""
    68986894
    6899 #: core/includes/registration-functions.php:1384
     6895#: core/includes/registration-functions.php:1395
    69006896msgid "Click here to renew or change an existing membership instead."
    69016897msgstr ""
    69026898
    6903 #: core/includes/registration-functions.php:1441
     6899#: core/includes/registration-functions.php:1452
    69046900msgid "You are changing your \"%1$s\" membership. <a href=\"%2$s\">Click here to sign up for an additional membership instead.</a>"
    69056901msgstr ""
    69066902
    6907 #: core/includes/registration-functions.php:1474
     6903#: core/includes/registration-functions.php:1485
    69086904msgid "Proration Credit"
    69096905msgstr ""
    69106906
    6911 #: core/includes/registration-functions.php:1519
     6907#: core/includes/registration-functions.php:1530
    69126908msgid "If you upgrade or downgrade your account, the new membership will be prorated up to %s for the first payment. Prorated prices are shown below."
    69136909msgstr ""
    69146910
    6915 #: core/includes/registration-functions.php:2110
    6916 #: core/includes/registration-functions.php:2111
     6911#: core/includes/registration-functions.php:2121
     6912#: core/includes/registration-functions.php:2122
    69176913msgid "Next Renewal Due"
    69186914msgstr ""
  • restrict-content/tags/3.2.20/legacy/restrictcontent.php

    r3448964 r3459052  
    2222
    2323if ( ! defined( 'RC_PLUGIN_VERSION' ) ) {
    24     define( 'RC_PLUGIN_VERSION', '3.2.19' );
     24    define( 'RC_PLUGIN_VERSION', '3.2.20' );
    2525}
    2626
  • restrict-content/tags/3.2.20/package.json

    r3448964 r3459052  
    11{
    22  "name": "restrict-content",
    3   "version": "3.2.19",
     3  "version": "3.2.20",
    44  "description": "Set up a complete membership system for your WordPress site and deliver premium content to your members. Unlimited membership packages, membership management, discount codes, registration / login forms, and more.",
    55  "homepage": "https://restrictcontentpro.com/",
  • restrict-content/tags/3.2.20/readme.txt

    r3448964 r3459052  
    77Requires PHP: 7.4
    88Tested up to: 6.9
    9 Stable tag: 3.2.19
     9Stable tag: 3.2.20
    1010
    1111Restrict Content is a powerful WordPress membership plugin that gives you full control over who can and cannot view content on your WordPress site.
     
    258258== Changelog ==
    259259
     260= 3.2.20 =
     261* Fix: Restored the ability to register to inactive membership levels using shortcodes.
     262* Tweak: Added filter: `rcp_can_register_to_inactive_membership_levels`.
     263
    260264= 3.2.19 =
    261265* Security: Strengthened security measures in invoice rendering.
  • restrict-content/tags/3.2.20/restrictcontent.php

    r3448964 r3459052  
    44 * Plugin URI: https://restrictcontentpro.com
    55 * Description: Set up a complete membership system for your WordPress site and deliver premium content to your members. Unlimited membership packages, membership management, discount codes, registration / login forms, and more.
    6  * Version: 3.2.19
     6 * Version: 3.2.20
    77 * Author: StellarWP
    88 * Author URI: https://stellarwp.com/
     
    1919define('RCP_ROOT', plugin_dir_path(__FILE__));
    2020define('RCP_WEB_ROOT', plugin_dir_url(__FILE__));
    21 define('RCF_VERSION', '3.2.19');
     21define('RCF_VERSION', '3.2.20');
    2222
    2323// Load Strauss autoload.
  • restrict-content/tags/3.2.20/vendor/autoload.php

    r3420370 r3459052  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • restrict-content/tags/3.2.20/vendor/composer/ClassLoader.php

    r3420370 r3459052  
    4646    private static $includeFile;
    4747
    48     /** @var ?string */
     48    /** @var string|null */
    4949    private $vendorDir;
    5050
    5151    // PSR-4
    5252    /**
    53      * @var array[]
    54      * @psalm-var array<string, array<string, int>>
     53     * @var array<string, array<string, int>>
    5554     */
    5655    private $prefixLengthsPsr4 = array();
    5756    /**
    58      * @var array[]
    59      * @psalm-var array<string, array<int, string>>
     57     * @var array<string, list<string>>
    6058     */
    6159    private $prefixDirsPsr4 = array();
    6260    /**
    63      * @var array[]
    64      * @psalm-var array<string, string>
     61     * @var list<string>
    6562     */
    6663    private $fallbackDirsPsr4 = array();
     
    6865    // PSR-0
    6966    /**
    70      * @var array[]
    71      * @psalm-var array<string, array<string, string[]>>
     67     * List of PSR-0 prefixes
     68     *
     69     * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2')))
     70     *
     71     * @var array<string, array<string, list<string>>>
    7272     */
    7373    private $prefixesPsr0 = array();
    7474    /**
    75      * @var array[]
    76      * @psalm-var array<string, string>
     75     * @var list<string>
    7776     */
    7877    private $fallbackDirsPsr0 = array();
     
    8281
    8382    /**
    84      * @var string[]
    85      * @psalm-var array<string, string>
     83     * @var array<string, string>
    8684     */
    8785    private $classMap = array();
     
    9189
    9290    /**
    93      * @var bool[]
    94      * @psalm-var array<string, bool>
     91     * @var array<string, bool>
    9592     */
    9693    private $missingClasses = array();
    9794
    98     /** @var ?string */
     95    /** @var string|null */
    9996    private $apcuPrefix;
    10097
    10198    /**
    102      * @var self[]
     99     * @var array<string, self>
    103100     */
    104101    private static $registeredLoaders = array();
    105102
    106103    /**
    107      * @param ?string $vendorDir
     104     * @param string|null $vendorDir
    108105     */
    109106    public function __construct($vendorDir = null)
     
    114111
    115112    /**
    116      * @return string[]
     113     * @return array<string, list<string>>
    117114     */
    118115    public function getPrefixes()
     
    126123
    127124    /**
    128      * @return array[]
    129      * @psalm-return array<string, array<int, string>>
     125     * @return array<string, list<string>>
    130126     */
    131127    public function getPrefixesPsr4()
     
    135131
    136132    /**
    137      * @return array[]
    138      * @psalm-return array<string, string>
     133     * @return list<string>
    139134     */
    140135    public function getFallbackDirs()
     
    144139
    145140    /**
    146      * @return array[]
    147      * @psalm-return array<string, string>
     141     * @return list<string>
    148142     */
    149143    public function getFallbackDirsPsr4()
     
    153147
    154148    /**
    155      * @return string[] Array of classname => path
    156      * @psalm-return array<string, string>
     149     * @return array<string, string> Array of classname => path
    157150     */
    158151    public function getClassMap()
     
    162155
    163156    /**
    164      * @param string[] $classMap Class to filename map
    165      * @psalm-param array<string, string> $classMap
     157     * @param array<string, string> $classMap Class to filename map
    166158     *
    167159     * @return void
     
    180172     * appending or prepending to the ones previously set for this prefix.
    181173     *
    182      * @param string          $prefix  The prefix
    183      * @param string[]|string $paths   The PSR-0 root directories
    184      * @param bool            $prepend Whether to prepend the directories
     174     * @param string              $prefix  The prefix
     175     * @param list<string>|string $paths   The PSR-0 root directories
     176     * @param bool                $prepend Whether to prepend the directories
    185177     *
    186178     * @return void
     
    188180    public function add($prefix, $paths, $prepend = false)
    189181    {
     182        $paths = (array) $paths;
    190183        if (!$prefix) {
    191184            if ($prepend) {
    192185                $this->fallbackDirsPsr0 = array_merge(
    193                     (array) $paths,
     186                    $paths,
    194187                    $this->fallbackDirsPsr0
    195188                );
     
    197190                $this->fallbackDirsPsr0 = array_merge(
    198191                    $this->fallbackDirsPsr0,
    199                     (array) $paths
     192                    $paths
    200193                );
    201194            }
     
    206199        $first = $prefix[0];
    207200        if (!isset($this->prefixesPsr0[$first][$prefix])) {
    208             $this->prefixesPsr0[$first][$prefix] = (array) $paths;
     201            $this->prefixesPsr0[$first][$prefix] = $paths;
    209202
    210203            return;
     
    212205        if ($prepend) {
    213206            $this->prefixesPsr0[$first][$prefix] = array_merge(
    214                 (array) $paths,
     207                $paths,
    215208                $this->prefixesPsr0[$first][$prefix]
    216209            );
     
    218211            $this->prefixesPsr0[$first][$prefix] = array_merge(
    219212                $this->prefixesPsr0[$first][$prefix],
    220                 (array) $paths
     213                $paths
    221214            );
    222215        }
     
    227220     * appending or prepending to the ones previously set for this namespace.
    228221     *
    229      * @param string          $prefix  The prefix/namespace, with trailing '\\'
    230      * @param string[]|string $paths   The PSR-4 base directories
    231      * @param bool            $prepend Whether to prepend the directories
     222     * @param string              $prefix  The prefix/namespace, with trailing '\\'
     223     * @param list<string>|string $paths   The PSR-4 base directories
     224     * @param bool                $prepend Whether to prepend the directories
    232225     *
    233226     * @throws \InvalidArgumentException
     
    237230    public function addPsr4($prefix, $paths, $prepend = false)
    238231    {
     232        $paths = (array) $paths;
    239233        if (!$prefix) {
    240234            // Register directories for the root namespace.
    241235            if ($prepend) {
    242236                $this->fallbackDirsPsr4 = array_merge(
    243                     (array) $paths,
     237                    $paths,
    244238                    $this->fallbackDirsPsr4
    245239                );
     
    247241                $this->fallbackDirsPsr4 = array_merge(
    248242                    $this->fallbackDirsPsr4,
    249                     (array) $paths
     243                    $paths
    250244                );
    251245            }
     
    257251            }
    258252            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
    259             $this->prefixDirsPsr4[$prefix] = (array) $paths;
     253            $this->prefixDirsPsr4[$prefix] = $paths;
    260254        } elseif ($prepend) {
    261255            // Prepend directories for an already registered namespace.
    262256            $this->prefixDirsPsr4[$prefix] = array_merge(
    263                 (array) $paths,
     257                $paths,
    264258                $this->prefixDirsPsr4[$prefix]
    265259            );
     
    268262            $this->prefixDirsPsr4[$prefix] = array_merge(
    269263                $this->prefixDirsPsr4[$prefix],
    270                 (array) $paths
     264                $paths
    271265            );
    272266        }
     
    277271     * replacing any others previously set for this prefix.
    278272     *
    279      * @param string          $prefix The prefix
    280      * @param string[]|string $paths  The PSR-0 base directories
     273     * @param string              $prefix The prefix
     274     * @param list<string>|string $paths  The PSR-0 base directories
    281275     *
    282276     * @return void
     
    295289     * replacing any others previously set for this namespace.
    296290     *
    297      * @param string          $prefix The prefix/namespace, with trailing '\\'
    298      * @param string[]|string $paths  The PSR-4 base directories
     291     * @param string              $prefix The prefix/namespace, with trailing '\\'
     292     * @param list<string>|string $paths  The PSR-4 base directories
    299293     *
    300294     * @throws \InvalidArgumentException
     
    482476
    483477    /**
    484      * Returns the currently registered loaders indexed by their corresponding vendor directories.
    485      *
    486      * @return self[]
     478     * Returns the currently registered loaders keyed by their corresponding vendor directories.
     479     *
     480     * @return array<string, self>
    487481     */
    488482    public static function getRegisteredLoaders()
  • restrict-content/tags/3.2.20/vendor/composer/autoload_static.php

    r3420370 r3459052  
    88{
    99    public static $prefixLengthsPsr4 = array (
    10         'l' => 
     10        'l' =>
    1111        array (
    1212            'lucatume\\DI52\\' => 14,
    1313        ),
    14         'S' => 
     14        'S' =>
    1515        array (
    1616            'StellarWP\\Telemetry\\Views_Dir\\' => 30,
     
    1919            'StellarWP\\ContainerContract\\' => 28,
    2020        ),
    21         'R' => 
     21        'R' =>
    2222        array (
    2323            'RCP\\' => 4,
    2424        ),
    25         'P' => 
     25        'P' =>
    2626        array (
    2727            'Psr\\Container\\' => 14,
     
    3030
    3131    public static $prefixDirsPsr4 = array (
    32         'lucatume\\DI52\\' => 
     32        'lucatume\\DI52\\' =>
    3333        array (
    3434            0 => __DIR__ . '/..' . '/lucatume/di52/src',
    3535        ),
    36         'StellarWP\\Telemetry\\Views_Dir\\' => 
     36        'StellarWP\\Telemetry\\Views_Dir\\' =>
    3737        array (
    3838            0 => __DIR__ . '/..' . '/stellarwp/telemetry/src/views',
    3939        ),
    40         'StellarWP\\Telemetry\\Assets_Dir\\' => 
     40        'StellarWP\\Telemetry\\Assets_Dir\\' =>
    4141        array (
    4242            0 => __DIR__ . '/..' . '/stellarwp/telemetry/src/resources',
    4343        ),
    44         'StellarWP\\Telemetry\\' => 
     44        'StellarWP\\Telemetry\\' =>
    4545        array (
    4646            0 => __DIR__ . '/..' . '/stellarwp/telemetry/src/Telemetry',
    4747        ),
    48         'StellarWP\\ContainerContract\\' => 
     48        'StellarWP\\ContainerContract\\' =>
    4949        array (
    5050            0 => __DIR__ . '/..' . '/stellarwp/container-contract/src',
    5151        ),
    52         'RCP\\' => 
     52        'RCP\\' =>
    5353        array (
    5454            0 => __DIR__ . '/../..' . '/core/includes',
    5555        ),
    56         'Psr\\Container\\' => 
     56        'Psr\\Container\\' =>
    5757        array (
    5858            0 => __DIR__ . '/..' . '/psr/container/src',
  • restrict-content/tags/3.2.20/vendor/composer/platform_check.php

    r3420370 r3459052  
    2020        }
    2121    }
    22     trigger_error(
    23         'Composer detected issues in your platform: ' . implode(' ', $issues),
    24         E_USER_ERROR
     22    throw new \RuntimeException(
     23        'Composer detected issues in your platform: ' . implode(' ', $issues)
    2524    );
    2625}
Note: See TracChangeset for help on using the changeset viewer.