[wp-trac] [WordPress Trac] #17863: HTML5 input type=number in admin settings

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 16 04:42:32 UTC 2012


#17863: HTML5 input type=number in admin settings
--------------------------------+------------------------------
 Reporter:  niallkennedy        |       Owner:  georgestephanis
     Type:  task (blessed)      |      Status:  reopened
 Priority:  normal              |   Milestone:  3.4
Component:  Administration      |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch revert  |
--------------------------------+------------------------------

Comment (by nacin):

 Replying to [comment:26 azaozz]:
 > Replying to [comment:24 nacin]:
 > > There's no requirement for upload_url_path to be an absolute URL.
 >
 > Perhaps the "label" should be fixed there too. "Full URL path..."
 doesn't sound right if a relative URL can be used.

 Sounds correct to me. We want the full URL path (/wp-content/uploads).
 "Full path" could mean a fileystem path. In fact we explicitly don't want
 it to be an absolute URL; see wp_upload_dir().

 ----

 In making the decisions in [20196] [20198] [20199] [20200] [20201] [20202]
 [20203] I simply consulted the code, both for sanitize_option() and
 whether any validation or resetting occurred in core code. In many cases,
 a field may be left blank or 0 and it is treated specially, such as with a
 fallback, or by turning off something (like paging, or comment moderation
 link counting). We need to be careful here.

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


More information about the wp-trac mailing list