[wp-trac] [WordPress Trac] #48367: wp-admin wrong links when doing php serve

WordPress Trac noreply at wordpress.org
Thu Aug 24 15:40:14 UTC 2023


#48367: wp-admin wrong links when doing php serve
-------------------------------------------+------------------------------
 Reporter:  eduardoarandah                 |       Owner:  (none)
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Administration                 |     Version:  5.2.3
 Severity:  minor                          |  Resolution:
 Keywords:  needs-patch reporter-feedback  |     Focuses:
-------------------------------------------+------------------------------

Comment (by markbranly):

 I replicated the issue using:


 {{{
 $ sudo php -S localhost:3000
 }}}

 Visit `http://localhost:3000/wp-admin` yields:


 {{{
 GET: http://localhost:3000/wp-admin
 Status: 200 OK
 Version: HTTP/1.1
 Transferred: 71.55 kB (71.01 kB size)
 Referrer Policy: strict-origin-when-cross-origin
 Request Priority: Highest
 DNS Resolution: System
 }}}

 '''Curiously''', links on the Admin Menu (#adminmenu) are broken, as OP
 stated, but links on the WP Admin Bar (#wpadminbar) are correct—edit
 comments, +New, profile links.

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


More information about the wp-trac mailing list