[buddypress-trac] [BuddyPress Trac] #6553: xprofile_field factory `create()` should have a default value for 'type'
buddypress-trac
noreply at wordpress.org
Fri Jul 10 13:52:26 UTC 2015
#6553: xprofile_field factory `create()` should have a default value for 'type'
--------------------------------+-----------------
Reporter: boonebgorges | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.4
Component: Tools - Unit Tests | Version:
Severity: normal | Keywords:
--------------------------------+-----------------
`xprofile_insert_field()` requires a `type` argument. During unit tests,
this is almost always set to 'textbox', just for the sake of having
something set. Let's make this the default value when generating fixtures
in unit tests.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6553>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list