[wp-trac] [WordPress Trac] #19996: New function get_blog_metadata for ms-functions.php

WordPress Trac noreply at wordpress.org
Fri Aug 9 02:11:44 UTC 2013


#19996: New function get_blog_metadata for ms-functions.php
---------------------------+----------------------
 Reporter:  _DorsVenabili  |       Owner:
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Multisite      |     Version:
 Severity:  minor          |  Resolution:  wontfix
 Keywords:                 |
---------------------------+----------------------
Changes (by jeremyfelt):

 * keywords:  has-patch =>
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 It's probably cleaner to use `switch_to_blog( $blog_id ); get_post_meta(
 $post_id, 'meta_key' ); restore_current_blog();` in the moment to grab
 custom post meta data rather than maintaining another function for this.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/19996#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list