WordPress.org

Making WordPress.org

Changes between Initial Version and Version 1 of Ticket #1074, comment 2


Ignore:
Timestamp:
10/16/2015 03:21:20 PM (5 years ago)
Author:
saurabhshukla
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1074, comment 2

    initial v1  
    2828also adds another error because ''$result'' happens to be false.
    2929
    30 So, it seems rather unusable because the second error is confusing. Should we convert this if statement into a switch statement?
     30So, it seems rather unusable because the second error is confusing:
     31[[Image(https://www.dropbox.com/s/tu3oipp14hyrsn8/Screen%20Shot%202015-10-16%20at%208.47.30%20pm.png?dl=0)]]
     32
     33Should we convert this if statement into a switch statement?
    3134
    3235And, should I just continue return false and check for that or create a new status constant in the Camptix class and return that instead of false?