Timeline for Change template on the fly based on post parent selection
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Jun 28, 2013 at 12:33 | history | suggested | Mike Madern | CC BY-SA 3.0 |
improved formatting
|
Jun 28, 2013 at 12:23 | review | First posts | |||
Jun 28, 2013 at 13:28 | |||||
Jun 28, 2013 at 12:22 | comment | added | Krzysiek Dróżdż |
I don't think it is answer for this question, or I misunderstood something. Nevetheless I'm pretty sure you should not write your SQL queries like that. Don't use hardcoded wp_posts (it depends on WP config). You should escape $post->ID in your query (you don't know what will be hidden in this value, and assuming it's always correct isn't very good idea).
|
|
Jun 28, 2013 at 12:14 | review | Suggested edits | |||
S Jun 28, 2013 at 12:33 | |||||
Jun 28, 2013 at 12:07 | history | answered | Rush | CC BY-SA 3.0 |