[wp-trac] [WordPress Trac] #25282: Unit Tests should run in Debug mode

WordPress Trac noreply at wordpress.org
Fri Sep 13 22:17:52 UTC 2013

#25282: Unit Tests should run in Debug mode
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.7
Component:  Unit Tests      |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |

Comment (by wonderboymusic):

 In [changeset:"25433"]:
 #!CommitTicketReference repository="" revision="25433"
 Fix some undefined index notices related to Comment unit tests:
 * There are several places where a `$_POST` index was unchecked before
 setting a variable
 * In `wp_notify_postauthor()`, `$comment` was being returned null, but its
 properties were being accessed.
 * In `check_ajax_referer()`, 3 different values can be checked for nonce
 on `$_REQUEST`, but only 1 had an `isset()`

 See #25282.

Ticket URL: <http://core.trac.wordpress.org/ticket/25282#comment:56>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list