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
{{ message }}
Repository navigation
Commit 1860b93
Browse filesBrowse the repository at this point in the historyBrowse files
enhancement(header): link site name to wp-admin (WordPress#151)
* enhancement(header): link site name to wp-admin
- Add adminUrl to pressThisData, defaulting to admin_url()
- New press_this_site_link_url filter lets the link be customized
- Header site name now opens the dashboard; View Site menu item keeps the front-end URL
- Guard html() with die() only outside PHPUnit so helper tests can capture output
ResolvesWordPress#4
Signed-off-by: Faisal Ahammad <faisalahammad24@gmail.com>
* test: drop PRESS_THIS_PHPUNIT constant made redundant by trunk
* fix: validate press_this_site_link_url result before use
---------
Signed-off-by: Faisal Ahammad <faisalahammad24@gmail.com>
Co-authored-by: Brandon Kraft <public@brandonkraft.com>
0 commit comments