Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
thanghv committed Jun 23, 2021
1 parent 71f77a3 commit 69a9e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/class-mainwp-connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function register_site() {
* @uses \MainWP\Child\MainWP_Child_Callable::is_callable_function_no_auth()
* @uses \MainWP\Child\MainWP_Helper::instance()->error()
*/
public function parse_init_auth( $auth = false ) {
public function parse_init_auth( $auth = false ) { // phpcs:ignore -- Current complexity is the only way to achieve desired results, pull request solutions appreciated.

if ( ! $auth && isset( $_POST['mainwpsignature'] ) ) { // with 'mainwpsignature' then need to callable functions.
MainWP_Helper::instance()->error( __( 'Authentication failed! Please deactivate & re-activate the MainWP Child plugin on this site and try again.', 'mainwp-child' ) );
Expand Down

0 comments on commit 69a9e4a

Please sign in to comment.