Prevent Landscape Rotation

Prevent Landscape Rotation On Mobile Website.

v2.1Arul Prasad JUpdated Added 1k+ installs94% rating
41
Score
31
Errors
27
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability86

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

58 findings

Security

32

6 issue groups

Maintainability

18

4 issue groups

I18n

6

4 issue groups

Repo Compliance

2

2 issue groups

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$apj_add_meta_nonce'.18
Category
Security
Occurrences
18
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$apj_add_meta_nonce'.

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$apj_add_meta_nonce".13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$apj_add_meta_nonce".

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST[$apj_plr_bg_clr_code]4
Category
Security
Occurrences
4
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[$apj_plr_bg_clr_code]

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_POST[$apj_plr_bg_clr_code]. Check that the array index exists before using it.4
Category
Security
Occurrences
4
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[$apj_plr_bg_clr_code]. Check that the array index exists before using it.

WARNINGSecurityMissing Unslash$_POST[$apj_plr_bg_clr_code] not unslashed before sanitization. Use wp_unslash() or similar4
Category
Security
Occurrences
4
Severity
warning

Sample message

$_POST[$apj_plr_bg_clr_code] not unslashed before sanitization. Use wp_unslash() or similar

ERRORMaintainabilitystrip tags strip tagsstrip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: APJ_PLR_MENU_SLUG2
Category
I18n
Occurrences
2
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: APJ_PLR_MENU_SLUG

ERRORI18nText Domain MismatchMismatched text domain. Expected 'prevent-landscape-rotation' but got 'apjMC'.2
Category
I18n
Occurrences
2
Severity
error

Sample message

Mismatched text domain. Expected 'prevent-landscape-rotation' but got 'apjMC'.

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.1
Category
Security
Occurrences
1
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNINGSecurityUsing FILE Using __FILE__ for menu slugs risks exposing filesystem structure.1
Category
Security
Occurrences
1
Severity
warning

Sample message

Using __FILE__ for menu slugs risks exposing filesystem structure.

Show 6 more
ERRORMaintainabilityNo Explicit Version1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

Missing $domain parameter in function call to __().

ERRORI18nMissing Translators Comment1
Category
I18n
Occurrences
1
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.8 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "wp_add_inline_script()" requires WordPress 4.5.0, but your plugin minimum supported version is WordPress 4.3.0.

Score History

First score snapshot

v2.1

41

Latest

Findings
58
Errors
31
Warnings
27
Check
2.0.0

Related Plugins

100
Favicon Rotator

20k+ active installs

99
99
Responsive Navigation Block

1k+ active installs

99
WP Mobile Detect

5k+ active installs

91