Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35976, comment 8


Ignore:
Timestamp:
03/03/2016 02:39:48 AM (8 years ago)
Author:
johnbillion
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35976, comment 8

    initial v1  
    1 Tests are failing due to `wp_is_mobile()` being called indirectly in an earlier test, which sets its `$is_mobile` static var to `false`, which causes `_device_can_upload()` to always return false.
     1Tests are failing due to `wp_is_mobile()` being called indirectly in an earlier test, which sets its `$is_mobile` static var to `false`, which causes `_device_can_upload()` to always return true.
    22
    33Running the `test_device_can_upload()` test in isolation succeeds.