Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#45091 closed defect (bug) (fixed)

Ensure site meta wrapper functions do not contain additional logic

Reported by: flixos90's profile flixos90 Owned by: flixos90's profile flixos90
Milestone: 5.1 Priority: normal
Severity: normal Version:
Component: Options, Meta APIs Keywords:
Focuses: multisite Cc:

Description

This is a follow-up to #44467, to bring the same improvements to the site meta wrapper functions that will be part of the 5.1 release.

All additional code that is part of the *_site_meta() functions should instead be hooked into the relevant action or filter that is part of the actual Meta API.

Change History (2)

#1 @flixos90
6 years ago

  • Owner set to flixos90
  • Status changed from new to assigned

#2 @flixos90
6 years ago

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

In 44468:

Multisite: Move site-specific metadata integrations from the wrapper functions to the low-level Meta API functions.

This complements the work in [43729] and prepares site metadata for future REST API support.

Props spacedmonkey.
Fixes #45091. See #44467.

Note: See TracTickets for help on using tickets.