Options, Meta APIs component

This component focuses on the functions get_option(), get_metadata(), and get_transient(), their related CRUD functions, and their multisitemultisite Used to describe a WordPress installation with a network of multiple blogs, grouped by sites. This installation type has shared users tables, and creates separate database tables for each blog (wp_posts becomes wp_0_posts). See also network, blog, site variants. These functions are found in wp-includes/option.php and wp-includes/meta.php. (WP_Meta_Query development takes place in the Query component.)

Ongoing post metadata work

There is an ongoing effort to improve our post metadata APIs. This work may also touch metadata for other objects (users, comments), settings, and such. Our Office Hours are on Mondays @ 1800 UTC in the public Gitter wordpress-metadata/metadata-ui-api. For more, see our blog posts and our GitHub repository. (Updated August 2014)

Recent posts on the make/coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. blogblog (versus network, site)

View all posts tagged options-meta.

133 open tickets in the Options, MetaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. APIs component

133 open tickets defect (bug) enhancement feature request
9 16 1
6.3 4 2 0
Awaiting Review 43 31 6
Future Release 8 12 0
WordPress.org 1 0 0

133 open tickets. Last 7 days: +0 tickets

40 tickets that have no replies

View list on Trac

  • #23616  General Handler for Whitelisted Options' Submissions
  • #37349  Allow sanitize_meta() to filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. the meta_value regardless of meta_key
  • #37579  Inconsistent names for `update_(network_)option` actions
  • #38690  Introduce classes for settings
  • #38896  avatar_settings help text may not be accurate if avatar_defaults is filtered administration
  • #39706  Add $unique param to add_{$meta_type}_meta actions
  • #40012  Only add_metadata if no matching value
  • #40115  Duplicate Custom Fields are created
  • #40369  Mail server settings page (options-writing.php) has no validation
  • #40642  Add new filter to populate_options
  • #41105  Fire action hook after updating option group.
  • #41604  REST APIREST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/.: Attempting to create or update a non-existent setting doesn't return an error response rest-api
  • #41769  Custom function to display all values of a custom fieldCustom Field Custom Field, also referred to as post meta, is a feature in WordPress. It allows users to add additional information when writing a post, eg contributors’ names, auth. WordPress stores this information as metadata. Users can display this meta data by using template tags in their WordPress themes. (meta_key)
  • #42012  Do not switch roles and capabilities when accessing options through `*_blog_option()` multisite
  • #42441  Disable autoload for large options performance
  • #43069  Docs: improve documentation for register_meta() function docs
  • #43209  REST API should take settings errors into account rest-api
  • #43818  Invalidate query caches less aggressively by using a `last_changed` key specific to metadata multisite performance
  • #44977  Transient fill fail delete to itself if it's timeout option is missing
  • #45273  get_postmeta: Inconsistent behavior of the 'single'-argument
  • #45505  get_post_custom() doesn't pull values
  • #47166  When option gmt_offset is blank, wordpress will give a 500 error
  • #48478  Allow omitting meta keys from the REST API response if they do not exist rest-api
  • #48573  Permalinks Settings screen unnecessarily calls sanitize_option( 'permalink_structure' )… administration
  • #48855  Updating transient to remove expiration fails
  • #50678  Transient: save object with protected attributes will fail
  • #51730  update_metadata function: differentiate failure from no update administration
  • #51868  Using a SVG as featured imageFeatured image A featured image is the main image used on your blog archive page and is pulled when the post or page is shared on social media. The image can be used to display in widget areas on your site or in a summary list of posts. covers adminadmin (and super admin) panel ui
  • #52284  Add filter for notoptions after retrieval
  • #52887  Docs: Clarify why register_meta is necessary docs rest-api
  • #54006  Wp Multisite Get, Add, Update and Delete Site Meta Issue. multisite
  • #54805  When on the /wp-admin/networknetwork (versus site, blog)/site-settings.php network settings page, calling the update_option() always add the setting
  • #55553  update_blog_option should accept autoload parameter multisite performance
  • #55600  Can't save registered post meta field of type string that equals registered default value via REST API rest-api
  • #56326  get_metadata_raw doesn't unserialize when retrieving all meta_keys for a post_id
  • #56752  Add get_post_metadata filters by $meta_key
  • #56821  meta_query late row lookup for performance improvement performance
  • #58246  'update_meta_cache()' doesn't correctly handle the return value of the 'update_{$meta_type}_metadata_cache' filter
  • #58249  Improve "get_metadata_raw()" by Delegating "$single" Handling to Filter
  • #58269  Store attachment metadata in separate fields

6 tickets slated for 6.3

View list in Trac

  • #22192  update_metadata() and update_option() strict checks can cause false negatives performance
  • #51352  Unexpected behavior when switching autoload between update_option
  • #55270  Option can_compress_scripts not autoload causing extra DB query on every request performance
  • #55942  Add a "value type" parameter to get_option() and get_metadata() performance
  • #56913  Improve autoloaded network options performance
  • #58338  Found a grammatical mistake in the option.php file coding-standards

133 open tickets

Open enhancements: 61 View list on Trac
Open tasks: 0 View list on Trac
Open feature requests: 7 View list on Trac

Help maintain this component

Component maintainers:

Many contributors help maintain one or more components. These maintainers are vital to keeping WordPress development running as smoothly as possible. They triagetriage The act of evaluating and sorting bug reports, in order to decide priority, severity, and other factors. new tickets, look after existing ones, spearhead or mentor tasks, pitch new ideas, curate roadmaps, and provide feedback to other contributors. Longtime maintainers with a deep understanding of particular areas of Core are always seeking to mentor others to impart their knowledge.

Want to help? Start following this component! Adjust your notifications here. Feel free to dig into any ticketticket Created for both bug reports and feature development on the bug tracker..

Contributors following this component: