WordPress.org

Support

Support » Plugins and Hacks » WP Db Abstraction » [Resolved] Issue with using multisite

[Resolved] Issue with using multisite

Viewing 3 replies - 1 through 3 (of 3 total)
  • Found the fix for anyone who’s interested.

    In ‘translations.php’ around line 739 in the ‘translate_limit()’ function you currently have:

    if ( count($limit_matches) == 5 && $limit_matches[1] != '0' ) {
                $true_offset = true;
            } elseif ( count($limit_matches) == 5 && $limit_matches[1] == '0' ) {
                $limit_matches[1] = $limit_matches[4];
            }

    This needs to be changed to:

    if ( count($limit_matches) == 6 && $limit_matches[1] != '0' ) {
                $true_offset = true;
            } elseif ( count($limit_matches) == 6 && $limit_matches[1] == '0' ) {
                $limit_matches[1] = $limit_matches[4];
            }

    Hope this helps someone else!

    jonpetitta

    @jonpetitta

    Yup that did it for me, thank you very much for the fix!!!

    Though this leads me to wonder what other functionality is broken by the db abstraction…

    joenova

    @joenova

    Agreed.

    Also, this fixes the “Posts” and “Pages” listings if anyone was curious.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Issue with using multisite’ is closed to new replies.
Skip to toolbar