• Tetrakern released this 2024-02-10 20:21:10 +08:00 | 2291 commits to main since this release

    !!ATTENTION!! After updating, please hit the new [Legacy Cleanup] button under Fictioneer > Tools. This will migrate any SEO data you have and remove obsolete rows from your database (see the result under Fictioneer > Log). As always, clear caches afterwards and maybe force-refresh to clear the browser cache if things still look wrong.

    This was supposed to be 5.9.4, but then got out of hand. I opted not to release 5.9.4 in favor of a more comprehensive update, but the original purpose was to reduce the database size, widen various performance bottlenecks, and improve compatibility. You may even save up to 2 KB of RAM! Unrelated, the archive is now ~3 MB smaller.

    Please consider supporting me on Ko-fi if you like the theme.

    Highlight: Font Manager

    You read that right. You can now "easily" add or remove fonts and assign them to specific locations. The whole process is explained in the installation guide, but boils down to a configuration folder uploaded to a child theme; or Google Fonts if you do not care about violating the GDPR. Several ready-made fonts can be found under /repo/fonts, currently including: Noto Sans, Noto Sans Japanese, Noto Sans Korean, Noto Sans Simplified/Traditional Chinese, Special Elite, and... Verdana.

    If you have previously customized the fonts yourself, this may or may not still work. If you get errors or fonts stop working, you will know why. In any case, it is recommended to switch to the new method for compatibility.

    image

    Release Notes:

    • Fixed: Author statistics now also count the words of story posts
    • Fixed: Undefined variable error in SEO image function
    • Fixed: Null param error in pagination str_replace() call
    • Fixed: PHP Warning in Fast AJAX pipeline due to missing taxonomy registrations
    • Fixed: Order and orderby parameters will now work properly in shortcodes
    • Fixed: Spoilers will now be visible in print view
    • Improved: Added additional meta and Transient caching for better performance
    • Improved: Refactored SEO meta fields and reduced them from 3-6 to 1-2
    • Improved: Updated the pre-made genre and tag JSONs
    • Improved: Refactored, cleaned up, and reduced JavaScript files
    • Improved: Additional client-side error messages for more clarity if something goes wrong
    • Improved: AJAX comment form will now also include the nonce for better cache compatibility
    • Improved: Updated all theme fonts to latest versions, extended charsets, and improved some font-faces
    • Improved: Reduced reliance on output buffers on the frontend to 23 from previously 106
    • Improved: Bookmarks will now use the browser's language to localize date strings
    • New: Added Legacy Cleanup tool function
    • New: Options to disable extended meta queries, favoring database speed over size (debatable)
    • New: Option to count characters instead of words (for logographic writing systems)
    • New: Option to multiply the displayed word count with a modifier (for approximations)
    • New: Customizer options to change theme fonts in strategic locations
    • New: Added Font Mangager

    • Dev: Added 'fictioneer_filter_font_data' filter
    • Dev: Added 'fictioneer_filter_pre_build_bundled_fonts' filter
    • Dev: FICTIONEER_POST_NOT_IN_LIMIT is now FICTIONEER_QUERY_ID_ARRAY_LIMIT
    • Dev: FICTIONEER_PRIMARY_FONT_CSS now defaults to 'primary_font_family_value' theme mod
    • Dev: FICTIONEER_PRIMARY_FONT_NAME now defaults to 'primary_font_family_value' theme mod
    • Dev: fictioneer_output_head_meta() has been split up...
    • Dev: ... the old fictioneer_output_head_fonts() is now fictioneer_output_critical_fonts()
    • Dev: ... the new fictioneer_output_head_fonts() now prints all font-related code as hooked action
    • Dev: ... bundled-fonts.css will now be compiled from available fonts and stored in /fictioneer/cache/
    • Dev: Updated several translations for clarity and added context to some
    Downloads