WPML meta fix
-
hey, I had a problem with the plugin, and the guys from wpml fixed it. so please add this fix to the next version.
In wp-content/plugins/simple-lightbox/controller.php replace line 907:
$pids[$p->id][] = $key;
with:
if ( class_exists( 'sitepress' ) ) { $current_language = apply_filters( 'wpml_current_language', NULL ); $pids[apply_filters( 'wpml_object_id', $p->id, 'attachment', true, $current_language)][] = $key; } else { $pids[$p->id][] = $key; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘WPML meta fix’ is closed to new replies.