WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#41044 closed defect (bug) (fixed)

Update PHPDoc for has_cap in wpdb

Reported by: rcutmore Owned by: johnbillion
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.6
Component: Database Keywords: has-patch commit
Focuses: docs Cc:
PR Number:

Description

The accepted parameters are listed for the $db_cap parameter but "utf8mb4_520" is missing, which was added in 4.6.0.

Attachments (1)

41044.diff (564 bytes) - added by rcutmore 2 years ago.

Download all attachments as: .zip

Change History (5)

@rcutmore
2 years ago

#1 @rcutmore
2 years ago

  • Keywords has-patch added

#2 @netweb
2 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 4.9

Welcome to Trac @rcutmore :)

Thanks for the ticket and patch, everything looks spot on to me :+1

#3 @johnbillion
2 years ago

  • Version changed from trunk to 4.6

#4 @johnbillion
2 years ago

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

In 40906:

Database: Add documentation for the allowed utf8mb4_520 value when detecting features with wpdb::has_cap().

Props rcutmore

Fixes #41044

Note: See TracTickets for help on using tickets.