Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#11278 closed defect (bug) (wontfix)

update_usermeta has still tasks on the open @todo

Reported by: hakre Owned by:
Priority: normal Milestone:
Component: General Version: 2.9
Severity: normal Keywords:
Cc:

Description

There is an @todo task left in the file user.php inside the update_usermeta function. Was easy to finish, patch attached.

Should be committed so it can be tested in the wild (I tested it already that it's working).

Attachments (1)

11278.patch (566 bytes) - added by hakre 3 years ago.

Download all attachments as: .zip

Change History (10)

hakre3 years ago

  • Keywords has-patch added

@hakre: Can you give some details about the testing you conducted?

comment:3   ryan3 years ago

  • Milestone changed from 2.9 to 3.0

That might need to be stripslashes_deep(). Postponing to 3.0 so we can make some testcases.

No need to test because @todo already marked that there was something to fix/remove not to test.

Feel free to write testcases, I might add some as well. Just point to them here.

@todo still in code.

@todo still in code.

Related: #11720

  • Keywords needs-unit-tests added; has-patch removed
  • Milestone 3.0 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

This function is now deprecated in favor of update_user_meta, which uses the generic metadata API.

  • Keywords needs-unit-tests removed
Note: See TracTickets for help on using tickets.