includes/class-freemius.php
private function remove_invalid_paths() {
            // Remove invalid path that is still associated with the current slug if there's any.
            $file_slug_map = self::$_accounts->get_option( 'file_slug_map', array() );
            foreach ( $file_slug_map as $plugin_basename => $slug ) {
                if ( $slug === $this->_slug &&
                     $plugin_basename !== $this->_plugin_basename &&
                     ! file_exists( $this->get_absolute_path( $plugin_basename ) )
                ) {
                    unset( $file_slug_map[ $plugin_basename ] );
                    self::$_accounts->set_option( 'file_slug_map', $file_slug_map, true );

                    break;
                }
            }
        }
private function remove_invalid_paths() {
            // Remove invalid path that is still associated with the current slug if there's any.
            $file_slug_map = self::$_accounts->get_option( 'file_slug_map', array() );
            foreach ( $file_slug_map as $plugin_basename => $slug ) {
                if ( $slug === $this->_slug &&
                     $plugin_basename !== $this->_plugin_basename &&
                     ! file_exists( $this->get_absolute_path( $plugin_basename ) )
                ) {
                    unset( $file_slug_map[ $plugin_basename ] );
                    self::$_accounts->set_option( 'file_slug_map', $file_slug_map, true );

                    break;
                }
            }
        }
private function remove_invalid_paths ( ) { // Remove invalid path that is still associated with the current slug if there's any.
 $ file_slug_map = self :: $ _accounts -> get_option ( 'file_slug_map' , array ( ) ) ; foreach ( $ file_slug_map as $ plugin_basename => $ slug ) { if ( $ slug === $ this -> _slug && $ plugin_basename !== $ this -> _plugin_basename && ! file_exists ( $ this -> get_absolute_path ( $ plugin_basename ) ) ) { unset ( $ file_slug_map [ $ plugin_basename ] ) ; self :: $ _accounts -> set_option ( 'file_slug_map' , $ file_slug_map , true ) ; break ; } } }
Remove invalid paths.

@author Leo Fajardo (@leorw)
@since  1.2.3
Remove invalid paths .