sensei
sensei copied to clipboard
Retrieve data from native WordPress
Hello,
I'm Sebastien from Polylang Pro helpdesk. We have several common customer/user and they fall in an error with Sensei LMS lessons and Polylang Pro.
We're adding in the WordPress block editor a custom metabox to allow our customer managing the CPT languages. Actually, your code is overriding default WordPress data we're using.
This PR retrieve the WordPress method to merge them with your data.
Thank you
Codecov Report
Merging #5855 (546f8fe) into trunk (4b6d6a2) will decrease coverage by
0.00%. The diff coverage is15.00%.
@@ Coverage Diff @@
## trunk #5855 +/- ##
============================================
- Coverage 44.38% 44.37% -0.01%
Complexity 9046 9046
============================================
Files 441 441
Lines 32390 32393 +3
Branches 274 274
============================================
Hits 14376 14376
- Misses 17809 17812 +3
Partials 205 205
| Impacted Files | Coverage Δ | |
|---|---|---|
| includes/class-sensei-settings.php | 6.94% <0.00%> (ø) |
|
| ...ncludes/course-theme/class-sensei-course-theme.php | 19.66% <0.00%> (-0.34%) |
:arrow_down: |
| ...t-api/class-sensei-rest-api-lessons-controller.php | 8.95% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 27edc60...546f8fe. Read the comment docs.
Hello @sebastienserre this is solved in the latest release. Here is the PR. Let us know if you need anything else.