Skip to content

Commit

Permalink
Latest Cafe changes 5.0.15.p
Browse files Browse the repository at this point in the history
  • Loading branch information
Pebblo committed Jan 19, 2024
1 parent 4bd299d commit 62f8284
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Releases

### [5.0.15]

#### Fixed
- [Remove mixed return and parameter type (available in PHP8) (#1073)](https://github.com/eventespresso/cafe/pull/1073)
- [Dont set type properties of ?EEM_Base (#1074)](https://github.com/eventespresso/cafe/pull/1074)


### [5.0.14]

#### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ public static function updateOnboardingStatus(): void
* @param mixed $paypal_pm
* @return bool
*/
public static function onboardingStatusResponseValid(array $data, mixed $paypal_pm): bool
public static function onboardingStatusResponseValid(array $data, $paypal_pm): bool
{
// Check that we have all the required parameters and the nonce is ok.
if ($paypal_pm instanceof EE_Payment_Method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class PayPalExtraMetaManager
* @param string $option_name
* @return mixed
*/
public static function getPmOption(EE_Payment_Method $paypal_pm, string $option_name): mixed
public static function getPmOption(EE_Payment_Method $paypal_pm, string $option_name)
{
$pp_meta_data = self::extraMeta($paypal_pm);
$option_value = $pp_meta_data->getOption($option_name);
Expand Down
5 changes: 4 additions & 1 deletion core/EE_Capabilities.core.php
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,10 @@ public function init_role_caps(bool $reset = false, array $caps_map = [])
*/
abstract class EE_Meta_Capability_Map
{
protected ?EEM_Base $_model = null;
/**
* @var EEM_Base
*/
protected $_model = null;

protected string $_model_name = '';

Expand Down
4 changes: 2 additions & 2 deletions espresso.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name:Event Espresso
Plugin URI: https://eventespresso.com/pricing/?ee_ver=ee4&utm_source=ee4_plugin_admin&utm_medium=link&utm_campaign=wordpress_plugins_page&utm_content=support_link
Description: Manage events, sell tickets, and receive payments from your WordPress website. Reduce event administration time, cut-out ticketing fees, and own your customer data. | <a href="https://eventespresso.com/add-ons/?utm_source=plugin_activation_screen&utm_medium=link&utm_campaign=plugin_description">Extensions</a> | <a href="https://eventespresso.com/pricing/?utm_source=plugin_activation_screen&utm_medium=link&utm_campaign=plugin_description">Sales</a> | <a href="admin.php?page=espresso_support">Support</a>
Version: 5.0.15.rc.000
Version: 5.0.15.rc.005
Author: Event Espresso
Author URI: http://eventespresso.com/?ee_ver=ee4&utm_source=ee4_plugin_admin&utm_medium=link&utm_campaign=wordpress_plugins_page&utm_content=support_link
License: GPLv3
Expand Down Expand Up @@ -104,7 +104,7 @@ function espresso_minimum_php_version_error()
*/
function espresso_version(): string
{
return apply_filters('FHEE__espresso__espresso_version', '5.0.15.rc.000');
return apply_filters('FHEE__espresso__espresso_version', '5.0.14.rc.005');
}

/**
Expand Down

0 comments on commit 62f8284

Please sign in to comment.