व्यवस्था रजिस्टर प्लस प्लग समस्याओं 2.7 WordPress के लिए आगे बढ़ के बाद
हम सब शायद प्लगइन के साथ परिचित काफी उपयोगी रजिस्टर प्लस .
WordPress के 2.7 संस्करण के लिए संक्रमण के बाद, कई समस्याओं additive के थे;
- पंजीकरण पासवर्ड शक्ति परीक्षण का काम नहीं करता है.
- Common.js फ़ाइल समस्या (निर्देशिका wp-admin/js). GetAllUserSettings (समारोह): userSettings चर परिभाषित नहीं है.
- के बाद आप कस्टम छवि अपलोड - व्यक्तिगत रूप से कनेक्ट / Lharsh फ़ाइल अब और काम नहीं करता है.
मॉड डेवलपर्स शायद "भूल" संस्करण 2.7 एक श्रृंखला पैच लेने, हालांकि कई महीनों अच्छा बीत चुके हैं.
WordPress के समुदाय के लिए धन्यवाद इन समस्याओं (क्रेडिट के लिए एक समाधान है MarQ_ZA - वैल Mdvaldosta समाधान).
संशोधन पासवर्ड समस्या ताकत की जाँच -
रजिस्टर plus.php निर्देशिका / / wp-content/plugins/register-plus में फ़ाइल खोलें, और निम्न वर्ग के लिए देखो:
if ( strength == pwsL10n.bad ) {
jQuery(res).addClass('bad');
jQuery(res).html( pwsL10n.bad );
}
else if ( strength == pwsL10n.good ) {
jQuery(res).addClass('good');
jQuery(res).html( pwsL10n.good );
}
else if ( strength == pwsL10n.strong ) {
jQuery(res).addClass('strong');
jQuery(res).html( pwsL10n.strong );
}
else {
// this catches 'Too short' and the off chance anything else comes along
jQuery(res).addClass('short');
jQuery(res).html( pwsL10n.short );
}
לאחר שמצאתם את המקטע, החליפו אותו בקוד הבא:
if ( strength == 2 ) {
jQuery(res).addClass('bad');
jQuery(res).html( pwsL10n.bad );
}
else if ( strength == 3 ) {
jQuery(res).addClass('good');
jQuery(res).html( pwsL10n.good );
}
else if ( strength == 4 ) {
jQuery(res).addClass('strong');
jQuery(res).html( pwsL10n.strong );
}
else {
// this catches 'Too short' and the off chance anything else comes along
jQuery(res).addClass('short');
jQuery(res).html( pwsL10n.short );
}
תיקון הבעיה בקובץ commen.js -
פתחו את הקובץ commen.js הנמצא בתקייה /wp-admin/js/ , וחפשו את המקטע הבא:
// Returns all settings as js object.
function getAllUserSettings() {
return wpCookies.getHash('wp-settings-'+userSettings.uid) || {};
}
והחליפו אותו בקוד הבא:
// Returns all settings as js object.
function getAllUserSettings() {
if (typeof(userSettings) == 'undefined')
{
return {};
}
else
{
return wpCookies.getHash('wp-settings-'+userSettings.uid) || {};
}
}
תיקון בעיית העלאת לוגו מותאם-אישית -
פתחו את הקובץ register-plus.php הנמצא בתקייה /wp-content/plugins/register-plus/ , וחפשו את השורה הבאה:
$upload_dir = ABSPATH . get_option('upload_path');
והחליפו בשורה הבאה:
$upload_dir = get_option('upload_path');
בהצלחה









































