Make WordPress Core

Opened 9 months ago

Closed 9 months ago

Last modified 9 months ago

#62040 closed defect (bug) (invalid)

Admin List "Mine" pages returns HTTP 403 Error

Reported by: edtorrey's profile edtorrey Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: reporter-feedback
Focuses: administration Cc:

Description

I am Administrator on this site for 10 years. I never click "Mine" on the wp-admin Page listing. Did tonight while testing hosting company's server remedy.

This error message was the recurring result.

403 Forbidden

is a standard HTTP status code indicating that the web server understands the request but refuses to authorize it due to permission issues.

/wp-admin/edit.php?post_type=page&author=1

The same error occurs for Posts also.
/wp-admin/edit.php?post_type=post&author=1

Change History (4)

#1 @knutsp
9 months ago

  • Component changed from Administration to Posts, Post Types
  • Keywords reporter-feedback added
  • Summary changed from Admin List "Mine" pages returns hTTP 403 Error to Admin List "Mine" pages returns HTTP 403 Error

I can't reproduce this on any of my sites, as administartor or after swithing to another user.

Can you reproduce this with no active plugins and a default theme?

#2 @hellofromTonya
9 months ago

Reproduction Report

This report validates that the issue can be reproduced.

Environment

  • OS: macOS
  • Web Server: Nginx
  • PHP: 7.4.29
  • WordPress: 6.6.2
  • Browser: Firefox 130.0
  • Theme: Twenty Twenty-Four
  • Active Plugins: None

Steps to Reproduce

Step up: Need to add at least 1 additional user and a post/page for this user.

  1. Log in using the admin account.
  2. Go to Users > Add New User to add a "tester1" user with Role of Author.
  3. In a separate browser or session, log in as the "tester1" user.
  4. Go to Pages > Add New Page to add and publish a test page.

Testing the bug:

  1. As the tester1 user:
    1. Navigate back to Pages > All Pages table listing.
    2. Click on "Mine" to view this users' pages. 🐞 Bug occurs.
  2. As the admin user:
    1. Navigate back to Pages > All Pages table listing.
    2. Click on "Mine" to view this users' pages. 🐞 Bug occurs.

Expected Results

When reproducing the reported bug:

  • ❌ As the tester1 user, a 403 forbidden should happen after Step 1b, clicking on "Mine".
  • ❌ As the admin user, a 403 forbidden should happen after Step 1b, clicking on "Mine".

Actual Results

When attempting to reproduce the reported bug on 6.6.2:

  • ❌ As the tester1 user, the error did not occur.
  • ❌ As the admin user, the error did not occur.

In both cases, the page list rendered and was correct, showing only those pages authored by the user.

Also tested with posts and in both cases, worked too.

Also tested with WordPress 6.5.4, which also worked - not able to reproduce.

Conclusion

I was not able to reproduce the reported issue on WordPress 6.6.2 or 6.5.4.

#3 @hellofromTonya
9 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 6.6.2 deleted

Hello @edtorrey,

Welcome to WordPress Core Trac. I'm sorry to hear you are having difficulty with your site.

Like @knutsp, I too am not able to reproduce the reported issue.

As there are multiple can't reproduce reports, I suspect the issue you're experiencing is due to something outside of WordPress Core's source code, such as a plugin, your role being changed, etc.

Please note, this Trac is used for the development of the WordPress software, not for assistance with individual sites or plugins. You can find people who are able to assist with your site in the WordPress support forums.

I've closed this ticket as invalid, which is Trac's unfriendly term to indicate I've referred you to the support team.

However, if after seeking support in the forums it is determined to be a Core issue, please reopen this ticket and share the debugging information and discoveries found. Thank you.

#4 @edtorrey
9 months ago

Thank you for the totally quick and fair response.

Note: See TracTickets for help on using tickets.