Ticket #11827: patch-class-json.diff
| File patch-class-json.diff, 418 bytes (added by alexkingorg, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | Index: class-json.php |
| 2 | =================================================================== |
| 3 | --- class-json.php (revision 12478) |
| 4 | +++ class-json.php (working copy) |
| 5 | @@ -1,4 +1,5 @@ |
| 6 | <?php |
| 7 | +if ( !in_array('Services_JSON', get_declared_classes() ) ) |
| 8 | /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ |
| 9 | /** |
| 10 | * Converts to and from JSON format. |
| 11 | @@ -858,3 +859,5 @@ |
| 12 | } |
| 13 | |
| 14 | } |
| 15 | + |
| 16 | +endif; |
| 17 | \ No newline at end of file |
