Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/examples/taxonomies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ And to create a new tag::
from wordpress_xmlrpc import WordPressTerm

tag = WordPressTerm()
tag.taxonomies = 'post_tag'
tag.taxonomy = 'post_tag'
tag.name = 'My New Tag'
tag.id = client.call(taxonomies.NewTerm(tag))

Expand Down Expand Up @@ -111,4 +111,4 @@ To perform case-insensitive searching against term names, use the ``search`` opt
tags = client.call(taxonomies.GetTerms('post_tag', {'search': user_input, 'orderby': 'count', 'number': 5}))

suggestions = [tag.name for tag in tags]
# suggestions == ['word', 'WordPress', 'world']
# suggestions == ['word', 'WordPress', 'world']