Opened 10 years ago
Closed 10 years ago
#36727 closed defect (bug) (fixed)
PHP Notice in class-wp-xmlrpc-server.php when $matchtitle[1] is undefined
| Reported by: | RedSand | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7 |
| Component: | XML-RPC | Version: | 4.5.1 |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description (last modified by )
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.
Attachments (1)
Change History (7)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thank you for your patch and indeed it's a easy fix.