[wp-trac] [WordPress Trac] #12446: "get_comments" transforms post id
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 4 03:49:22 UTC 2010
#12446: "get_comments" transforms post id
--------------------------+-------------------------------------------------
Reporter: jmabe | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: invalid
Keywords: |
--------------------------+-------------------------------------------------
Comment(by amattie):
jmabe and I made a product / plugin called [http://www.dsidxpress.com/
dsIDXpress] for the company we work for. It makes an API call to our
servers for the data and returns the markup in the context of a fake post.
We went back and forth between post ID 0 and -1 and ultimately choose -1
because of the get_permalink issue.
Here's the relevant source for the plugin:
<http://plugins.svn.wordpress.org/dsidxpress/trunk/client.php>. The
Activate function is where the fake post is created.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12446#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list