Skip to content

Plugin Check: Missing $domain parameter #752

@masteradhoc

Description

@masteradhoc

Describe the bug

The Plugin Check Plugin shows different issues. One of it is the Missing $domain parameter message. See below the notes:

Image

includes/function.login-footer.php

Line Column Type Code Message Docs
29 21 ERROR WordPress.WP.I18n.MissingArgDomain Missing $domain parameter in function call to _x(). Docs

includes/function.login-header.php

Line Column Type Code Message Docs
53 29 ERROR WordPress.WP.I18n.MissingArgDomain Missing $domain parameter in function call to __(). Docs
57 33 ERROR WordPress.WP.I18n.MissingArgDomain Missing $domain parameter in function call to __(). Docs
104 25 ERROR WordPress.WP.I18n.MissingArgDomain Missing $domain parameter in function call to __(). Docs
130 9 ERROR WordPress.WP.I18n.MissingArgDomain Missing $domain parameter in function call to __(). Docs
133 57 ERROR WordPress.WP.I18n.MissingArgDomain Missing $domain parameter in function call to __(). Docs

providers/class-two-factor-backup-codes.php

Line Column Type Code Message Docs
179 27 ERROR WordPress.WP.I18n.MissingArgDomain Missing $domain parameter in function call to esc_html_e(). Docs

Steps to Reproduce

  1. Install Plugin Check Plugin
  2. Choose Two Factor, Categories = "General" and Types = "Error" & "Warning"
  3. see results
  4. apply fix
  5. see results

Screenshots, screen recording, code snippet

No response

Environment information

No response

Please confirm that you have searched existing issues in this repository.

Yes

Please confirm that you have tested with all plugins deactivated except Two-Factor.

Yes

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions