[wp-trac] [WordPress Trac] #35023: get_field_name() returns a bad field name if you pass it "display][avatar_size"

WordPress Trac noreply at wordpress.org
Sun Dec 27 01:59:32 UTC 2015


#35023: get_field_name() returns a bad field name if you pass it
"display][avatar_size"
-------------------------------------------------+-------------------------
 Reporter:  pbearne                              |       Owner:
     Type:  defect (bug)                         |  johnbillion
 Priority:  normal                               |      Status:  assigned
Component:  Widgets                              |   Milestone:  4.4.1
 Severity:  normal                               |     Version:  4.4
 Keywords:  has-patch has-unit-tests 2nd-        |  Resolution:
  opinion                                        |     Focuses:
                                                 |  administration
-------------------------------------------------+-------------------------

Comment (by dd32):

 I'm really close to agreeing that this is a `wontfix` based on the fact
 that it was effectively hacking array support in.

 Have there been any other reports of breakage due to this? If it's just
 the one plugin, then meh, If it's been a common thing for plugin authors
 to do, then I guess we should consider fixing it, but it's still very
 edgecasey where a plugin just switching upon `$wp_version` seems better.

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


More information about the wp-trac mailing list