aaroneaton / better-yourls

Source code for the Better YOURLS WordPress plugin
21 stars 6 forks source link

🐞Keyword key needs to be set as child of the body key in the $args array. #16

Closed domsammut closed 8 years ago

domsammut commented 8 years ago

When setting a custom keyword value in the create_yourls_url function, it isn't getting passed through to the YOURLS api inside $args['body'], but rather at the top level: $args['keyword']. Hence the keyword would not be set by YOURLS.

ChrisWiegman commented 8 years ago

Great catch! Thank you (clearly I don't use that feature often enough myself).