[buddypress-trac] [BuddyPress Trac] #5669: Help plugins to generate activities for their post type(s)

buddypress-trac noreply at wordpress.org
Wed Nov 26 20:26:40 UTC 2014


#5669: Help plugins to generate activities for their post type(s)
-----------------------------------+------------------
 Reporter:  imath                  |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  2.2
Component:  Activity               |     Version:  2.0
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |
-----------------------------------+------------------

Comment (by boonebgorges):

 [attachment:5669.2.patch] updates the latest in a couple ways:

 * I knew we already had a utility function for sorting, so I expanded it
 [9191] and implemented it for 'position' sorting.
 * Changed the fallback values for the post type strings. We can't do
 `sprintf( $string, $singular_name )` - this just won't be grammatical in
 many languages. I settled on "[author] wrote an item", but other
 suggestions are welcome.
 * Cleaned up some code standards, documentation, etc.

 I'm feeling pretty good about this. imath, have another look. If no one
 has objections, I think we should go with it.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5669#comment:24>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list