Make WordPress Core

Opened 3 years ago

Closed 2 years ago

#18696 closed enhancement (fixed)

wp_salt() needs some update

Reported by: ocean90 Owned by: ryan
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.3
Component: Inline Docs Keywords: dev-feedback needs-patch
Focuses: Cc:


The docs for wp_salt() are not up to date. It refers to he old API link, has an old example for SECRET_KEY and I think SECRET_KEY and SECRET_SALT seems to be deprecated too?

Either https://api.wordpress.org/secret-key/1.1/salt/ nor https://api.wordpress.org/secret-key/1.1/ are generating the keys.

Change History (3)

comment:1 brianlayman2 years ago

  • Cc Brian@… added
  • Keywords needs-patch added
  • Type changed from defect (bug) to enhancement
  • Version set to 3.3

SECRET_KEY still works as a default when scheme is referenced that does not have a key defined. I don't really think that needs to be changed in the example.

I do agree with you that the link referenced should be updated to include the salt link.

comment:2 ryan2 years ago

  • Milestone changed from Awaiting Review to 3.4

comment:3 ryan2 years ago

  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from new to closed

In [19725]:

Update wp_salt() phpdoc. fixes #18696

Note: See TracTickets for help on using tickets.