Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Categories Descriptions Not Returned #32

Open
tad3j opened this issue Aug 15, 2013 · 4 comments
Open

Categories Descriptions Not Returned #32

tad3j opened this issue Aug 15, 2013 · 4 comments

Comments

@tad3j
Copy link
Contributor

tad3j commented Aug 15, 2013

I've noticed that when I try to retrieve categories information with "GetCategories()", "category.description" is not read properly, instead "category.name" is returned.

I would be happy to help maintaining this library, but I'm afraid I don't have neough experience

@simon-duvall
Copy link

Nowhere in the codebase as of 8.27.13 is that string literal, much less setting category.description to category.name (literally or logically).

Can you post your code where you're implementing the call yourself?

@tad3j
Copy link
Contributor Author

tad3j commented Aug 28, 2013

This is the code I was using:
...
var categories = _wpWrapper.GetCategories();
foreach (var category in categories)
{
categoriesTable[i, 3] = category.Description;
...
}

I've actually found the answer to this issue here: http://codex.wordpress.org/XML-RPC_WordPress_API/Categories_%26_Tags#Return_Values where they say "string description: Name of the category, equivalent to categoryName. ", which makes me think that I was expecting "string categoryDescription" which I don't think it's implemented.

Besides that I noticed that this method is actually obsolete, so I don't think it's really an issue.

@alexjamesbrown
Copy link
Owner

Yeah, category was phased out in favor of taxonomy I believe...

@kevininspace
Copy link

Yes.
On Sep 12, 2013 5:42 AM, "Alex Brown" notifications@github.com wrote:

Yeah, category was phased out in favor of taxonomy I believe...


Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-24306085
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants