[wp-trac] [WordPress Trac] #54006: Wp Multisite Get, Add, Update and Delete Site Meta Issue.

WordPress Trac noreply at wordpress.org
Thu Aug 26 12:49:43 UTC 2021


#54006: Wp Multisite Get, Add, Update and Delete Site Meta Issue.
--------------------------+------------------------------
 Reporter:  leeml         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  5.8
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:  multisite
--------------------------+------------------------------

Comment (by leeml):

 To be honest 'add_site_meta' is working for the blog meta table, I was
 looking at an instance where site meta needed to be set via a frontend
 extension for what is usually a user profile specific action. Hence the
 need to update the site meta table, in this case anyway.

 Which is doable given the use of add_metadata.

 It would be useful I guess if the site meta functions could work with the
 site meta table allowing for then existing site meta functions being
 renamed to blog meta. i.e. update_blogmeta and so on...

 Hence the initial confusion I guess...everything else seems to be table
 specific i.e. post meta,term meta, user meta and so on.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54006#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list