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

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 9 10:20:20 UTC 2012


#19996: New function get_blog_metadata for ms-functions.php
---------------------------+-----------------------------
 Reporter:  _DorsVenabili  |      Owner:
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Multisite      |    Version:
 Severity:  minor          |   Keywords:  has-patch
---------------------------+-----------------------------
 Hi!

 I think that the ms-functions are very useful for WP multisite developers,
 for example: get_blog_post where you can select the blog_id and post_id to
 return the post info of a blog.

 But I'm missing an important one: get_blog_post_metadata. With the
 function that I'm proposing, you can select the blog_id, the post_id and
 the meta_key and the function will return the metadata for those values.

 I have attached in the file get_blog_metadata.txt the function that I have
 made and I think it would be very useful to have it in the core.

 Cheers! :)

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


More information about the wp-trac mailing list