[wp-trac] [WordPress Trac] #28672: add_settings_field & co don't return values

WordPress Trac noreply at wordpress.org
Fri Aug 28 22:49:48 UTC 2015


#28672: add_settings_field & co don't return values
----------------------------------------+-----------------------------
 Reporter:  TJNowell                    |       Owner:  obenland
     Type:  enhancement                 |      Status:  closed
 Priority:  normal                      |   Milestone:
Component:  Options, Meta APIs          |     Version:  2.7
 Severity:  normal                      |  Resolution:  wontfix
 Keywords:  needs-unit-tests has-patch  |     Focuses:  administration
----------------------------------------+-----------------------------
Changes (by DrewAPicture):

 * keywords:  needs-unit-tests has-patch close => needs-unit-tests has-patch
 * status:  reviewing => closed
 * resolution:   => wontfix
 * milestone:  4.4 =>


Comment:

 Replying to [comment:24 obenland]:
 > With [attachment:28672.3.diff] we'd generate doing it wrong notices on
 the core implementation and every time a field relies on the default
 section, which is not good. We don't have a function to register a
 settings page, so we can't really throw a doing it wrong when a page is
 not registered. Pages are registered with the section or field that are
 registered to it.
 >
 > Which is why I'm saying we should probably not do anything at all here.
 We wouldn't be making things better.

 I see now what you're getting at now. Yeah, I'm with you on not doing
 anything here. Closing as wontfix.

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


More information about the wp-trac mailing list