Comments (1)
In /wp-includes/pluggable.php, changed:
function wp_new_user_notification($user_id, $plaintext_pass = '') {
$user = get_userdata( $user_id );
// The blogname option is escaped with esc_html on the way into the database in sanitize_option
// we want to reverse this for the plain text arena of emails.
$blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES);
$message = sprintf(__('New user registration on your site %s:'), $blogname) . "\r\n\r\n";
$message .= sprintf(__('Username: %s'), $user->user_login) . "\r\n\r\n";
$message .= sprintf(__('E-mail: %s'), $user->user_email) . "\r\n";
@wp_mail(get_option('admin_email'), sprintf(__('[%s] New User Registration'), $blogname), $message);
if ( empty($plaintext_pass) )
return;
$message = sprintf(__('Username: %s'), $user->user_login) . "\r\n";
$message .= sprintf(__('Password: %s'), $plaintext_pass) . "\r\n";
$message .= wp_login_url() . "\r\n";
wp_mail($user->user_email, sprintf(__('[%s] Your username and password'), $blogname), $message);
}
endif;
To:
$message = "Thank you for your interest in becoming a wiki editor! \r\n\r\n";
$message .= "To access the site:\r\n";
$message .= "- Open:" .wp_login_url() . "\r\n";
$message .= "- Enter the (case sensitive) first level authentication details: \r\n";
$message .= " Username: ArduPilot \r\n";
$message .= " Password: 3DRobotics \r\n";
$message .= "- Enter your WordPress credentials: \r\n";
$message .= sprintf(__(' Username: %s'), $user->user_login) . "\r\n";
$message .= sprintf(__(' Password: %s'), $plaintext_pass) . "\r\n";
$message .= "\r\n";
$message .= "Once you have logged-in, you can access your *authorised* sites from the top-left menu 'My Sites'. \r\n";
$message .= "\r\n";
$message .= "Notes:\r\n";
$message .= ' - The Wiki Editing Guide (planner.ardupilot.com/wiki/common-editor-information-resource/) explains how to create and edit topics.';
$message .= "\r\n";
$message .= " - Special care needs to be taken when working with 'common' topics.\r\n";
$message .= " - We will send you an invitation to the Wiki Editors Discussion Google-group shortly. It is a great place to ask questions and get feedback on your edits. \r\n";
$message .= "\r\n";
$message .= "Thanks again. If you have any questions or issues, please contact [email protected]. \r\n";
from ardupilot_wiki.
Related Issues (20)
- Replace references to APJ Tools HOT 2
- Add MTF-01 flow sensor setup instructions HOT 1
- Non-GPS navigation should have link to how to set the EKF origin HOT 3
- Document ROS 2 deployment to Pi4 HOT 1
- DJI RS2/RS3 should warn that RC yaw control does not support "follow" HOT 2
- SITL Simulator with ROS on Raspberry Pi HOT 2
- Dev: Setup the Build Environment on Windows could mention WSL-USB-GUI HOT 2
- Connecting AntennaTracker with GCS HOT 1
- SearchSONAR_FILTERED
- Dev: add details on to mavlink interface camera/gimbal page HOT 4
- update RTF frames HOT 2
- Planning a Mission with Waypoints and Events
- RTL Mode RTL_ALTITUDE typo HOT 1
- AP_Periph: clarify RNGFNDx_MIN/MAX parameters need to be set within the Periph device and the AP flight code HOT 1
- The Cube Orange/ With ADSB-In Overview
- Setup Fighter VTOL
- SearchAP_SBUS
- Changing the airfram
- License (GPLv3)
- Dual Helicopter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ardupilot_wiki.