We have moved to Github. Please open tickets there.

Opened 2 years ago

Closed 2 years ago

#2860 closed Defect (fixed)

Make sure registration functions have consistent argument ordering

Reported by: ewinslow Owned by: ewinslow
Priority: normal Milestone: Elgg 1.8.0
Component: Core Version: 1.7
Severity: minor Keywords:
Cc: brett@… Difficulty:

Description

Most are like so: type, subtype, callback[, priority]

register_entity_url_handler puts callback as the first parameter. Should prefix with elgg_ and make callback the last param.

There may be others like this that should be fixed as well.

Change History (2)

comment:1 Changed 2 years ago by ewinslow

  • Owner set to ewinslow
  • Status changed from new to assigned

comment:2 Changed 2 years ago by ewinslow

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [svn:8257]) Fixes #2860: Deprecated several registration functions that were using the 'callback-first' ordering

Note: See TracTickets for help on using tickets.