1304 Commits

Author SHA1 Message Date
Tetrakern
f67cb79a6f Fix stories not being properly updated 2023-08-05 04:06:39 +02:00
Tetrakern
d403543548 Code sanity 2023-08-05 04:00:58 +02:00
Tetrakern
b3d73d05c6 Update DEVELOPMENT.md 2023-08-05 02:52:50 +02:00
Tetrakern
6eefab9fc3 Update _avatars.php 2023-08-05 02:45:20 +02:00
Tetrakern
8262a2c8c9 Remove superfluous purge function 2023-08-05 02:28:48 +02:00
Tetrakern
5a14a0a54c Some clean-up 2023-08-05 01:59:55 +02:00
Tetrakern
0d60ac8e1c Update cache purge helpers 2023-08-05 01:52:54 +02:00
Tetrakern
5d76fa4742 Bump version to 5.5.1 v5.5.1 2023-08-05 00:22:13 +02:00
Tetrakern
e3f85ea08e Fix fallback avatar and clean up code
One hour after the last release. This is why I do not believe in God.
2023-08-05 00:21:22 +02:00
Tetrakern
259e571cfa Remove expiration of word count Transient v5.5.0 2023-08-04 23:18:05 +02:00
Tetrakern
6031c62b5a Update DEVELOPMENT.md 2023-08-04 22:41:08 +02:00
Tetrakern
931c234eff Update documentation
And move a function around.
2023-08-04 22:40:02 +02:00
Tetrakern
8d07c80691 Restrict author role 2023-08-04 22:14:05 +02:00
Tetrakern
ebe9e12956 Bump version to 5.5.0 2023-08-04 13:48:45 +02:00
Tetrakern
2770f74168 Transient for main navigation
Unbelievable how many queries this thing needs...
2023-08-04 13:48:00 +02:00
Tetrakern
bfb78b7615 Rename data-target-id to data-nav-object-id
Should avoid possible conflicts in the future
2023-08-04 13:35:50 +02:00
Tetrakern
d592f65b8f Fix menu item data target ID 2023-08-04 13:34:44 +02:00
Tetrakern
9c8e0fa8cb Add some comments 2023-08-04 12:46:00 +02:00
Tetrakern
0a0bbd003b Improve sticky comments
This was disastrously inefficient, adding another query for each displayed comment! So this saves a ton!
2023-08-04 12:37:38 +02:00
Tetrakern
437af56478 Do not expire footer menu Transient
It is already purged when you update anything and this sets it to autoload, further improving performance.
2023-08-04 11:26:25 +02:00
Tetrakern
42b972e2fc Optimize post and latest-post partials
This saves a lot of queries.
2023-08-04 11:22:28 +02:00
Tetrakern
a70a80875e Clone main nav into mobile nav
Probably won't save queries, but it does save some microseconds render time! Yay?
2023-08-04 10:21:06 +02:00
Tetrakern
59817f946e Use fcntr for bookshelf link title
Saves another query, but makes renaming the thing a bit less convenient.
2023-08-04 09:57:48 +02:00
Tetrakern
4f0ca22c4d Remove console log command 2023-08-04 02:28:28 +02:00
Tetrakern
311d764a67 Fix search tracks in Firefox 2023-08-04 02:04:12 +02:00
Tetrakern
70b580ca89 Improve performance of story cards 2023-08-04 01:33:12 +02:00
Tetrakern
28ec154513 Update internal ACF to 6.1.8 2023-08-04 01:10:49 +02:00
Tetrakern
8bf1ab8a2d Account for page/post ID mismatch 2023-08-04 00:54:41 +02:00
Tetrakern
9525e27b82 Update DEVELOPMENT.md 2023-08-04 00:13:12 +02:00
Tetrakern
5c6022ff28 Better purging of cache Transients 2023-08-04 00:09:29 +02:00
Tetrakern
8ce5507925 Move page assignment links to options table 2023-08-03 23:51:04 +02:00
Tetrakern
f0b6c6d42d Update more doc comments 2023-08-03 20:41:37 +02:00
Tetrakern
d681de4fde Update some doc comments
Going for an unified style.
2023-08-03 20:39:31 +02:00
Tetrakern
adec4ea2a1 Cache footer menu as Transient
Unbelievable how many queries this thing needs.
2023-08-03 20:39:01 +02:00
Tetrakern
caa9e5e7ef Update DEVELOPMENT.md 2023-08-03 20:32:23 +02:00
Tetrakern
6f7df4fb9d Update footer.php 2023-08-03 20:29:19 +02:00
Tetrakern
ed260436cc Update DEVELOPMENT.md 2023-08-03 20:10:32 +02:00
Tetrakern
0fdbc4473b Update docs 2023-08-03 19:56:38 +02:00
Tetrakern
9ea007437c Add and use fictioneer_footer hook
Also clean up a bit.
2023-08-03 19:56:25 +02:00
Tetrakern
fefa1d762c Use null as ID on generated pages 2023-08-03 19:55:33 +02:00
Tetrakern
3e70278aac Add option to strip shortcodes for non-admins 2023-08-03 18:58:23 +02:00
Tetrakern
6b6b16ab5e Better assignment of post ID for current page 2023-08-03 17:03:48 +02:00
Tetrakern
c2f6058710 Update docs 2023-08-03 14:54:43 +02:00
Tetrakern
c92117e650 Improve collection statistics performance 2023-08-03 14:42:46 +02:00
Tetrakern
50c0cd10aa Small performance fixed 2023-08-03 13:18:57 +02:00
Tetrakern
9ed7e08868 Improve shortcode performance
Queries are cached as Transients for 5 Minutes, which is not much but help for high traffic that cannot be cached normally (e.g. logged-in users).
2023-08-03 13:17:57 +02:00
Tetrakern
35f88121c3 Add no_found_rows to query 2023-08-03 04:18:55 +02:00
Tetrakern
eb5196c07d Improve in-chapter chapter list performance 2023-08-03 03:11:16 +02:00
Tetrakern
8d46acab1d Bump version to 5.4.9 2023-08-02 15:00:11 +02:00
Tetrakern
e95cc82b79 Add two new settings
Limit chapter stories to author and append new chapters to story.
2023-08-02 14:56:59 +02:00