1459 Commits

Author SHA1 Message Date
Tetrakern
869c55741e Prepare comment for fast AJAX
At least some actions, because others require actions and filters.
2023-08-21 00:57:03 +02:00
Tetrakern
f5d95392d2 Improve story comment count refresh
Do not update the meta and purge the cache if nothing changed!
2023-08-21 00:13:50 +02:00
Tetrakern
dbd7e431b2 Fix Discord webhooks 2023-08-20 23:37:44 +02:00
Tetrakern
4e7744b67d Add fast AJAX feature, apply to follows
60-80 % speed boost!
2023-08-20 22:21:13 +02:00
Tetrakern
db151eea1a Account for ongoing AJAX in card lists 2023-08-20 22:04:11 +02:00
Tetrakern
110b024e63 Check for ABSPATH in template parts
Probably overkill but oh well...
2023-08-20 20:21:48 +02:00
Tetrakern
92e85fdd0c Some cleanup in _search.php 2023-08-20 20:05:56 +02:00
Tetrakern
7ced7108df Separate concerns into _post_updates.php 2023-08-20 17:32:07 +02:00
Tetrakern
d3ee427994 Generate sitemap last
In case there are more updates chained to the hook.
2023-08-20 17:31:20 +02:00
Tetrakern
fd63d4b318 There is always more to clean up 2023-08-20 17:31:07 +02:00
Tetrakern
2e44d654f4 Add utility to add s/t/u/d actions
Makes everything a bit more tidy.
2023-08-20 16:32:35 +02:00
Tetrakern
b5a037183c Some more cleanup work 2023-08-20 16:25:12 +02:00
Tetrakern
bf0d21ad98 Clean up _checkmarks.php 2023-08-20 15:58:13 +02:00
Tetrakern
aec4435362 Clean up _reminders.php 2023-08-20 15:51:57 +02:00
Tetrakern
52deb1e114 Clean up _follows.php 2023-08-20 15:51:46 +02:00
Tetrakern
6c73c41040 Fix AJAX card lists being always empty
Well, crap.
2023-08-20 15:36:38 +02:00
Tetrakern
a17d6c6d1f Even more code clean-up 2023-08-20 06:14:17 +02:00
Tetrakern
3f8d7b9550 Fix comment v5.6.2 2023-08-20 01:19:44 +02:00
Tetrakern
ad16200568 Remove empty files 2023-08-20 01:18:00 +02:00
Tetrakern
37ba9480d4 Clean up some more comments 2023-08-20 01:12:49 +02:00
Tetrakern
306c24d5d3 Eliminate ping- and trackbacks 2023-08-20 00:12:47 +02:00
Tetrakern
b4d20aa0b3 Cleaned up some comments 2023-08-19 22:30:40 +02:00
Tetrakern
1f9ca9ecd9 Update custom story pages
Now honors unpublished posts -- by not showing them! And apparently, passwords work on these pages, although only one can be unlocked at a time. Who knew?
2023-08-19 22:19:40 +02:00
Tetrakern
da86a09ca3 Remove custom chapter warning color
Honestly, that was a dumb idea to add, what was I thinking?
2023-08-19 22:06:33 +02:00
Tetrakern
17f78df3e7 Add and apply fcn_classic_editor cap 2023-08-19 20:49:47 +02:00
Tetrakern
54a57117c6 Update fictioneer_see_some_evil() 2023-08-19 20:35:36 +02:00
Tetrakern
4a01f70e18 Ignore sticky posts in featured list of blogs 2023-08-19 20:24:36 +02:00
Tetrakern
6763400199 Make img consent button type button
Funny, this could accidentally submit form. Haha -.-
2023-08-19 20:13:11 +02:00
Tetrakern
d40eab8ca6 Improve fcn_select_page_template cap
Does now also prevent the parent and order from being updated.
2023-08-19 20:05:46 +02:00
Tetrakern
6797895ff0 Clean up admin.js 2023-08-19 19:43:48 +02:00
Tetrakern
6e577b4b43 Hide sticky checkbox in new posts too 2023-08-19 19:14:38 +02:00
Tetrakern
dc8a5f7bdc Hide ePUB metabox if disabled 2023-08-19 19:03:03 +02:00
Tetrakern
42878bd90b Simplify ACF field removal 2023-08-19 18:11:06 +02:00
Tetrakern
d0c47890bc Update ACF group jsons 2023-08-19 18:09:22 +02:00
Tetrakern
2fc463e7cf Improve fcn_select_page_template cap
Now this is far better! Instead of overriding a previous update, not knowing what it was before, left an angle of abuse. This just stops the update altogether!
2023-08-19 16:07:40 +02:00
Tetrakern
53f7b2185b Move unfiltered_html cap to admin role section
This can be considered dangerous, yes.
2023-08-19 14:40:19 +02:00
Tetrakern
b419f2903e Clean ups and optimizations 2023-08-19 13:33:25 +02:00
Tetrakern
d5ce5567d8 Rename functions to
fictioneer_addClassesToAdminBody and fictioneer_addClassesToBody to snake case.
2023-08-19 12:05:39 +02:00
Tetrakern
e7b613b75d Update DEVELOPMENT.md 2023-08-19 12:04:36 +02:00
Tetrakern
d168c6b384 Move role init to admin_init
This should happen in the admin only.
2023-08-19 04:57:12 +02:00
Tetrakern
e1781889e8 Bump version to 5.6.1 2023-08-19 04:54:36 +02:00
Tetrakern
a0156741d6 Fix role initialization
And add missing capability to editors.
2023-08-19 04:53:52 +02:00
Tetrakern
3f9a552784 Bump version to 5.6.1 v5.6.1 2023-08-19 03:58:45 +02:00
Tetrakern
b0f01dc051 Disable block-templates
ewfgbpojsjkewlqfdsovhiudsaköofnwajkl gbvjafkdsvhfjkdqldfbjweoknvökolsdf
2023-08-19 03:50:57 +02:00
Tetrakern
1c239bca8d Update restriction of page templates 2023-08-19 03:23:29 +02:00
Tetrakern
c41ed27cc1 Fix save error when editing others posts 2023-08-19 02:59:07 +02:00
Tetrakern
3c447579db Update contributor default caps 2023-08-19 01:41:47 +02:00
Tetrakern
31a13ada4b Fix pre_get_posts conditions v5.6.0 2023-08-18 23:58:59 +02:00
Tetrakern
10fd399e31 Add story filter to chapter list view 2023-08-18 23:48:25 +02:00
Tetrakern
d394121a64 Make add_editor_style path relative
It worked before but was not necessary.
2023-08-18 23:48:02 +02:00