Advanced iFrame

Include content the way YOU like in an iframe that can hide and modify elements, does auto-height, forward parameters and does many, many more...

v2026.2mdempfleUpdated Added 40k+ installs88% rating
24
Score
887
Errors
1,120
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,007 findings

Maintainability

988

16 issue groups

Security

958

7 issue groups

I18n

30

2 issue groups

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$accountUrl".842
Category
Maintainability
Occurrences
842
Severity
warning

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$accountUrl'.549
Category
Security
Occurrences
549
Severity
error

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "aiCreateFile".61
Category
Maintainability
Occurrences
61
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "aiCreateFile".

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET[$param]49
Category
Security
Occurrences
49
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[$param]

WARNINGSecurityRequest data is not unslashed$_GET[$param] not unslashed before sanitization. Use wp_unslash() or similar49
Category
Security
Occurrences
49
Severity
warning

Sample message

$_GET[$param] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST[$item]. Check that the array index exists before using it.36
Category
Security
Occurrences
36
Severity
warning

Sample message

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

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;32
Category
Maintainability
Occurrences
32
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.29
Category
Security
Occurrences
29
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGI18nNo Html Wrapped StringsTranslatable string should not be wrapped in HTML. Found: '<b>Url</b>'20
Category
I18n
Occurrences
20
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: '<b>Url</b>'

Show 15 more
WARNINGSecurityMissing nonce verification16
Category
Security
Occurrences
16
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nNon Singular String Literal Text10
Category
I18n
Occurrences
10
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: '<div id="browser-help">\n <p>\n Modern website designs are not pixel based anymore and depending on the features of the browser they also look slightly different. So if you use the "Show only part of the iframe" feature it is possible that the area you want to cut out of the website is at a slightly different place. You can also use the browser detection to show different iframes for different browsers or even mobile devices.\n </p>\n <h3>Setup</h3>\n <p>\n If you want to have different iframe configurations depending on the browser you have to use the shortcode attribute <strong>browser=""</strong> and define the browsers there which should be used for this shortcode. See the different <a href="#config-options">configuration options</a> below. You can define several browsers by separating them by, and even define browser versions by adding the versions with (version). Each of the shortcodes which are browser dependent need to have the <strong>same id</strong>! The last shortcode should have the attribute browser="default". This is then used if no browser does match before. If you don\'t do this you can show iframes only for a specific browser.\n </p>\n <h4>Example 1 - Special settings for IE 10 and IE 11</h4>\n <p>\n [advanced_iframe ' . $securitykeyString . 'id="example1" show_part_of_iframe_x="25" browser="ie(10),ie(11)"]<br />\n [advanced_iframe ' . $securitykeyString . 'id="example1" show_part_of_iframe_x="20" browser="default"]\n </p>\n <h4>Example 2 - Special settings for Edge, Firefox and Chrome</h4>\n <p>\n [advanced_iframe ' . $securitykeyString . 'id="example2" show_part_of_iframe_x="25" browser="edge"]<br />\n [advanced_iframe ' . $securitykeyString . 'id="example2" show_part_of_iframe_x="23" browser="firefox,chrome"]<br />\n [advanced_iframe ' . $securitykeyString . 'id="example2" show_part_of_iframe_x="20" browser="default"]\n </p>\n <h4>Example 3 - Show a different iframe on iframe on apple devices and mobile devices</h4>\n <p>\n [advanced_iframe ' . $securitykeyString . 'id="example3" src="apple iframe" browser="iphone,ipad,ipod"]<br />\n [advanced_iframe ' . $securitykeyString . 'id="example3" src="other mobile devices iframe" browser="mobile"]<br />\n [advanced_iframe ' . $securitykeyString . 'id="example3" src="normal iframe" browser="default"]\n </p>\n\n <h3 id="config-options">Configuration options</h3>\n \n The following options for most common browsers can be used:\n <ul id="browser-list">\n <li>ie - Selects all versions of Internet Explorer. Also, a version is supported. ie(10) selects IE10, ie(11) selects IE11</li>\n <li>safari - Selects all versions of Safari. Also, a version is supported. Add the version in (). e.g. safari(5)</li>\n <li>firefox - Selects all versions of Firefox. Also, a version is supported. Add the version in (). e.g. firefox(20)</li>\n <li>chrome - Selects all versions of Chrome. Also, a version is supported. Add the version in (). e.g. chrome(25)</li>\n <li>opera - Selects all versions of Opera. Also, a version is supported. Add the version in (). e.g. opera(20)</li>\n <li>edge - Selects all versions of Edge. Also, a version is supported. Add the version in (). e.g. edge(120)</li>\n <li>ipad - Selects all versions of ipad.</li>\n <li>ipod - Selects all versions of ipod.</li>\n <li>iphone - Selects all versions of iphone.</li>\n <li>mobile - Selects all mobile devices.</li>\n <li>tablet - Selects all tablet devices.</li>\n <li>android - Selects all android devices.</li>\n <li>androidtablet - Selects all android tablet devices.</li>\n <li>desktop - Selects all desktop browsers.</li>\n <li>browser - Selects all browsers. Desktop, tablet and mobile. Can be used to show something only for browsers and e.g. for crawlers you can use the default and show nothing.</li>\n <li>default - Is used if no other advanced iframe pro with the same id was selected before.</li>\n </ul>\n\n <h3>Credit and update</h3>\n <p>\n Advanced iFrame Pro uses an integrated browser detection which is based on the WordPress plugin php-browser-detection 3.2.\n </p>\n <p>\n If the automatic update does not work you can get an updated version of the browsercap.ini lite file here: https://browscap.org/<br />Please use the light version as it contains all settings for the provided settings !\n </p>\n <p>\n If you want to update the browser detection file get the lite_php_browscap.ini from there, rename it to browscap.ini and place it in the ../includes/php-browser-detection/cache/ folder of the plugin<br />\n Or always get the latest version of the advanced iframe pro plugin. This file is also updated there!\n </p>\n </div>\n '

ERRORMaintainabilityparse url parse url8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

ERRORMaintainabilityPlugin Directory Write7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

Plugin folders are deleted when upgraded. Do not save data to the plugin folder using copy(). Detected usage of __FILE__ or __DIR__ magic constant. Use wp_upload_dir() to get the uploads directory path or save to the database instead.

WARNINGMaintainabilityNon-prefixed constant5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;AIP_IMGURL&quot;.

ERRORMaintainabilityfile system operations fclose5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

ERRORMaintainabilityfile system operations fopen4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

WARNINGMaintainabilityNot In Footer4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

ERRORMaintainabilitydate date3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

ERRORMaintainabilitycurl curl close3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilitycurl curl multi remove handle3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

ERRORMaintainabilityrand rand3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORMaintainabilityunlink unlink3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

ERRORMaintainabilityNon Enqueued Script3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Scripts must be registered/enqueued via wp_enqueue_script()

WARNINGMaintainabilityNon-prefixed hook name2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;ai_fs_loaded&quot;.

External Connections

Not analyzed yet.

Score History

First score snapshot

v2026.2

24

Latest

Findings
2,007
Errors
887
Warnings
1,120
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins

Code Embed

10k+ active installs

100
Disable Embeds

10k+ active installs

99
oEmbed Plus

4k+ active installs

98
OTF Regenerate Thumbnails

4k+ active installs

98
Responsive Video Embeds

2k+ active installs

97