-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I couldn't get the example running, after reading the code and debuging i found that this example
term = WPDB::Term.create(:name => 'Fred Stuff')
post = WPDB::Post.create(
:post_title => 'Hello from Fred',
:post_content => 'Hello, world',
:author => author
).add_term(term, 'tag')
- Instead of 'tag' should be 'post-tag'
- add_term complains about 2 more parameters, description and count, i gave it '' and 1 and seems to work.
Nice tool :)
Metadata
Metadata
Assignees
Labels
No labels