File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
WooCommerce/Classes/ViewRelated Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ final class AnalyticsHubViewModel: ObservableObject {
258258 ///
259259 private var timeRangeSelection : AnalyticsHubTimeRangeSelection
260260
261- /// Names of the active plugins on the store.
261+ /// A list of known active plugins on the store.
262262 ///
263263 private lazy var activePlugins : [ Plugin ] = {
264264 let predicate = NSPredicate ( format: " siteID == %lld && active == true " , siteID)
@@ -570,9 +570,9 @@ private extension AnalyticsHubViewModel {
570570 }
571571 }
572572
573- /// Helper function that returns `true` in its callback if the provided plugin is active on the store.
573+ /// Helper function that returns `true` in its callback if the provided plugin is active on the store.
574574 ///
575- /// - Parameter plugin: A list of known plugins .
575+ /// - Parameter plugin: Plugin to check .
576576 private func isPluginActive( _ plugin: Plugin ) -> Bool {
577577 activePlugins. contains ( plugin)
578578 }
Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ extension FilterProductListViewModel.ProductListFilter {
313313 promoteUrl: WooConstants . URLs. compositeProductsExtension. asURL ( ) ) ]
314314 }
315315
316- /// Fetches the active plugins for the provided site IDs using a `ResultsController`
316+ /// Fetches the active known plugins for the provided site IDs using a `ResultsController`
317317 ///
318318 private func fetchActivePlugins( siteID: Int64 , storageManager: StorageManagerType ) -> [ Plugin ] {
319319 let predicate = \StorageSystemPlugin . siteID == siteID && \StorageSystemPlugin . active == true
You can’t perform that action at this time.
0 commit comments