dphiffer/wp-json-api — pull request #15 by nattyait (2013-09-17 09:48:59+00:00)
Title: upgrade to be Version 1.1.1

I wanna extend your plugin but on Github it's still the old version. So, I want to help upgrade your repository to be the latest version :)

I've tested on my site and it seems to work correctly. You can test again before accept my pull request. Anyway, I've tried to run test but it's failed for both the code from http://wordpress.org/plugins/json-api/ and the code after merged. I'm not sure what I did wrong. Please suggest.

Any suggestion, please let me know.

Natty

----- run test result ----
www-data@preproductionmain:~/prontopreview/wp-content/plugins/json-api/tests$ pear run-tests
Running 25 tests
FAIL [ 1/25] core.get_author_index[core.get_author_index-01.phpt]
FAIL [ 2/25] core.get_author_posts by slug[core.get_author_posts-01.phpt]
FAIL [ 3/25] core.get_author_posts by author_slug[core.get_author_posts-02.phpt]
FAIL [ 4/25] core.get_author_posts by id[core.get_author_posts-03.phpt]
FAIL [ 5/25] core.get_category_index[core.get_category_index-01.phpt]
FAIL [ 6/25] core.get_category_posts default[core.get_category_posts-01.phpt]
FAIL [ 7/25] core.get_search_posts default[core.get_date_index-01.phpt]
FAIL [ 8/25] core.get_date_posts by day[core.get_date_posts-01.phpt]
FAIL [ 9/25] core.get_date_posts by month[core.get_date_posts-02.phpt]
FAIL [10/25] core.get_date_posts by year[core.get_date_posts-03.phpt]
FAIL [11/25] core.get_page default[core.get_page-01.phpt]
FAIL [12/25] core.get_page children argument[core.get_page-02.phpt]
FAIL [13/25] core.get_post default[core.get_post-01.phpt]
FAIL [14/25] core.get_posts default[core.get_posts-01.phpt]
FAIL [15/25] core.get_posts by meta key[core.get_posts-02.phpt]
FAIL [16/25] core.get_posts by meta value[core.get_posts-03.phpt]
FAIL [17/25] core.get_recent_posts default[core.get_recent_posts-01.phpt]
FAIL [18/25] core.get_recent_posts count argument[core.get_recent_posts-02.phpt]
FAIL [19/25] core.get_recent_posts page argument[core.get_recent_posts-03.phpt]
FAIL [20/25] core.get_search_posts default[core.get_search_posts-01.phpt]
FAIL [21/25] core.get_tag_index[core.get_tag_index-01.phpt]
FAIL [22/25] core.get_tag_posts default[core.get_tag_posts-01.phpt]
FAIL [23/25] core.info default[core.info-01.phpt]
FAIL [24/25] core.info controller detail[core.info-02.phpt]
FAIL [25/25] core.get_author_index with user-friendly URLs[query-01.phpt]
TOTAL TIME: 00:03
0 PASSED TESTS
0 SKIPPED TESTS
25 FAILED TESTS:
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_author_index-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_author_posts-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_author_posts-02.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_author_posts-03.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_category_index-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_category_posts-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_date_index-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_date_posts-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_date_posts-02.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_date_posts-03.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_page-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_page-02.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_post-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_posts-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_posts-02.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_posts-03.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_recent_posts-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_recent_posts-02.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_recent_posts-03.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_search_posts-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_tag_index-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.get_tag_posts-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.info-01.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/core.info-02.phpt
/var/www/prontopreview/wp-content/plugins/json-api/tests/query-01.phpt