/home/techb158/public_html/wp-content/plugins/wordpress-seo/src/config
NameSizeModeActions
migrations/-0755rm
badge-group-names.php14860644editdlrm
conflicting-plugins.php54120644editdlrm
indexing-reasons.php13150644editdlrm
migration-status.php52710644editdlrm
oauth-client.php91060644editdlrm
researcher-languages.php3390644editdlrm
schema-ids.php10910644editdlrm
schema-types.php40990644editdlrm
semrush-client.php26800644editdlrm
wincher-client.php39260644editdlrm
wincher-pkce-provider.php71950644editdlrm
Edit: /home/techb158/public_html/wp-content/plugins/wordpress-seo/src/config/semrush-client.php (2680B)
'yoast', 'clientSecret' => 'YdqNsWwnP4vE54WO1ugThKEjGMxMAHJt', 'redirectUri' => 'https://oauth.semrush.com/oauth2/yoast/success', 'urlAuthorize' => 'https://oauth.semrush.com/oauth2/authorize', 'urlAccessToken' => 'https://oauth.semrush.com/oauth2/access_token', 'urlResourceOwnerDetails' => 'https://oauth.semrush.com/oauth2/resource', ], [ 'httpClient' => new Client( [ 'handler' => $wp_remote_handler ] ), ], ); parent::__construct( self::TOKEN_OPTION, $provider, $options_helper, ); } /** * Performs the specified request. * * @codeCoverageIgnore * * @param string $method The HTTP method to use. * @param string $url The URL to send the request to. * @param array $options The options to pass along to the request. * * @return mixed The parsed API response. * * @throws IdentityProviderException Exception thrown if there's something wrong with the identifying data. * @throws Authentication_Failed_Exception Exception thrown if authentication has failed. * @throws Empty_Token_Exception Exception thrown if the token is empty. */ public function do_request( $method, $url, array $options ) { // Add the access token to the GET parameters as well since this is what // the SEMRush API expects. $options = \array_merge_recursive( $options, [ 'params' => [ 'access_token' => $this->get_tokens()->access_token, ], ], ); return parent::do_request( $method, $url, $options ); } }