LearnPress

Release-by-release breaking change history · 70k+ active installs

MEDIUM RISK

4.4.4 → 4.4.5

Medium risk: 12 changed templates, 10 removed classes, 7 hook signature changes.

  • The action learn-press/admin/after-page-content-sections now passes 2 argument(s) instead of 3. Callbacks expecting the extra arguments will receive null.
  • The action learn-press/admin/before-page-content-sections now passes 2 argument(s) instead of 3. Callbacks expecting the extra arguments will receive null.
  • The action learn-press/admin/enrolled-students/layout is no longer fired. Any code hooked to it stops running silently.
  • The action learn-press/admin/page-content-sections now passes 0 argument(s) instead of 1. Callbacks expecting the extra arguments will receive null.
  • The action learn-press/update-settings/updated now passes 0 argument(s) instead of 1. Callbacks expecting the extra arguments will receive null.
  • The filter learn-press/admin/enrolled-students/toolbar/section now passes 3 argument(s) instead of 4. Callbacks expecting the extra arguments will receive null.
  • The filter learn-press/admin/menu-items is no longer fired. Any code hooked to it stops running silently.
  • The filter learn-press/admin/page-statistic-tabs is no longer fired. Any code hooked to it stops running silently.
  • The filter learn-press/admin/submenu-has-sections now passes 3 argument(s) instead of 4. Callbacks expecting the extra arguments will receive null.
  • The filter learn-press/statistics/cache-ttl is no longer fired. Any code hooked to it stops running silently.
  • The filter learn-press/statistics/tab-view is no longer fired. Any code hooked to it stops running silently.
  • The filter learn-press/update-settings/redirect now passes 1 argument(s) instead of 2. Callbacks expecting the extra arguments will receive null.
  • The function learn_press_sort_course_tabs() was removed. Direct calls from a theme or another plugin will fatal.
  • The function learn_press_sort_list_by_priority_callback() was removed. Direct calls from a theme or another plugin will fatal.
  • The class LP_Install_Sample_Data was removed. Code that instantiates or extends it will fatal.
  • LP_Setup_Wizard::create_pages() was removed.
  • LP_Setup_Wizard::get_price_format() was removed.
  • The class LP_Submenu_Addons was removed. Code that instantiates or extends it will fatal.
  • The class LP_Submenu_Categories was removed. Code that instantiates or extends it will fatal.
  • The class LP_Submenu_Settings was removed. Code that instantiates or extends it will fatal.
  • The class LP_Submenu_Statistics was removed. Code that instantiates or extends it will fatal.
  • The class LP_Submenu_Students_Enrolled was removed. Code that instantiates or extends it will fatal.
  • The class LP_Submenu_Tags was removed. Code that instantiates or extends it will fatal.
  • The class LP_Submenu_Themes was removed. Code that instantiates or extends it will fatal.
  • The class LP_Submenu_Tools was removed. Code that instantiates or extends it will fatal.
  • The class LearnPress\Statistics\StatisticsCache was removed. Code that instantiates or extends it will fatal.
  • LearnPress\Statistics\StatisticsScope::signature() was removed.
  • The template inc/TemplateHooks/Admin/AdminListStudentsEnrolled.php changed. Any theme override of it is now out of date and will miss the change.
  • The template inc/TemplateHooks/Admin/AdminStatisticsReportTable.php changed. Any theme override of it is now out of date and will miss the change.
  • The template inc/TemplateHooks/Admin/AdminTemplate.php changed. Any theme override of it is now out of date and will miss the change.
  • The template inc/TemplateHooks/Course/AdminEditSettingTemplate.php changed. Any theme override of it is now out of date and will miss the change.
  • The template inc/TemplateHooks/CourseBuilder/Course/BuilderEditCourseTemplate.php changed. Any theme override of it is now out of date and will miss the change.
  • The template inc/TemplateHooks/Profile/ProfileStudentEnrolledTemplate.php changed. Any theme override of it is now out of date and will miss the change.
  • The template inc/admin/views/addons/html-loop-theme.php changed. Any theme override of it is now out of date and will miss the change.
  • The template inc/admin/views/meta-boxes/lesson/settings.php changed. Any theme override of it is now out of date and will miss the change.
  • The template inc/admin/views/setup/setup-paypal.php changed. Any theme override of it is now out of date and will miss the change.
  • The template inc/admin/views/setup/steps/pages.php changed. Any theme override of it is now out of date and will miss the change.
  • The template inc/admin/views/tools/course/html-install-sample-data.php changed. Any theme override of it is now out of date and will miss the change.
  • The template inc/lp-template-functions.php changed. Any theme override of it is now out of date and will miss the change.
  • New external hostnames appear in this release: help.thimpress.com, www.youtube.com.
MEDIUM RISK

4.4.3 → 4.4.4

Medium risk: 2 changed templates, 1 method signature change, 1 removed method.

  • LearnPress\AI\Assistant\Agent::run() now requires more arguments than before.
  • LearnPress\Services\OpenAiService::handle_params_for_send_completion_legacy() was removed.
  • The template inc/TemplateHooks/Admin/AI/AdminEditWithAITemplate.php changed. Any theme override of it is now out of date and will miss the change.
  • The template inc/TemplateHooks/Course/CourseAIAssistantTemplate.php changed. Any theme override of it is now out of date and will miss the change.