[wp-trac] [WordPress Trac] #22342: WP_DEBUG "undefined index" notices in get_metadata() for empty arrays

WordPress Trac noreply at wordpress.org
Sat Aug 3 13:19:45 UTC 2013


#22342: WP_DEBUG "undefined index" notices in get_metadata() for empty arrays
-------------------------------------------------+-------------------------
 Reporter:  doublesharp                          |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Warnings/Notices                     |  Review
 Severity:  minor                                |     Version:  3.1
 Keywords:  has-patch needs-testing dev-         |  Resolution:
  feedback 2nd-opinion                           |
-------------------------------------------------+-------------------------

Comment (by jdgrimes):

 I've made
 [https://codex.wordpress.org/Function_Reference/get_metadata#Notes a note]
 of this in the codex, so if it changes that needs to be updated.

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


More information about the wp-trac mailing list