mainwp.dev/source-code/child/classes/MainWP-Child-MainWP-Security.html
2025-03-17 19:02:54 -04:00

1816 lines
91 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>MainWP Child Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/base.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/template.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
<script src="js/template.js"></script>
<script src="js/search.js"></script>
<script defer src="js/searchIndex.js"></script>
</head>
<body id="top">
<header class="phpdocumentor-header phpdocumentor-section">
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">MainWP Child Documentation</a></h1>
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
<label class="phpdocumentor-header__menu-icon" for="menu-button">
<i class="fas fa-bars"></i>
</label>
<section data-search-form class="phpdocumentor-search">
<label>
<span class="visually-hidden">Search for</span>
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
</svg>
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
</label>
</section>
<nav class="phpdocumentor-topnav">
<ul class="phpdocumentor-topnav__menu">
</ul>
</nav>
</header>
<main class="phpdocumentor">
<div class="phpdocumentor-section">
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
Menu
</label>
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
<section class="phpdocumentor-sidebar__category -namespaces">
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="namespaces/mainwp.html" class="">MainWP</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="namespaces/mainwp-child.html" class="">Child</a>
</li>
</ul>
</section>
<section class="phpdocumentor-sidebar__category -packages">
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWP.html" class="">MainWP</a>
</h4>
<ul class="phpdocumentor-list">
<li>
<a href="packages/MainWP-Child.html" class="">Child</a>
</li>
<li>
<a href="packages/MainWP-ChildCreditsPlugin.html" class="">ChildCreditsPlugin</a>
</li>
<li>
<a href="packages/MainWP-Dashboard.html" class="">Dashboard</a>
</li>
</ul>
<h4 class="phpdocumentor-sidebar__root-namespace">
<a href="packages/MainWPChild.html" class="">MainWPChild</a>
</h4>
</section>
<section class="phpdocumentor-sidebar__category -reports">
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="graphs/classes.html">Class Diagram</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
</section>
<section class="phpdocumentor-sidebar__category -indices">
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
</section>
</aside>
<div class="phpdocumentor-column -nine phpdocumentor-content">
<section>
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="namespaces/mainwp.html">MainWP</a></li>
<li class="phpdocumentor-breadcrumb"><a href="namespaces/mainwp-child.html">Child</a></li>
</ul>
<article class="phpdocumentor-element -class">
<h2 class="phpdocumentor-content__title">
MainWP_Security
<div class="phpdocumentor-element__package">
in package
<ul class="phpdocumentor-breadcrumbs">
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWPChild.html">MainWPChild</a></li>
</ul>
</div>
</h2>
<div class="phpdocumentor-label-line">
</div>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">15</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.15" class="phpdocumentor-element-found-in__source" data-line="15" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Class MainWP_Security</p>
<section class="phpdocumentor-description"><p>Detect security issues</p>
</section>
<h3 id="toc">
Table of Contents
<a href="classes/MainWP-Child-MainWP-Security.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<h4 id="toc-properties">
Properties
<a href="classes/MainWP-Child-MainWP-Security.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -property -private">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#property_listingDirectories">$listingDirectories</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Private static variable to hold the directory listing information.</dd>
</dl>
<h4 id="toc-methods">
Methods
<a href="classes/MainWP-Child-MainWP-Security.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<dl class="phpdocumentor-table-of-contents">
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_debug_disabled_ok">debug_disabled_ok()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method debug_disabled_ok()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_fix_all">fix_all()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method fix_all()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_get_class_name">get_class_name()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method get_class_name()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_get_security_option">get_security_option()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method get_security_option()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_get_stats_security">get_stats_security()</a>
<span>
&nbsp;: int </span>
</dt>
<dd>Method get_stats_security()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_inactive_plugins_ok">inactive_plugins_ok()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method inactive_plugins_ok()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_inactive_themes_ok">inactive_themes_ok()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method inactive_themes_ok()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_outdated_plugins_ok">outdated_plugins_ok()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method outdated_plugins_ok()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_outdated_themes_ok">outdated_themes_ok()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method outdated_themes_ok()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_phpversion_ok">phpversion_ok()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method phpversion_ok()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_prevent_listing">prevent_listing()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method prevent_listing()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_remove_database_reporting">remove_database_reporting()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method remove_database_reporting()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_remove_database_reporting_ok">remove_database_reporting_ok()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method remove_database_reporting_ok()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_remove_php_reporting">remove_php_reporting()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method remove_php_reporting()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_remove_php_reporting_ok">remove_php_reporting_ok()</a>
<span>
&nbsp;: bool </span>
</dt>
<dd>Method remove_php_reporting_ok()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_remove_script_versions">remove_script_versions()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method remove_script_versions()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_remove_theme_versions">remove_theme_versions()</a>
<span>
&nbsp;: string </span>
</dt>
<dd>Method remove_theme_versions()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_sslprotocol_ok">sslprotocol_ok()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method sslprotocol_ok()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_update_security_option">update_security_option()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method update_security_option()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -public">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_wpcore_updated_ok">wpcore_updated_ok()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method wpcore_updated_ok()</dd>
<dt class="phpdocumentor-table-of-contents__entry -method -private">
<a class="" href="classes/MainWP-Child-MainWP-Security.html#method_init_listing_directories">init_listing_directories()</a>
<span>
&nbsp;: mixed </span>
</dt>
<dd>Method init_listing_directories()</dd>
</dl>
<section class="phpdocumentor-properties">
<h3 class="phpdocumentor-elements__header" id="properties">
Properties
<a href="classes/MainWP-Child-MainWP-Security.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="
phpdocumentor-element
-property
-private
-static "
>
<h4 class="phpdocumentor-element__name" id="property_listingDirectories">
$listingDirectories
<a href="classes/MainWP-Child-MainWP-Security.html#property_listingDirectories" class="headerlink"><i class="fas fa-link"></i></a>
<span class="phpdocumentor-element__modifiers">
</span>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">55</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.55" class="phpdocumentor-element-found-in__source" data-line="55" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Private static variable to hold the directory listing information.</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">mixed</span>
<span class="phpdocumentor-signature__name">$listingDirectories</span>
= <span class="phpdocumentor-signature__default-value">null</span></code>
<section class="phpdocumentor-description"><p>Default null</p>
</section>
</article>
</section>
<section class="phpdocumentor-methods">
<h3 class="phpdocumentor-elements__header" id="methods">
Methods
<a href="classes/MainWP-Child-MainWP-Security.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
</h3>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_debug_disabled_ok">
debug_disabled_ok()
<a href="classes/MainWP-Child-MainWP-Security.html#method_debug_disabled_ok" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">363</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.363" class="phpdocumentor-element-found-in__source" data-line="363" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method debug_disabled_ok()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">debug_disabled_ok</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check WP Config and check if debugging is disabled.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_fix_all">
fix_all()
<a href="classes/MainWP-Child-MainWP-Security.html#method_fix_all" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">37</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.37" class="phpdocumentor-element-found-in__source" data-line="37" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method fix_all()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">fix_all</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Fire off functions to fix detected security issues.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Security.html#method_fix_all#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Security.html#method_remove_php_reporting"><abbr title="\MainWP\Child\MainWP_Security::remove_php_reporting()">MainWP_Security::remove_php_reporting()</abbr></a></span>
<section class="phpdocumentor-description"><p>Disable the PHP error reporting.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Security.html#method_remove_script_versions"><abbr title="\MainWP\Child\MainWP_Security::remove_script_versions()">MainWP_Security::remove_script_versions()</abbr></a></span>
<section class="phpdocumentor-description"><p>Remove scripts and stylesheets versions.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Security.html#method_remove_theme_versions"><abbr title="\MainWP\Child\MainWP_Security::remove_theme_versions()">MainWP_Security::remove_theme_versions()</abbr></a></span>
<section class="phpdocumentor-description"><p>Remove themes scripts and stylesheets version.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child.html#method_parse_init"><abbr title="\MainWP\Child\MainWP_Child::parse_init()">MainWP_Child::parse_init()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_class_name">
get_class_name()
<a href="classes/MainWP-Child-MainWP-Security.html#method_get_class_name" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">24</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.24" class="phpdocumentor-element-found-in__source" data-line="24" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_class_name()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_class_name</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Get class name.</p>
</section>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
&mdash;
<section class="phpdocumentor-description"><p><strong>CLASS</strong> Class name.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_security_option">
get_security_option()
<a href="classes/MainWP-Child-MainWP-Security.html#method_get_security_option" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">294</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.294" class="phpdocumentor-element-found-in__source" data-line="294" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_security_option()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_security_option</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$option</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Get security check settings.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$option</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Security check option.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Security.html#method_get_security_option#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Helper.html#method_update_option"><abbr title="\MainWP\Child\MainWP_Helper::update_option()">MainWP_Helper::update_option()</abbr></a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
&mdash;
<section class="phpdocumentor-description"><p>Security settings.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_get_stats_security">
get_stats_security()
<a href="classes/MainWP-Child-MainWP-Security.html#method_get_stats_security" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">241</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.241" class="phpdocumentor-element-found-in__source" data-line="241" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method get_stats_security()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">get_stats_security</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Calculate total number of detected secutiry issues.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Security.html#method_get_stats_security#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Security.html#method_remove_database_reporting_ok"><abbr title="\MainWP\Child\MainWP_Security::remove_database_reporting_ok()">MainWP_Security::remove_database_reporting_ok()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if the database error reporting has been disabled.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Security.html#method_remove_php_reporting_ok"><abbr title="\MainWP\Child\MainWP_Security::remove_php_reporting_ok()">MainWP_Security::remove_php_reporting_ok()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if the PHP error reporting has been disabled.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Stats.html#method_get_site_stats"><abbr title="\MainWP\Child\MainWP_Child_Stats::get_site_stats()">MainWP_Child_Stats::get_site_stats()</abbr></a></span>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">int</span>
&mdash;
<section class="phpdocumentor-description"><p>$total_issues Total number of detected security issues.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_inactive_plugins_ok">
inactive_plugins_ok()
<a href="classes/MainWP-Child-MainWP-Security.html#method_inactive_plugins_ok" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">382</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.382" class="phpdocumentor-element-found-in__source" data-line="382" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method inactive_plugins_ok()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">inactive_plugins_ok</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check WP Config and check if debugging is disabled.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_inactive_themes_ok">
inactive_themes_ok()
<a href="classes/MainWP-Child-MainWP-Security.html#method_inactive_themes_ok" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">401</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.401" class="phpdocumentor-element-found-in__source" data-line="401" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method inactive_themes_ok()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">inactive_themes_ok</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check WP Config and check if debugging is disabled.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_outdated_plugins_ok">
outdated_plugins_ok()
<a href="classes/MainWP-Child-MainWP-Security.html#method_outdated_plugins_ok" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">373</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.373" class="phpdocumentor-element-found-in__source" data-line="373" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method outdated_plugins_ok()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">outdated_plugins_ok</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check WP Config and check if debugging is disabled.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_outdated_themes_ok">
outdated_themes_ok()
<a href="classes/MainWP-Child-MainWP-Security.html#method_outdated_themes_ok" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">392</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.392" class="phpdocumentor-element-found-in__source" data-line="392" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method outdated_themes_ok()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">outdated_themes_ok</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check WP Config and check if debugging is disabled.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_phpversion_ok">
phpversion_ok()
<a href="classes/MainWP-Child-MainWP-Security.html#method_phpversion_ok" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">342</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.342" class="phpdocumentor-element-found-in__source" data-line="342" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method phpversion_ok()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">phpversion_ok</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check PHP version matches the WP requirement.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_prevent_listing">
prevent_listing()
<a href="classes/MainWP-Child-MainWP-Security.html#method_prevent_listing" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">82</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.82" class="phpdocumentor-element-found-in__source" data-line="82" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method prevent_listing()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">prevent_listing</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Prevent directory listing by creating the index.php file.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Security.html#method_prevent_listing#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>\MainWP\Child\MainWP_Security::fix_all() Fire off functions to fix detected security issues.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Misc.html#method_do_security_fix"><abbr title="\MainWP\Child\MainWP_Child_Misc::do_security_fix()">MainWP_Child_Misc::do_security_fix()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">uses</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Helper.html#method_get_wp_filesystem"><abbr title="\MainWP\Child\MainWP_Helper::get_wp_filesystem()">MainWP_Helper::get_wp_filesystem()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_remove_database_reporting">
remove_database_reporting()
<a href="classes/MainWP-Child-MainWP-Security.html#method_remove_database_reporting" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">129</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.129" class="phpdocumentor-element-found-in__source" data-line="129" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method remove_database_reporting()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">remove_database_reporting</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Disable the database error reporting.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Security.html#method_remove_database_reporting#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MainWP_Security::fix_all() Fire off functions to fix detected security issues.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Misc.html#method_do_security_fix"><abbr title="\MainWP\Child\MainWP_Child_Misc::do_security_fix()">MainWP_Child_Misc::do_security_fix()</abbr></a></span>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_remove_database_reporting_ok">
remove_database_reporting_ok()
<a href="classes/MainWP-Child-MainWP-Security.html#method_remove_database_reporting_ok" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">195</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.195" class="phpdocumentor-element-found-in__source" data-line="195" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method remove_database_reporting_ok()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">remove_database_reporting_ok</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check if the database error reporting has been disabled.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Security.html#method_remove_database_reporting_ok#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MainWP_Security::get_stats_security() Calculate total number of detected secutiry issues.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Misc.html#method_get_security_stats"><abbr title="\MainWP\Child\MainWP_Child_Misc::get_security_stats()">MainWP_Child_Misc::get_security_stats()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Misc.html#method_do_security_fix"><abbr title="\MainWP\Child\MainWP_Child_Misc::do_security_fix()">MainWP_Child_Misc::do_security_fix()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Security.html#method_get_stats_security"><abbr title="\MainWP\Child\MainWP_Security::get_stats_security()">MainWP_Security::get_stats_security()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if the database error reporting has been disabled.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
&mdash;
<section class="phpdocumentor-description"><p>true|false If the database error reporting has been disabled, return true, if not, return false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_remove_php_reporting">
remove_php_reporting()
<a href="classes/MainWP-Child-MainWP-Security.html#method_remove_php_reporting" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">114</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.114" class="phpdocumentor-element-found-in__source" data-line="114" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method remove_php_reporting()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">remove_php_reporting</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$force</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Disable the PHP error reporting.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$force</span>
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Force action if true, don't force if false.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Security.html#method_remove_php_reporting#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MainWP_Security::fix_all() Fire off functions to fix detected security issues.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Misc.html#method_do_security_fix"><abbr title="\MainWP\Child\MainWP_Child_Misc::do_security_fix()">MainWP_Child_Misc::do_security_fix()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Security.html#method_fix_all"><abbr title="\MainWP\Child\MainWP_Security::fix_all()">MainWP_Security::fix_all()</abbr></a></span>
<section class="phpdocumentor-description"><p>Disable the PHP error reporting.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_remove_php_reporting_ok">
remove_php_reporting_ok()
<a href="classes/MainWP-Child-MainWP-Security.html#method_remove_php_reporting_ok" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">216</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.216" class="phpdocumentor-element-found-in__source" data-line="216" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method remove_php_reporting_ok()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">remove_php_reporting_ok</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check if the PHP error reporting has been disabled.</p>
</section>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Security.html#method_remove_php_reporting_ok#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MainWP_Security::get_stats_security() Calculate total number of detected secutiry issues.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Misc.html#method_get_security_stats"><abbr title="\MainWP\Child\MainWP_Child_Misc::get_security_stats()">MainWP_Child_Misc::get_security_stats()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Child-Misc.html#method_do_security_fix"><abbr title="\MainWP\Child\MainWP_Child_Misc::do_security_fix()">MainWP_Child_Misc::do_security_fix()</abbr></a></span>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Security.html#method_get_stats_security"><abbr title="\MainWP\Child\MainWP_Security::get_stats_security()">MainWP_Security::get_stats_security()</abbr></a></span>
<section class="phpdocumentor-description"><p>Check if the PHP error reporting has been disabled.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">bool</span>
&mdash;
<section class="phpdocumentor-description"><p>true|false If the PHP error reporting has been disabled, return true, if not, return false.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_remove_script_versions">
remove_script_versions()
<a href="classes/MainWP-Child-MainWP-Security.html#method_remove_script_versions" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">153</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.153" class="phpdocumentor-element-found-in__source" data-line="153" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method remove_script_versions()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">remove_script_versions</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$src</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Remove scripts versions.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$src</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Script or stylesheet location path.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Security.html#method_remove_script_versions#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MainWP_Security::fix_all() Fire off functions to fix detected security issues.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Security.html#method_fix_all"><abbr title="\MainWP\Child\MainWP_Security::fix_all()">MainWP_Security::fix_all()</abbr></a></span>
<section class="phpdocumentor-description"><p>Remove scripts and stylesheets versions.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
&mdash;
<section class="phpdocumentor-description"><p>$src Script or stylesheet striped location path.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_remove_theme_versions">
remove_theme_versions()
<a href="classes/MainWP-Child-MainWP-Security.html#method_remove_theme_versions" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">175</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.175" class="phpdocumentor-element-found-in__source" data-line="175" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method remove_theme_versions()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">remove_theme_versions</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$src</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Remove themes versions.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$src</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Theme stylesheet location path.</p>
</section>
</dd>
</dl>
<h5 class="phpdocumentor-tag-list__heading" id="tags">
Tags
<a href="classes/MainWP-Child-MainWP-Security.html#method_remove_theme_versions#tags" class="headerlink"><i class="fas fa-link"></i></a>
</h5>
<dl class="phpdocumentor-tag-list">
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<section class="phpdocumentor-description"><p>MainWP_Security::fix_all() Fire off functions to fix detected security issues.</p>
</section>
</dd>
<dt class="phpdocumentor-tag-list__entry">
<span class="phpdocumentor-tag__name">used-by</span>
</dt>
<dd class="phpdocumentor-tag-list__definition">
<span class="phpdocumentor-tag-link"><a href="classes/MainWP-Child-MainWP-Security.html#method_fix_all"><abbr title="\MainWP\Child\MainWP_Security::fix_all()">MainWP_Security::fix_all()</abbr></a></span>
<section class="phpdocumentor-description"><p>Remove themes scripts and stylesheets version.</p>
</section>
</dd>
</dl>
<section>
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
<span class="phpdocumentor-signature__response_type">string</span>
&mdash;
<section class="phpdocumentor-description"><p>$src Theme stylesheet striped location path.</p>
</section>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_sslprotocol_ok">
sslprotocol_ok()
<a href="classes/MainWP-Child-MainWP-Security.html#method_sslprotocol_ok" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">353</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.353" class="phpdocumentor-element-found-in__source" data-line="353" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method sslprotocol_ok()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">sslprotocol_ok</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check SSL protocol is in place.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_update_security_option">
update_security_option()
<a href="classes/MainWP-Child-MainWP-Security.html#method_update_security_option" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">309</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.309" class="phpdocumentor-element-found-in__source" data-line="309" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method update_security_option()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">update_security_option</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Update the security issues feature settings.</p>
</section>
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
<dl class="phpdocumentor-argument-list">
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$key</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Security option key.</p>
</section>
</dd>
<dt class="phpdocumentor-argument-list__entry">
<span class="phpdocumentor-signature__argument__name">$value</span>
: <span class="phpdocumentor-signature__argument__return-type">string</span>
</dt>
<dd class="phpdocumentor-argument-list__definition">
<section class="phpdocumentor-description"><p>Security option value.</p>
</section>
</dd>
</dl>
</article>
<article
class="phpdocumentor-element
-method
-public
-static "
>
<h4 class="phpdocumentor-element__name" id="method_wpcore_updated_ok">
wpcore_updated_ok()
<a href="classes/MainWP-Child-MainWP-Security.html#method_wpcore_updated_ok" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">322</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.322" class="phpdocumentor-element-found-in__source" data-line="322" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method wpcore_updated_ok()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">public</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">wpcore_updated_ok</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Check WP core updated.</p>
</section>
</article>
<article
class="phpdocumentor-element
-method
-private
-static "
>
<h4 class="phpdocumentor-element__name" id="method_init_listing_directories">
init_listing_directories()
<a href="classes/MainWP-Child-MainWP-Security.html#method_init_listing_directories" class="headerlink"><i class="fas fa-link"></i></a>
</h4>
<aside class="phpdocumentor-element-found-in">
<abbr class="phpdocumentor-element-found-in__file" title="class/class-mainwp-security.php"><a href="files/class-class-mainwp-security.html"><abbr title="class/class-mainwp-security.php">class-mainwp-security.php</abbr></a></abbr>
:
<span class="phpdocumentor-element-found-in__line">62</span>
<a href="classes/MainWP-Child-MainWP-Security.html#source-view.62" class="phpdocumentor-element-found-in__source" data-line="62" data-modal="source-view" data-src="files/class/class-mainwp-security.php.txt"></a>
</aside>
<p class="phpdocumentor-summary">Method init_listing_directories()</p>
<code class="phpdocumentor-code phpdocumentor-signature ">
<span class="phpdocumentor-signature__visibility">private</span>
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">init_listing_directories</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
<div class="phpdocumentor-label-line">
</div>
<section class="phpdocumentor-description"><p>Get directories array to prevent listing.</p>
</section>
</article>
</section>
<div class="phpdocumentor-modal" id="source-view">
<div class="phpdocumentor-modal-bg" data-exit-button></div>
<div class="phpdocumentor-modal-container">
<div class="phpdocumentor-modal-content">
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/class/class-mainwp-security.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
</div>
<button data-exit-button class="phpdocumentor-modal__close">&times;</button>
</div>
</div>
<script type="text/javascript">
(function () {
function loadExternalCodeSnippet(el, url, line) {
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
const language = 'php';
const code = document.createElement('code');
code.className = 'language-' + language;
pre.textContent = '';
pre.setAttribute('data-line', line)
code.textContent = 'Loading…';
pre.appendChild(code);
var xhr = new XMLHttpRequest();
xhr.open('GET', src, true);
xhr.onreadystatechange = function () {
if (xhr.readyState !== 4) {
return;
}
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
return;
}
if (xhr.status === 404) {
code.textContent = '✖ Error: File could not be found';
return;
}
if (xhr.status >= 400) {
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
return;
}
code.textContent = '✖ Error: An unknown error occurred';
};
xhr.send(null);
});
}
const modalButtons = document.querySelectorAll("[data-modal]");
const openedAsLocalFile = window.location.protocol === 'file:';
if (modalButtons.length > 0 && openedAsLocalFile) {
console.warn(
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
'browsers block XHR requests when a page is opened this way'
);
}
modalButtons.forEach(function (trigger) {
if (openedAsLocalFile) {
trigger.setAttribute("hidden", "hidden");
}
trigger.addEventListener("click", function (event) {
event.preventDefault();
const modal = document.getElementById(trigger.dataset.modal);
if (!modal) {
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
return;
}
modal.classList.add("phpdocumentor-modal__open");
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
const exits = modal.querySelectorAll("[data-exit-button]");
exits.forEach(function (exit) {
exit.addEventListener("click", function (event) {
event.preventDefault();
modal.classList.remove("phpdocumentor-modal__open");
});
});
});
});
})();
</script>
</article>
</section>
<section class="phpdocumentor-on-this-page__sidebar">
<section class="phpdocumentor-on-this-page__content">
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
<ul class="phpdocumentor-list -clean">
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
<li>
<ul class="phpdocumentor-list -clean">
<li><a href="classes/MainWP-Child-MainWP-Security.html#toc-properties">Properties</a></li>
<li><a href="classes/MainWP-Child-MainWP-Security.html#toc-methods">Methods</a></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Properties</li>
<li>
<ul class="phpdocumentor-list -clean">
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#property_listingDirectories">$listingDirectories</a></li>
</ul>
</li>
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
<li>
<ul class="phpdocumentor-list -clean">
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_debug_disabled_ok">debug_disabled_ok()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_fix_all">fix_all()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_get_class_name">get_class_name()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_get_security_option">get_security_option()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_get_stats_security">get_stats_security()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_inactive_plugins_ok">inactive_plugins_ok()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_inactive_themes_ok">inactive_themes_ok()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_outdated_plugins_ok">outdated_plugins_ok()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_outdated_themes_ok">outdated_themes_ok()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_phpversion_ok">phpversion_ok()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_prevent_listing">prevent_listing()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_remove_database_reporting">remove_database_reporting()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_remove_database_reporting_ok">remove_database_reporting_ok()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_remove_php_reporting">remove_php_reporting()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_remove_php_reporting_ok">remove_php_reporting_ok()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_remove_script_versions">remove_script_versions()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_remove_theme_versions">remove_theme_versions()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_sslprotocol_ok">sslprotocol_ok()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_update_security_option">update_security_option()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_wpcore_updated_ok">wpcore_updated_ok()</a></li>
<li class=""><a href="classes/MainWP-Child-MainWP-Security.html#method_init_listing_directories">init_listing_directories()</a></li>
</ul>
</li>
</ul>
</section>
</section>
</div>
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
<section class="phpdocumentor-search-results__dialog">
<header class="phpdocumentor-search-results__header">
<h2 class="phpdocumentor-search-results__title">Search results</h2>
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
</header>
<section class="phpdocumentor-search-results__body">
<ul class="phpdocumentor-search-results__entries"></ul>
</section>
</section>
</section>
</div>
<a href="classes/MainWP-Child-MainWP-Security.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
</main>
<script>
cssVars({});
</script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
</body>
</html>