private function get_current_plugins() {
		$updates_avail = get_site_transient( 'update_plugins' );

		$msg = '';
		foreach ( wp_get_active_and_valid_plugins() as $plugin ) {
			$plugin_data = get_plugin_data( $plugin );

			$plugin_file = str_replace( trailingslashit( WP_PLUGIN_DIR ), '', $plugin );

			if ( isset( $updates_avail->response[ $plugin_file ] ) ) {
				$msg .= '<i class="icon-close1"></i> ';
			}
			$msg .= '<a href="' . $plugin_data['PluginURI'] . '">' . $plugin_data['Name'] . '</a> v' . $plugin_data['Version'] . '<br/>';
		}

		return $msg;
	}
private function get_current_plugins() {
		$updates_avail = get_site_transient( 'update_plugins' );

		$msg = '';
		foreach ( wp_get_active_and_valid_plugins() as $plugin ) {
			$plugin_data = get_plugin_data( $plugin );

			$plugin_file = str_replace( trailingslashit( WP_PLUGIN_DIR ), '', $plugin );

			if ( isset( $updates_avail->response[ $plugin_file ] ) ) {
				$msg .= '<i class="icon-close1"></i> ';
			}
			$msg .= '<a href="' . $plugin_data['PluginURI'] . '">' . $plugin_data['Name'] . '</a> v' . $plugin_data['Version'] . '<br/>';
		}

		return $msg;
	}
private function get_current_plugins ( ) { $ updates_avail = get_site_transient ( 'update_plugins' ) ; $ msg = '' ; foreach ( wp_get_active_and_valid_plugins ( ) as $ plugin ) { $ plugin_data = get_plugin_data ( $ plugin ) ; $ plugin_file = str_replace ( trailingslashit ( WP_PLUGIN_DIR ) , '' , $ plugin ) ; if ( isset ( $ updates_avail -> response [ $ plugin_file ] ) ) { $ msg .= '<i class="icon-close1"></i> ' ; } $ msg .= '<a href="' . $ plugin_data [ 'PluginURI' ] . '">' . $ plugin_data [ 'Name' ] . '</a> v' . $ plugin_data [ 'Version' ] . '<br/>' ; } return $ msg ; }
Returns a formatted HTML list of all active plugins

@return string
Returns a formatted HTML list of all active plugins