ansonphong / postworld

Wordpress Theme Development Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

function cache_user_post_shares()

hmikhail opened this issue · comments

Hello @phongmedia,
I didn't find documentation for this function cache_user_post_shares(), this function is used in cache_shares.

I will add documentation and implementation for this function.

related to issue #32

Ok great, thanks for adding that.

On Thursday, October 24, 2013, hmikhail wrote:

Hello phong,
I didn't find documentation for this function cache_user_post_shares(),
this function is used in cache_shares.

I will add documentation and implementation for this function.


Reply to this email directly or view it on GitHubhttps://github.com//issues/58
.

According to docs of share_points_meta
incoming : Number of share points to my posts outgoing : From posts that I have shared

Those are set using cache_user_shares according to modes

1- incoming is calculated using function cache_user_shares with $mode = incoming

  • this calculates user_post_shares

2- outgoing is calculated using function cache_user_shares with $mode = outgoing

  • this calculates user_shares

So no need to add additional functions.
Could you please confirm so that I can update the documentation ?

yes, if there's an extra function here that is redundant you can remove the
function and update the docs. thanks for confirming.

On Thu, Oct 24, 2013 at 3:31 AM, hmikhail notifications@github.com wrote:

According to docs of share_points_meta
incoming : Number of share points to my posts
outgoing : From posts that I have shared

Those are set using cache_user_shares according to modes

1- incoming is calculated using function cache_user_shares with $mode =
incoming

  • this calculates user_post_shares

2- outgoing is calculated using function cache_user_shares with $mode =
outgoing

  • this calculates user_shares

So no need to add additional functions.
Could you please confirm so that I can update the documentation ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/58#issuecomment-26981616
.

Done in commit bd52245