wp-includes/class-wp-plugin-dependency-installer.php
/**
	 * Add dot org download link to the registered dependencies.
	 */
Add dot org download link to the registered dependencies.
Add dot org download link to the registered dependencies .
private function add_download_link() {
		foreach ( $this->config as $dependency ) {
			$download_link               = null;
			$slug                        = $dependency['slug'];
			$download_link               = $this->get_dot_org_latest_download( dirname( $slug ) );
			$dependency['download_link'] = $download_link;
			$this->config[ $slug ]       = $dependency;
		}
	}
private function add_download_link ( ) { foreach ( $ this -> config as $ dependency ) { $ download_link = null ; $ slug = $ dependency [ 'slug' ] ; $ download_link = $ this -> get_dot_org_latest_download ( dirname ( $ slug ) ) ; $ dependency [ 'download_link' ] = $ download_link ; $ this -> config [ $ slug ] = $ dependency ; } }
Add dot org download link to the registered dependencies.
Add dot org download link to the registered dependencies .