Bug with double slash breaks icon links in instructing course (profile)

Home Forums Legacy Support Support queries Other issues Bug with double slash breaks icon links in instructing course (profile)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #195036
    waytogo_693
    Participant
    There is a bug where double slashes in the URL breaks the link of all the icons of each course in the section course => instructing courses in the user/teacher profile. You get something like that: domain.tld/course/software-training//admin/stats The bug is in the file: <span style="caret-color: #151b26; color: #151b26; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; white-space: pre-wrap;">plugins/vibe-course-module/includes/bp-course-functions.php</span> Please fix it in the next update, so that we don't have to hardcode it again. Thanks
    #195268
    Anshuman Sahu
    Keymaster
    Could you please point out the exact line number and where the link is breaking in order to check and fix it properly in upcoming update ?
    #195301
    waytogo_693
    Participant
    You can find the bug in line 3496 in the file: plugins/vibe-course-module/includes/bp-course-functions.php (WPLMS 3.7 but in 3.9 there is still the bug but you changed that file and it is line 1749 I guess) I would like to post the changes here but it is impossible to post the code, even if I switch to text mode and use the code tag. We added the untrailingslashit before the get permalink: ... .untrailingslashit(get_permalink($course_id)).$extend_submissions ...  
    #195585
    Anshuman Sahu
    Keymaster
    okay added the suggested fix  in the upcomiong update of vibe corse module plguin .
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Bug with double slash breaks icon links in instructing course (profile)’ is closed to new replies.