Skip to content

👌 Use network_admin_url to get network correct settings url#163

Merged
rahulsprajapati merged 1 commit intortCamp:masterfrom
Joel-James:fix/fix_wrong_admin_url
Nov 29, 2018
Merged

👌 Use network_admin_url to get network correct settings url#163
rahulsprajapati merged 1 commit intortCamp:masterfrom
Joel-James:fix/fix_wrong_admin_url

Conversation

@Joel-James
Copy link
Contributor

On a multisite, using admin_url will link to main site's admin page. Use network_admin_url so it will link to network admin on a multisite, and on a single site it will link to normal admin page.

@rahulsprajapati
Copy link
Contributor

Verified the issue and tested this PR.
This changes made in this PR works perfectly as intended. 👍

Thanks @Joel-James for the PR.

@rahulsprajapati rahulsprajapati merged commit e0ecd9b into rtCamp:master Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants