WordPress.org

Forums

Jetpack by WordPress.com
Shortlink to Twitter (2 posts)

  1. kandrews
    Member
    Posted 3 years ago #

    Hi,

    I would just like to point out that when you try to share something to Twitter, you are given the full url, which in turn may cut off the title of the story.

    So near line 378 in the process_request function,
    Find:
    $post_link = $this->get_share_url( $post->ID );

    Replace with:
    $post_link = wp_get_shortlink( $post->ID );

    Hope this helps anyone and I hope this can be added in to the future updated.

    Thanks.

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

  2. Tim Moore
    Moderator
    Plugin Contributor

    Posted 2 years ago #

    Thanks for the note. We'll take a look at this for a future update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.