google-code-export / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
2 stars 1 forks source link

to_link filter: using is_object (vs. is_array) with get_post_complete #439

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I just checked Trac at 
http://plugins.trac.wordpress.org/browser/custom-content-type-manager/trunk/filt
ers/to_link.php

Looks like you've already switched line 61 from !is_object to !is_array.

I think maybe the same could be applied to line 38 too,
because get_post_complete() returns an array (vs. object).

Thanks again for your great plugin!

Original issue reported on code.google.com by philnels...@gmail.com on 31 Dec 2012 at 2:54

GoogleCodeExporter commented 9 years ago
Good catch. Updated.

Committed revision 646431.

Original comment by ever...@fireproofsocks.com on 31 Dec 2012 at 4:42