e107inc/e107

View on GitHub
e107_plugins/import/providers/wordpress_import_class.php

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Avoid too many return statements within this method.
Open

    return TRUE;
Severity: Major
Found in e107_plugins/import/providers/wordpress_import_class.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return FALSE;
    Severity: Major
    Found in e107_plugins/import/providers/wordpress_import_class.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      if ($result === FALSE) return FALSE;
      Severity: Major
      Found in e107_plugins/import/providers/wordpress_import_class.php - About 30 mins to fix

        Reference to undeclared property \wordpress_import->newsAuthor
        Open

                    $target['news_author']                = ($this->newsAuthor !=0) ? $this->newsAuthor : $source['post_author'];

        Variable $var was undeclared, but array fields are being added to it.
        Open

                $var[0]['caption']    = "News Author Override (optional)";

        Reference to undeclared property \wordpress_import->newsAuthor
        Open

                $this->newsAuthor    = intval($_POST['news_author']);

        There are no issues that match your filters.

        Category
        Status