@@ 515-521 (lines=7) @@ | ||
512 | return; |
|
513 | } |
|
514 | ||
515 | if ( |
|
516 | ! $plugin |
|
517 | || empty( $plugin['slug'] ) |
|
518 | || false === strpos( $plugin['slug'], 'give-' ) |
|
519 | ) { |
|
520 | return; |
|
521 | } |
|
522 | ||
523 | $plugin_data = Give_License::get_plugin_by_slug( $plugin['slug'] ); |
|
524 | ||
@@ 593-599 (lines=7) @@ | ||
590 | } |
|
591 | ||
592 | ||
593 | if ( |
|
594 | ! $plugin |
|
595 | || empty( $plugin['slug'] ) |
|
596 | || false === strpos( $plugin['slug'], 'give-' ) |
|
597 | ) { |
|
598 | return; |
|
599 | } |
|
600 | ||
601 | $plugin_data = Give_License::get_plugin_by_slug( $plugin['slug'] ); |
|
602 |