WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Socialite] Publishes only edited posts (3 posts)

  1. djmtm
    Member
    Posted 4 years ago #

    Hi,

    I tested the plugin a bit using URL shortening via bit.ly and detected that new posts won't be published to facebook and twitter, although information were transferred to bit.ly. Only posts, which were edited, will be published.

    Any ideas?

    http://wordpress.org/extend/plugins/socialite/

  2. funkwarrior
    Member
    Posted 4 years ago #

    same problem here... continue to investigate.

  3. funkwarrior
    Member
    Posted 4 years ago #

    Right, I finally resolve this issue:
    the facebook.inc.php, twitter.inc.php and myspace.inc.php have a condition based on the PUBLISH button value of the backend and, in my case, the conditional code not matching with my localized version of wordpress.

    facebook.inc.php line 61
    
    //if($publish_opts['publish'] == 'Publish' || $publish_opts['publish_future'] === true) ...
    //changed to:
    if($publish_opts['publish'] == 'Pubblica' || $publish_opts['publish_future'] === true)

    just search $publish_opts['publish'] within the includes (facebook.inc.php, twitter.inc.php and myspace.inc.php) and change the right operator with your localized string of 'Publish'.
    and now every things works fine...

    Hope can be useful for someone.

Topic Closed

This topic has been closed to new replies.

About this Topic