You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove reliance on computed site attributes sourced from lib/site/index.js and lib/site/jetpack.js, instead using only values which are made available on the raw REST API site object, and use/add selectors where needed.
slug: Use getSiteSlug() from client/state/sites/selectors.js
getRemoteManagementURL(): Add selector to client/state/sites/selectors.js
connect()JetpackManageErrorPage to those selectors
Replace all other calls of getRemoteManagementURL() and remoteManagementURL, delete them from lib/site/jetpack.js.
Remove reliance on computed
site
attributes sourced fromlib/site/index.js
andlib/site/jetpack.js
, instead using only values which are made available on the raw REST API site object, and use/add selectors where needed.slug
: UsegetSiteSlug()
fromclient/state/sites/selectors.js
getRemoteManagementURL()
: Add selector toclient/state/sites/selectors.js
connect()
JetpackManageErrorPage
to those selectorsgetRemoteManagementURL()
andremoteManagementURL
, delete them fromlib/site/jetpack.js
.Related issues: #2757, #4057
The text was updated successfully, but these errors were encountered: