WordPress.org

Plugin Directory

Changeset 623168


Ignore:
Timestamp:
11/09/12 21:02:25 (18 months ago)
Author:
mdawaffe
Message:

Sync: Sync a post's shortlink in addition to its permalink.

https://twitter.com/jublonet/status/266630567016153088

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/jetpack.php

    r622623 r623168  
    41654165 
    41664166        $post['permalink'] = get_permalink( $post_obj->ID ); 
     4167        $post['shortlink'] = wp_get_shortlink( $post_obj->ID ); 
    41674168        return $post; 
    41684169    } 
Note: See TracChangeset for help on using the changeset viewer.