Plugin rewrote
v.3.6.2
- [bug] on some configurations, the creations of cache folder could lead to a fatal error. Switched $wp_system functions to PHP core functions in class-settings.
v.3.6.1
- [bug] error upon activation, class-utils was the culprit
v.3.6
- [feature] Massive cleaning of the code, plugin rewritten for perfomance and maintainability. Code is linted using PHPCS, PHPMD and PHPStan. Faster, more secure and more stable plugin.
- [feature] Uninstall process properly implemented. Lumière doesn't rely on WordPress deactivation function anymore for removing its options, taxonomy and cache. Properly deletes taxonomy in database.
- [technical] Removed imdbsearchdirect, blog_adress option, imdbwidgetonpost, imdbimgdir, imdb_utf8recode, imdbwebsite, imdbwidgetonpage in settings class.
- [technical] New way to deal with debug logging; class/function origin of the log fully implemented
- [technical] Taxonomy for director is set on active by default.
- [technical] Using PHP traits and classes for maintainability and readability purposes.
- [technical] Using only checkboxes in admin.
- [technical] All Lumière scripts are loaded in footer for the sake of performances.
- [technical] Taxonomy template copying in admin now detects if a new template version has been released.
- [bug] Debug/log functions, when activated, prevented from saving posts in block editor. Debugging and logging rewritten, checking the current page before showing log/debug on screen.
- [bug] Tags, should they exist, were not displayed in template taxonomy people.
- [bug] Several functions in popup movie did not return an internal link to another popup, but a unlinked text (sanitized text) instead.
- [bug] In actors summary in person popup, the role could link to a useless imdb link. Rewritten the function, no link at all is now displayed.
- [bug] Display of the soundtracks in articles/widgets did not show the soundtrack title
- [bug] Biography in articles/widgets and popups was truncated. Regex rule was broken.
- [bug] Saving Popup width and height options in admin was broken
- [bug] Thumbnail option was not modifying the poster sizes. Now it does in the articles, widget and popups. In admin, ticking the option was providing the width selection, while it was the opposite behaviour that what expected.
- [bug] Data details: Runtime, user comment and source were missing in admin and thus could not be selected.
- [bug] Updates were not running upon updates (only upon activation)
- [bug] Cronjobs were not throwing debugging text. Added DOING_CRON as new condition in settings class lumiere_maybe_log() & utils class lumiere_activate_debug()
- [bug] Various bugs in people taxonomy template, polylang integration was not working as expected. New template version 3.0 released.
- [bug] Taxonomy template item was buggy. Rewritten as a class.
- [bug] Removed imdbtaxonomytitle, a taxonomy option that wasn't used anymore. Titles can't be taxonomised, no need for such an option.
- [bug] Stylesheets and javascripts were missing a "min" suffix in their names.
- [bug] Stylesheets and javascripts were not loaded in admin pages for new installs. Changed conditions in Core class function lumiere_execute_admin_assets()
- [bug] Number of updates not correctly initialised on new install. Fixed the function in class Settings.
- [bug] Popup movie error in displaying data when utilised as a searching popup. Removed imdbsearchdirect condition, cleaned the class, fixed html.
- [bug] flush_rewrite_rules() when adding a new taxonomy page was buggy. Now it is triggered both when saving and and visiting taxonomy options page.
- [bug] Internal popups links for composer were not created. Fixed regex in lumiere_convert_txtwithhtml_into_popup_people() in class movie.
- [bug] External links in plots were (sometimes) not created. Removed escaping plot in lumiere_movies_plot()
- [bug] Two iterations were made in the widget class per widget movie. Removed the useless loop.