-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NUX: Change manage link, remove unecessary links, retina spinner
- Loading branch information
1 parent
79bbb75
commit 72037ee
Showing
2 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I think this will create problems for sites that have a path, or where WordPress is hosted in a subdirectory. I think it'd be best to start from
get_home_url
, include the path, and transform/
into::
in the plugins URL, as that's the standard used on WordPress.com.I took a stab at this in f240c24 and 1ad9076. Let me know if that sounds reasonable.
Ideally, I'd prefer not to have to do this at all, get the blog ID from
Jetpack_Options::get_option( 'id' )
instead, and append the ID to the URL, but it appears that we can't use blog ID in plugins URLs at the moment.I reported this internally here:
Automattic/calypso-pre-oss#8719