Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#32331 closed defect (bug) (fixed)

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

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

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 11 years ago.

Download all attachments as: .zip

Change History (4)

@Clorith
11 years ago

#1 @Clorith
11 years ago

  • Keywords has-patch added
  • Severity normalminor

#2 @SergeyBiryukov
11 years ago

  • Milestone Awaiting Review4.3
  • Owner set to DrewAPicture
  • Status newassigned

#3 @DrewAPicture
11 years ago

  • Resolutionfixed
  • Status assignedclosed

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.