WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#3246 closed enhancement (fixed)

make menu items in menu-headers.php relative

Reported by: bmontgom Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords: SSL dev-feedback
Focuses: Cc:

Description

The URIs for the menu items in menu-headers.php are not relative URIs. These are the only URIs on the page that are not this way. I've been working on a plugin to allow for the login, register, and admin functions to be done using SSL. It is working, but I had to modify menu-headers.php to make the menu item URIs relative in order to get everything correct. A patch for my changes is attached.

Attachments (1)

menu-header.php.diff (1.4 KB) - added by bmontgom 8 years ago.
patch for menu-headers.php

Download all attachments as: .zip

Change History (6)

bmontgom8 years ago

patch for menu-headers.php

comment:1 Sewar8 years ago

  • Keywords SSL added

You can use Secure Admin which used in WordPress.Com, see: http://wordpress.com/blog/2006/03/08/secure-blogging/.

comment:2 foolswisdom8 years ago

  • Keywords dev-feedback added
  • Milestone set to 2.1
  • Version set to 2.1

ENV: WP trunk svn r4415

With my limited knowledge, I can't think of a negative to having the URLs be relative, and I see a small benefit.

Adding Milestone and putting it to dev-feedback

comment:3 markjaquith8 years ago

Only potential downside I can see is that it wouldn't work if there was a WP admin page in a subdirectory of /wp-admin/

Can we think of any case where that would happen? I've certainly never seen it.

comment:4 matt7 years ago

No opinion.

comment:5 markjaquith7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4443]) Make menu items linked with relative URLs. Props bmontgom. fixes #3246

Note: See TracTickets for help on using tickets.