mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
🔀 Merge branch 'trunk'
This commit is contained in:
commit
a13b8c03ff
6 changed files with 112 additions and 34 deletions
|
@ -120,7 +120,10 @@ class Settings implements ContainerInterface {
|
|||
* @return bool
|
||||
*/
|
||||
public function has( string $id ) {
|
||||
if ( $this->settings_map_helper->has_mapped_key( $id ) ) {
|
||||
if (
|
||||
$this->settings_map_helper->has_mapped_key( $id )
|
||||
&& ! is_null( $this->settings_map_helper->mapped_value( $id ) )
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue