issues
search
WordPress
/
wp-plugin-dependencies
WordPress Feature Project: Plugin Dependencies
https://make.wordpress.org/core/2022/02/24/feature-project-plugin-dependencies/
MIT License
69
stars
9
forks
source link
Various improvements to `::cannot_activate_unmet_dependencies()`.
#22
Closed
costdev
closed
2 years ago
costdev
commented
2 years ago
This PR:
[x] Inverts an
isset()
call and makes it a guard to reduce nesting.
[x] Aligns and makes the
translators
comment meet documentation standards.
[x] Adds some spacing around the circular dependency guard for readability.
[x] Changes a falsy check on an array to
! isset()
to cover the possibility of a missing key.
[x] Adds a
@return
description for consistency with WordPress Core.
This PR:
isset()
call and makes it a guard to reduce nesting.translators
comment meet documentation standards.! isset()
to cover the possibility of a missing key.@return
description for consistency with WordPress Core.