| User | Post |
|
2:05 am May 18, 2011
| croemmich
New Member
| | | |
|
| posts 1 |
|
|
There is a bug casused when a non-default wordpress database prefix is used in coordination with Event Calendar Pro. Currently wp_posts is hardcoded in rather than $wpdb->posts.post_type.
I've changed it in my code and it works fine, but I like to keep my plugins as vinallia as possible as to avoid regression when I update. Could you please fix it in a future release?
Line 82-86 in hardway-admin_rvy.php should be as follows.
if ( strpos( $query, "eventStart.meta_value as EventStartDate" ) ) {
$query = str_replace(
"( eventStart.meta_key = '_EventStartDate' AND eventEnd.meta_key = '_EventEndDate' )",
"( ( eventStart.meta_key = '_EventStartDate' AND eventEnd.meta_key = '_EventEndDate' ) OR $wpdb->posts.post_type = 'revision' )", $query );
}
Thanks!
|
|
|
5:26 am May 18, 2011
| Kevin
Admin
| | | |
|
| posts 2502 |
|
|
Thanks for letting me know. This is now fixed in the Revisionary development code (1.1.5-dev).
I also searched the code to confirm that this is the only place I had wp_posts hardcoded.
|
|
|
2:46 pm July 6, 2011
| sethstevenson
Member
| | | |
|
| posts 10 |
|
|
Not sure if this is related but whenever I save a revision of an event using Event Calendar Pro v1.3.2 and Revisionary v1.1.5 it removes the start date, end date, google maps link checkbox, google map checkbox, and organizer selection.
It does maintain the venue selection and event cost though.
I'm also running a multisite install if that matters.
|
|
|
8:11 am July 8, 2011
| Kevin
Admin
| | | |
|
| posts 2502 |
|
|
I'm in contact with the ECP team about this, as I need some code to troubleshoot.
|
|
|
3:36 pm July 8, 2011
| sethstevenson
Member
| | | |
|
| posts 10 |
|
|
Thanks for looking into it!
|
|
|
8:51 am August 1, 2011
| sethstevenson
Member
| | | |
|
| posts 10 |
|
|
|
9:19 pm August 4, 2011
| Kevin
Admin
| | | |
|
| posts 2502 |
|
|
I've established a cooperative relationship with the ECP development team, but that hasn't translated into any code changes yet.
|
|