function pluginsForSite( state = [], action ) {
	switch ( action.type ) {
		case PLUGIN_SETUP_INSTRUCTIONS_RECEIVE:
			return action.data;
		case PLUGIN_SETUP_INSTALL:
		case PLUGIN_SETUP_ACTIVATE:
		case PLUGIN_SETUP_CONFIGURE:
		case PLUGIN_SETUP_FINISH:
		case PLUGIN_SETUP_ERROR:
			return state.map( p => plugin( p, action ) );
		default:
			return state;
	}
}
function pluginsForSite( state = [], action ) {
	switch ( action.type ) {
		case PLUGIN_SETUP_INSTRUCTIONS_RECEIVE:
			return action.data;
		case PLUGIN_SETUP_INSTALL:
		case PLUGIN_SETUP_ACTIVATE:
		case PLUGIN_SETUP_CONFIGURE:
		case PLUGIN_SETUP_FINISH:
		case PLUGIN_SETUP_ERROR:
			return state.map( p => plugin( p, action ) );
		default:
			return state;
	}
}
function pluginsForSite ( state = [ ] , action ) { switch ( action . type ) { case PLUGIN_SETUP_INSTRUCTIONS_RECEIVE : return action . data ; case PLUGIN_SETUP_INSTALL : case PLUGIN_SETUP_ACTIVATE : case PLUGIN_SETUP_CONFIGURE : case PLUGIN_SETUP_FINISH : case PLUGIN_SETUP_ERROR : return state . map ( p => plugin ( p , action ) ) ; default : return state ; } }
/*
Tracks the list of premium plugin objects for a single site
/ * Tracks the list of premium plugin objects for a single site