Changeset 12534 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
- Timestamp:
- 04/12/2023 05:32:20 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
r12533 r12534 243 243 244 244 // Validate whether the dependencies are met by WordPress.org-hosted plugins. 245 $requires_plugins = array_ map( 'trim', explode( ',', $headers->RequiresPlugins) );245 $requires_plugins = array_filter( array_map( 'trim', explode( ',', $headers->RequiresPlugins ) ) ); 246 246 $requires_plugins_unmet = false; 247 247 foreach ( $requires_plugins as $requires_plugin_slug ) {
Note: See TracChangeset
for help on using the changeset viewer.