Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-content
/
plugins
/
secupress
/
inc
/
modules
/
discloses
/
File Content:
tools.php
<?php defined( 'SECUPRESS_VERSION' ) or die( 'Something went wrong.' ); /** * Get login error messages that we don't want to be displayed. * * @since 1.0 * * @param (bool) $for_regex If false, raw messages will be returned. If true, the returned messages will be ready to be used as regex patterns (in that case, `@` must be used as delimiter). * * @return (array) An array of messages. */ function secupress_login_errors_disclose_get_messages( $for_regex = true ) { $messages = array( 'invalid_email' => __( '<strong>Error</strong>: There is no user registered with that email address.', 'secupress' ), 'invalidcombo' => __( '<strong>Error</strong>: Invalid username or e-mail.', 'secupress' ), 'invalidcombo_46' => __( '<strong>Error</strong>: Invalid username or email.', 'secupress' ), 'invalid_username' => sprintf( __( '<strong>Error</strong>: Invalid username. <a href="%s">Lost your password?</a>', 'secupress' ), wp_lostpassword_url() ), 'invalid_username_46' => __( '<strong>Error</strong>: Invalid username.', 'secupress' ) . ' <a href="' . wp_lostpassword_url() . '">' . __( 'Lost your password?' ) . '</a>', 'incorrect_password' => sprintf( __( '<strong>Error</strong>: The password you entered for the username <strong>%1$s</strong> is incorrect. <a href="%2$s">Lost your password?</a>', 'secupress' ), '%ALL%', wp_lostpassword_url() ), 'incorrect_password_46' => sprintf( __( '<strong>Error</strong>: The password you entered for the username %s is incorrect.', 'secupress' ), '<strong>%ALL%</strong>' ) . ' <a href="' . wp_lostpassword_url() . '">' . __( 'Lost your password?', 'secupress' ) . '</a>', ); if ( $for_regex ) { foreach ( $messages as $id => $message ) { $messages[ $id ] = preg_quote( $messages[ $id ] ); $messages[ $id ] = str_replace( '%ALL%', '.*', $messages[ $id ] ); } } return $messages; }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
plugins
---
0755
elFinderVolumeLocalFileSystem.class-20260623050500.php
48544 bytes
0644
request-methods-header.php
1127 bytes
0644
tools.php
1899 bytes
0644
N4ST4R_ID | Naxtarrr