Automattic / Automattic/jetpack

Jetpack uses hardcoded wp-admin, potential problems with sites using custom paths.

Open
#19,490 1 comment 0 reactions 1 assignee Claimed by @leogermani View on GitHub
Admin Page New Feature
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

**Problem:** Per [a user on the Jetpack support forums](https://wordpress.org/support/topic/plugin-doesnt-work-well-with-custom-wp-admin-path), Jetpack uses hardcoded `wp-admin` instead of `using get_admin_url();`. This will cause problems with sites that use a custom admin path (i.e. _not_ `wp-admin`).

**Solution:** use `using get_admin_url();` instead of hardcoded `wp-admin`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.