WordPress.org

Make WordPress Core

Opened 6 months ago

Closed 6 months ago

#39571 closed defect (bug) (fixed)

Add missing `@param` type in `wp_cache_get_last_changed` DocBlock

Reported by: jeremyfelt Owned by: SergeyBiryukov
Milestone: 4.8 Priority: normal
Severity: normal Version: 4.7
Component: Cache API Keywords: good-first-bug has-patch
Focuses: docs Cc:

Description

The @param type for $group on wp_cache_get_last_changed() is missing. It should be string.

Attachments (2)

39571.patch (715 bytes) - added by afzalmultani 6 months ago.
Add missing @param
39571.2.patch (492 bytes) - added by Soean 6 months ago.

Download all attachments as: .zip

Change History (7)

#1 @SergeyBiryukov
6 months ago

  • Component changed from General to Cache API

@afzalmultani
6 months ago

Add missing @param

#2 @Soean
6 months ago

  • Keywords has-patch added; needs-patch removed

@Soean
6 months ago

#3 @Soean
6 months ago

39571.2.patch just adds the missing @param type - string.

#4 @SergeyBiryukov
6 months ago

  • Milestone changed from Future Release to 4.8

#5 @SergeyBiryukov
6 months ago

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

In 39900:

Docs: Add missing @param type for wp_cache_get_last_changed().

Props afzalmultani, Soean.
Fixes #39571.

Note: See TracTickets for help on using tickets.