[wp-trac] [WordPress Trac] #56302: Admin menu links have relative URLs (was: Menu link on admin side)

WordPress Trac noreply at wordpress.org
Fri Jul 29 13:31:04 UTC 2022


#56302: Admin menu links have relative URLs
-----------------------------+------------------------------
 Reporter:  iihglobal        |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Administration   |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-screenshots  |     Focuses:  administration
-----------------------------+------------------------------
Changes (by sabernhardt):

 * version:  6.0 =>
 * component:  Menus => Administration


Old description:

> Hey,
>
> When i opened abc.com/wp-admin/options.php and then try to go on submenu
> under settings then menu link is wrong and not opening page. more
> information you can see quick recording.
>
> https://www.loom.com/share/e64670a986df4c5da8e81838799a7ea1
>
> Thank you

New description:

 Hey,

 When i opened `abc.com/wp-admin/options.php/` and then try to go on
 submenu under settings then menu link is wrong and not opening page. more
 information you can see quick recording.

 https://www.loom.com/share/e64670a986df4c5da8e81838799a7ea1

 Thank you

--

Comment:

 The trailing slash at the end of the `options.php/` address is important
 to reproduce the error (@audrasjb tried on #56303). With relative links,
 the resulting URLs like `abc.com/wp-admin/options.php/options-general.php`
 keep opening the `options.php` page.

 A plugin might have added the slash character, but maybe this situation is
 avoidable.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56302#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list