[wp-trac] [WordPress Trac] #58788: Call to undefined function get_locale() in admin.php

WordPress Trac noreply at wordpress.org
Wed Jul 12 09:30:10 UTC 2023


#58788: Call to undefined function get_locale() in admin.php
----------------------------+-----------------------------
 Reporter:  zyphlar         |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:  wontfix
 Keywords:  has-patch       |     Focuses:  administration
----------------------------+-----------------------------
Changes (by TobiasBg):

 * status:  new => closed
 * focuses:  administration, coding-standards => administration
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Hi @zyphlar,

 thanks for opening this ticket!

 The same occurs in most of /wp-includes/*.php and /wp-admin/includes/*.php

 However, [https://make.wordpress.org/core/handbook/testing/reporting-
 security-vulnerabilities/#why-are-there-path-disclosures-when-directly-
 loading-certain-files this is not a security issue], nor is it something
 that intends on being "fixed" as it's not encountered during "standard
 usage". If WordPress is used on a production server, error displays should
 be disabled, and/or direct access to the php files in the above
 directories disabled.

 Please see also some of the related/duplicate tickets: #38317, #18715,
 #30103, #30806, #17737, #31663, #35835, #10367.

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


More information about the wp-trac mailing list