mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-08-30 02:32:07 +08:00
Fixed: CodeGuard issues
This commit is contained in:
parent
4cca4a66c7
commit
7ad5c0c958
1 changed files with 3 additions and 3 deletions
|
@ -546,7 +546,7 @@ class MainWP_Security {
|
||||||
*
|
*
|
||||||
* Get security check settings.
|
* Get security check settings.
|
||||||
*
|
*
|
||||||
* @param string $optoin Security check option.
|
* @param string $option Security check option.
|
||||||
*
|
*
|
||||||
* @return array Security settings.
|
* @return array Security settings.
|
||||||
*/
|
*/
|
||||||
|
@ -561,8 +561,8 @@ class MainWP_Security {
|
||||||
*
|
*
|
||||||
* Update the security issues feature settings.
|
* Update the security issues feature settings.
|
||||||
*
|
*
|
||||||
* @param $key Security option key.
|
* @param string $key Security option key.
|
||||||
* @param $value Security option value.
|
* @param string $value Security option value.
|
||||||
*/
|
*/
|
||||||
public static function update_security_option( $key, $value ) {
|
public static function update_security_option( $key, $value ) {
|
||||||
$security = get_option( 'mainwp_security' );
|
$security = get_option( 'mainwp_security' );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue