DesarrollosWeb/documentofacil

View on GitHub
tramites.php

Summary

Maintainability
A
0 mins
Test Coverage

Showing 10 of 10 total issues

Call to undeclared function \wp_lostpassword_url()
Open

<a href="<?php echo wp_lostpassword_url('tramites.php'); ?>"><?= $text["password_lost"]; ?></a>
Severity: Critical
Found in tramites.php by phan

Call to undeclared function \wp_get_current_user() (Did you mean \get_current_user())
Open

$user = wp_get_current_user();
Severity: Critical
Found in tramites.php by phan

Call to undeclared function \wp_login_form()
Open

<?php wp_login_form(); ?>
Severity: Critical
Found in tramites.php by phan

Call to undeclared function \get_footer()
Open

get_footer();
Severity: Critical
Found in tramites.php by phan

Call to undeclared function \get_header() (Did you mean \get_headers())
Open

get_header();
Severity: Critical
Found in tramites.php by phan

Remove this commented out code.
Open

//}
Severity: Major
Found in tramites.php by sonar-php

Remove this commented out code.
Open

//$user = get_userdata(2);
Severity: Major
Found in tramites.php by sonar-php

Remove this commented out code.
Open

//if (!IS_DEVELOPMENT) {
Severity: Major
Found in tramites.php by sonar-php

Expected 1 space after ELSE keyword; 0 found
Open

<?php else: ?>
Severity: Minor
Found in tramites.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 0
Open

<?php if (isset($user) && $user->ID == 0): ?>
Severity: Minor
Found in tramites.php by phpcodesniffer

There are no issues that match your filters.

Category
Status