[wp-trac] [WordPress Trac] #36727: PHP Notice in class-wp-xmlrpc-server.php when $matchtitle[1] is undefined

WordPress Trac noreply at wordpress.org
Sun May 1 00:54:08 UTC 2016


#36727: PHP Notice in class-wp-xmlrpc-server.php when $matchtitle[1] is undefined
--------------------------+-----------------------------
 Reporter:  RedSand       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  XML-RPC       |    Version:  4.5.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 We see this error fairly often when WP_DEBUG is enabled. (We use WP_DEBUG
 quite often - logging, no visual error display.)

 {{{
 PHP Notice:  Undefined offset: 1 in /XXXXXXXX/wp-includes/class-wp-xmlrpc-
 server.php on line 6329
 }}}

 Happens when $matchtitle[1] is undefined. It's an easy fix. See attached
 patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36727>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list