WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 12 months ago

#21432 assigned defect (bug)

Deprecate *_blog_option() — at Version 2

Reported by: ryan Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.4.1
Component: Options, Meta APIs Keywords: needs-patch dev-feedback
Focuses: Cc:

Description (last modified by ryan)

Deprecate get_blog_option(), add_blog_option(), update_blog_option(), and delete_blog_option(). The regular *_option() functions wrapped with switch_to_blog() and restore_current_blog() should be used instead.

Previous discussion:

http://core.trac.wordpress.org/ticket/21270#comment:11

Change History (5)

#1 @ryan
4 years ago

  • Description modified (diff)

#2 @ryan
4 years ago

  • Description modified (diff)

@ryan
4 years ago

Incomplete and untested

@ryan
4 years ago

@ryan
4 years ago

Note: See TracTickets for help on using tickets.