• Resolved pablomargareto

    (@pablomargareto)


    Hello,

    Thanks for this great plugin.

    I think I found a bug in class-qtranslate-slug.php:
    Line 1017
    $page_slug = ( isset($query[‘name’]) && !empty($query[‘name’]) ) ? $query[‘name’] : $query[$query[‘post_type’]];

    The index $query[‘post_type’] may not exist. If you could add a check it would be great!

    Thanks and regards,

    https://www.ads-software.com/plugins/qtranslate-slug/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I also have this problem, I solved with this commit on github

    However it seems that the github version is outdated compared to version 1.1.16 in the wordpress repository.

    Plugin Author Pedro Carvalho

    (@pedroghandi)

    thanks everyone!

    the code has been accepted and we’re finishing the next version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Slug translation with custom post type’ is closed to new replies.