Skip to content

Commit d6129c6

Browse files
crstaufbarryhughes
authored andcommitted
remove unused variables
1 parent ecf726c commit d6129c6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

classes/ActionScheduler_Versions.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ public static function initialize_latest_version() {
117117
public function active_source() {
118118
$file = __FILE__;
119119
$dir = __DIR__;
120-
$path = $this->active_source_path();
121120
$themes = (array) search_theme_directories();
122121

123122
foreach ( $themes as $slug => $data ) {
@@ -141,7 +140,6 @@ public function active_source() {
141140

142141
$plugins = get_plugins();
143142
$plugin_files = array_keys( $plugins );
144-
$plugin_paths = array();
145143

146144
foreach ( $plugin_files as $plugin_file ) {
147145
$plugin_path = trailingslashit( WP_PLUGIN_DIR ) . dirname( $plugin_file );

0 commit comments

Comments
 (0)