Open maraymer opened 8 years ago
I'm working pretty intensely with node-wp-cli for a wordpress integration project.
I had a pesky debugging session with user meta add today.
It appears that there is a problem with grabbing the third parameter (meta value)?
This got me digging further into the code where I noticed that like 97 of WP.js reads:
if(required.length>args.length)
Shouldn't that be:
if(required.length>arg.length)
I changed this line and was able to call user meta add (but wp-cli appears to have a bug in that command !)
Matthew
I'm working pretty intensely with node-wp-cli for a wordpress integration project.
I had a pesky debugging session with user meta add today.
It appears that there is a problem with grabbing the third parameter (meta value)?
This got me digging further into the code where I noticed that like 97 of WP.js reads:
if(required.length>args.length)
Shouldn't that be:
if(required.length>arg.length)
I changed this line and was able to call user meta add (but wp-cli appears to have a bug in that command !)
Matthew