Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Bugs caused without WPML installed

$
0
0

Replies: 0

Today we updated from 03.02.2019 to 28.05.2019 (Current). While testing noticed some problems.

1.) When clicking ‘manage account’ from booking confirmation email, user is sent to Base URL and not ‘Booking My Account’ page.

2.) Clicking ‘Reschedule’ from ‘Booking My Account’ page results in blank html page with text: “0”.

3.) ‘Reschedule’ button is a new feature but misleading to English users.

Solutions to bugs described above:

1.) Function SLN_Func::get_translated_page_id() will not work on WordPress installations that do not have WPML installed. Three pages are located using this function which results in several problems. (pages: bookingmyaccount, thankyou, pay). I solved this by replacing the function calls with get_page_by_title().

2.) getPayPageId() calls get_translated_page_id(). Once fixed as described as above, ‘Reschedule’ button works as described.

3.) I understand that I can fix this using translation file to update string. ‘Re-schedule’ in English means to change an existing reservations time and date. This may cause confusion for new plugin installations. A better phrase for this button would be ‘Book Again’.


Viewing all articles
Browse latest Browse all 59525

Trending Articles