stcr / subscribe-to-comments-reloaded

Subscribe to Comments Reloaded allows commenters to sign up for e-mail notifications of subsequent replies.
56 stars 32 forks source link

rtl bug #472

Open stefonarch opened 5 years ago

stefonarch commented 5 years ago

Activating I got an error about rtl in classes/stcr_i18n,php line 104, had to comment out this:

public function get_wp_locale()
    {
        return $this->wp_locale;
    }

    public function get_text_direction()
    {
       // if ( is_rtl() )
       // {
        //    $text_direction = "rtl";
        //}
        //else
        {
            $text_direction = "ltr";
        }

        return $text_direction;
    }
Reedyseth commented 5 years ago

Hi @stefonarch Can you please show a screenshot of your error or paste it here.

Best Regards.!!

stefonarch commented 5 years ago

The error is (WordPress 4.5.16) Fatal error: Call to undefined function stcr\is_rtl() in /web/htdocs/www.mywebsite.com/home//wp-content/plugins/subscribe-to-comments-reloaded/classes/stcr_i18n.php on line 104

Reedyseth commented 5 years ago

Fatal error: Call to undefined function stcr\is_rtl() in /web/htdocs/www.mywebsite.com/home//wp-content/plugins/subscribe-to-comments-reloaded/classes/stcr_i18n.php on line 104

Cool, thanks, that will help a lot !