• Resolved Roi Webreach

    (@roi-webreach)


    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)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, that code appears to be tied to a specific theme, which would mean it would be non-functional for a lot of users.

    In general, third-party plugins are supported via extensions to keep the core SLB plugin as lean as possible for all users. Please refer to the existing proposal for a multilingual extension to add your vote and feedback for WMPL support.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘WPML meta fix’ is closed to new replies.