Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 12 years ago

Last modified 10 years ago

#3907 closed enhancement (duplicate)

Revise metas to allow multiple keys with same value

Reported by: DJPaul Owned by:
Priority: normal Milestone:
Component: Core Version:
Severity: normal Keywords:
Cc:

Description

All components' meta functions should allow multiple keys to be stored with the same value (see WP's add_metadata() $unique).

We should probably also use WP's meta handling functions (add_metadata(), update_metadata(), and so on) to avoid code duplication and ensure meta feature parity.

Change History (6)

#1 @DJPaul
15 years ago

For the second thing, we will probably need to get a filter added to _get_meta_table(). I'll see if WP trac has a ticket.

Version 0, edited 15 years ago by DJPaul (next)

#2 @boonebgorges
13 years ago

  • Keywords needs-testing needs-unit-tests added

I like the idea of leveraging WP's meta functions, but I think that (as you note) there are some limitations in how table names are built.

I'd like for there to be decent test coverage for the existing functions before attempting to port.

#3 @r-a-y
13 years ago

Related: #4551

#4 @r-a-y
12 years ago

  • Keywords dev-feedback needs-testing needs-unit-tests removed
  • Milestone Future Release
  • Resolutionduplicate
  • Status newclosed

Duplicate of #4551.

#5 @johnjamesjacoby
12 years ago

  • Component Component - Any/AllAPI - WordPress

#6 @DJPaul
10 years ago

  • Component API - WordPressCore
Note: See TracTickets for help on using tickets.