Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#52126 closed defect (bug) (invalid)

installation wizard issues

Reported by: zeshanb's profile zeshanb Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.2
Component: External Libraries Keywords:
Focuses: Cc:

Description

On line 825 of sodium_compat.php please use the underscore when referencing constants.php because constants.php filename begins with a underscore "_constants.php". Thank You.

By doing so the installation wizard will function properly for first time WordPress Installations. Thank you very much.

require_once dirname(__FILE__) . '/_constants.php';
wp-includes\sodium_compat\lib\sodium_compat.php on line 825

Change History (2)

#1 @Clorith
5 years ago

  • Component changed from Upgrade/Install to External Libraries
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Severity changed from critical to normal
  • Status changed from new to closed
  • Version changed from 5.6 to 5.2

Hi there, and thank you for opening a ticket!

I had a quick look, and although this is an external library (maintained at https://github.com/paragonie/sodium_compat), the file you specified does not exist in a fresh download of WordPress, where it is named without an underscore as expected.

It is possible you've got an invalid download from somewhere, but the official download from WordPress.org/download/ looks fine.

I am going to mark this as invalid as a workflow keyword, since the source code, and a fresh downloads look fine, but if you do find something indicative of something wrong from the WordPress side of it, you can of course still provide that information in this ticket and the status can be changed if need be.

#2 @zeshanb
5 years ago

Thank you for confirming the original archive didn't have a underscore in beginning of the file name.

It was a issue with nchsoftware's express zip. Their program was renaming the file with underscore in your tar zip distribution. I downloaded a regular zip archive distribution of WordPress and issue was resolved.

require_once dirname(__FILE__) . '/_constants.php';

I reported the bug to nchsoftware - bug number 1667822048 on 12/20/2020.

Note: See TracTickets for help on using tickets.