Changeset:
        21c0eea889fb
        
https://sourceforge.net/p/mrbs/hg-code/ci/21c0eea889fb3dd69ec95f4f000db8fecc351234
Author:
        Campbell Morrison <[email protected]>
Date:
        Wed Aug 10 18:39:44 2016 +0100
Log message:

Changed the login error message to be the standard WordPress merror message when
using WordPress authentication.

diffstat:

 web/session/session_wordpress.inc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8291498fe3c0 -r 21c0eea889fb web/session/session_wordpress.inc
--- a/web/session/session_wordpress.inc Thu Aug 04 15:54:30 2016 +0100
+++ b/web/session/session_wordpress.inc Wed Aug 10 18:39:44 2016 +0100
@@ -43,7 +43,7 @@
     if (is_wp_error($wp_user))
     {
       print_header(0, 0, 0, 0, "");
-      echo "<p>".get_vocab('unknown_user')."</p>\n";
+      echo "<p>" . $wp_user->get_error_message() . "</p>\n";  // WP login 
error messages can be changed using a WP filter
       printLoginForm($TargetURL);
       exit();
     }

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to