Support » Plugin: WP to Twitter » missing post title on remote yourls call (fix included)

  • Resolved the.mnbvcx

    (@themnbvcx-1)


    Just a minor glitch: the call to a remote yourls is lacking the post title.

    This can be easily fixed by adding the following line of code in wp-to-twitter-shorteners.php in the two $apiurl arrays in lines 120ff. (I put it right after the ‘action’ line)
    'title' => $thisposttitle,
    The post title is already used with local yourls installations so we don’t need to change anything there.

    And if you use the “random keywords” plugin (in yourls) you’ll get nice shortened urls à la bit.ly 🙂

    https://wordpress.org/plugins/wp-to-twitter/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘missing post title on remote yourls call (fix included)’ is closed to new replies.