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

WordPress Trac noreply at wordpress.org
Thu May 2 10:21:29 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:  General            |     Version:
 Severity:  minor              |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  multisite
-------------------------------+------------------------
Changes (by TobiasBg):

 * milestone:  Awaiting Review => 6.6


Comment:

 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.

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


More information about the wp-trac mailing list