Make WordPress Core

Opened 8 months ago

Closed 8 months ago

#63217 closed defect (bug) (fixed)

Correct documentation for wp_cache_get()

Reported by: jigar-bhanushali's profile jigar bhanushali Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 6.9 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: docs Cc:

Description

Updated the inline document for $found in wp_cache_get() to indicate it can be bool|null.

Attachments (1)

wp_cache_get.patch (904 bytes) - added by jigar bhanushali 8 months ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
8 months ago

  • Milestone changed from Awaiting Review to 6.9

#2 @SergeyBiryukov
8 months ago

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

In 60130:

Docs: Correct the type of the $found parameter in wp_cache_get().

Follow-up to [20089], [34225], [34227], [36069].

Props jigar-bhanushali.
Fixes #63217.

Note: See TracTickets for help on using tickets.