Skip to content

user meta add throws an exception #9

Description

@maraymer

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions