[wp-trac] [WordPress Trac] #61122: Missing file wp-admin/user/contribute.php

WordPress Trac noreply at wordpress.org
Thu May 2 16:52:25 UTC 2024


#61122: Missing file wp-admin/user/contribute.php
---------------------------+------------------------
 Reporter:  ignatiusjeroe  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  6.6
Component:  Help/About     |     Version:  6.3
 Severity:  minor          |  Resolution:
 Keywords:                 |     Focuses:  multisite
---------------------------+------------------------

Comment (by ignatiusjeroe):

 Replying to [comment:2 TobiasBg]:
 > I can reproduce this when directly going to
 > https://example.org/wp-admin/user/about.php
 > where example.org is a multisite installation.
 > (I couldn't find a way to navigate to these screens though.)
 >
 > Looks like, this is pretty similar to [56309].
 >
 > The `/wp-admin/user/` directory does indeed contain "wrapper" files for
 `wp-admin/privacy.php`, `wp-admin/freedoms.php`, `wp-admin/credits.php`,
 and `wp-admin/about.php` -- but not `wp-admin/contribute.php`.
 >
 > To fix this, a new file `wp-admin/user/contribute.php` with the content
 > {{{#!php
 > <?php
 > /**
 >  * User Dashboard Contribute administration panel.
 >  *
 >  * @package WordPress
 >  * @subpackage Administration
 >  * @since 6.6.0
 >  */
 >
 > /** Load WordPress Administration Bootstrap */
 > require_once __DIR__ . '/admin.php';
 >
 > require ABSPATH . 'wp-admin/contribute.php';
 >
 > }}}
 >
 > needs to be added.

 This might not be the right place to pose a question, but you seem
 knowledgeable on the matter. What is directory wp-admin/user/ used for? I
 know what the wp-admin/network is used for. But I cant see anywhere in the
 code where any file in directory wp-admin/user/ is used for. It seems like
 a deprecated directory. If there is any use-case for it I'd like to know.

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


More information about the wp-trac mailing list