[wp-trac] [WordPress Trac] #37885: Build out register_setting like register_meta

WordPress Trac noreply at wordpress.org
Tue Aug 30 17:14:52 UTC 2016


#37885: Build out register_setting like register_meta
------------------------------------+--------------------
 Reporter:  joehoyle                |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  4.7
Component:  Options, Meta APIs      |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+--------------------

Comment (by flixos90):

 Replying to [comment:4 sc0ttkclark]:
 > I wonder if options aren't just meta for a site, and why we don't use
 register_meta() here all the way and maybe just add register_setting()
 just wraps register_meta() and provides a quick way to register settings?

 +1 for that. Just keep in mind that the object type there should probably
 be called `blog` because `sitemeta` already exists, unfortunately to
 denote ''network'' options. So we would wanna prevent future collisions.

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


More information about the wp-trac mailing list