Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#32331 closed defect (bug) (fixed)

Inline docs for update_option need updating to account for the new $autoload parameter

Reported by: clorith's profile Clorith Owned by: drewapicture's profile DrewAPicture
Milestone: 4.3 Priority: normal
Severity: minor Version: 4.2
Component: Options, Meta APIs Keywords: has-patch
Focuses: docs Cc:

Description

The documentation currently includes a section stating that you can't control the $autoload parameter with update_option(), but this was added in 4.2 and just needs a quick docs edit.

Attached patch removed the now deprecated part about $autoload not being a viable parameter.

Attachments (1)

32331.patch (630 bytes) - added by Clorith 10 years ago.

Download all attachments as: .zip

Change History (4)

@Clorith
10 years ago

#1 @Clorith
10 years ago

  • Keywords has-patch added
  • Severity changed from normal to minor

#2 @SergeyBiryukov
10 years ago

  • Milestone changed from Awaiting Review to 4.3
  • Owner set to DrewAPicture
  • Status changed from new to assigned

#3 @DrewAPicture
10 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 32481:

Update the DocBlock description for update_option() to account for the ability to define the $autoload parameter, added in 4.2.

Props Clorith for the initial patch.
Fixes #32331.

Note: See TracTickets for help on using tickets.