[wp-trac] [WordPress Trac] #28992: mysql2date() return empty string not false

WordPress Trac noreply at wordpress.org
Sun Oct 4 21:05:45 UTC 2015


#28992: mysql2date() return empty string not false
-------------------------------------------------+-------------------------
 Reporter:  pbearne                              |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Date/Time                            |  Release
 Severity:  normal                               |     Version:  3.8
 Keywords:  needs-testing dev-feedback needs-    |  Resolution:
  refresh                                        |     Focuses:
-------------------------------------------------+-------------------------

Comment (by pbearne):

 There were 13 failures when incorrect usage notice added

 1)
 Tests_WP_Date_Query::test_validate_date_values_should_process_array_value_for_year
 Unexpected incorrect usage notice for mysql2date

 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:278
 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:84

 2)
 Tests_WP_Date_Query::test_validate_date_values_should_process_array_value_for_day
 Unexpected incorrect usage notice for mysql2date

 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:278
 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:84

 3)
 Tests_WP_Date_Query::test_validate_date_values_should_process_array_value_for_day_when_values_are_invalid
 Unexpected incorrect usage notice for mysql2date

 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:278
 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:84

 4) Tests_Query_Conditionals::test_search_feed
 Unexpected incorrect usage notice for mysql2date

 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:278
 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:84

 5) Tests_Query_Conditionals::test_category_feed
 Unexpected incorrect usage notice for mysql2date

 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:278
 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:84

 6) Tests_Query_Conditionals::test_tag_feed
 Unexpected incorrect usage notice for mysql2date

 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:278
 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:84

 7) Tests_Query_Conditionals::test_author_feed
 Unexpected incorrect usage notice for mysql2date

 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:278
 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:84

 8) Tests_Query_VerbosePageRules::test_search_feed
 Unexpected incorrect usage notice for mysql2date

 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:278
 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:84

 9) Tests_Query_VerbosePageRules::test_category_feed
 Unexpected incorrect usage notice for mysql2date

 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:278
 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:84

 10) Tests_Query_VerbosePageRules::test_tag_feed
 Unexpected incorrect usage notice for mysql2date

 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:278
 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:84

 11) Tests_Query_VerbosePageRules::test_author_feed
 Unexpected incorrect usage notice for mysql2date

 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:278
 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:84

 12) Tests_XMLRPC_wp_newPost::test_invalid_post_date_does_not_fatal
 Unexpected incorrect usage notice for mysql2date

 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:278
 /srv/www/wordpress-develop/tests/phpunit/includes/testcase.php:84

 13) Tests_XMLRPC_wp_newPost::test_invalid_post_date_gmt_does_not_fatal
 Unexpected incorrect usage notice for mysql2date

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


More information about the wp-trac mailing list