167 Commits

Author SHA1 Message Date
Tetrakern
413e87a61e Properly gate unpublished posts
And associated chapters. I hope this is the last iteration.
2023-08-17 21:30:42 +02:00
Tetrakern
5deeb29991 Hide invisible posts in public caches 2023-08-17 16:38:22 +02:00
Tetrakern
96c69d1f7c Improve fictioneer_multi_save_guard
Should now only fire the first trigger with the correct parameters (updated, etc.) depending on whether the block editor is used or not.
2023-08-17 10:39:00 +02:00
Tetrakern
a5e0bd8b4f Fix and improve capability hooks 2023-08-17 10:16:35 +02:00
Tetrakern
d1f460d61b Safety checks for capabilities
Make sure this does not hit unintended posts or queries!
2023-08-17 03:01:32 +02:00
Tetrakern
ae42949a44 Fix missing sticky metafield
For real this time!
2023-08-17 02:20:55 +02:00
Tetrakern
a7f6f5c073 Fix missing meta field
Without the field, the story will not be queried. And updating the meta query is expensive.
2023-08-17 02:11:37 +02:00
Tetrakern
d06625564c Fix caps for templates and shortcodes
Those had previously affected every single associated page lol
2023-08-17 00:25:42 +02:00
Tetrakern
54b28ea445 Update DEVELOPMENT.md 2023-08-16 17:53:22 +02:00
Tetrakern
694463ed0f Change some hooks 2023-08-16 17:52:42 +02:00
Tetrakern
e54784dff5 Hide story pages if role lacks caps 2023-08-15 20:16:15 +02:00
Tetrakern
90116227bd Remove overkill restrictions
This literally just sorted blocks into categories.
2023-08-15 19:59:03 +02:00
Tetrakern
a9b1538c61 Improve fcn_all_blocks 2023-08-15 17:20:40 +02:00
Tetrakern
144db410b0 Update DEVELOPMENT.md 2023-08-15 12:45:35 +02:00
Tetrakern
9d08978028 Update DEVELOPMENT.md 2023-08-15 12:22:22 +02:00
Tetrakern
6b222970bb Unsticky the post sticky 2023-08-14 23:40:52 +02:00
Tetrakern
9357f5e3c3 Reduce ACF TinyMCE 2023-08-14 20:23:41 +02:00
Tetrakern
3cc5d7dfc1 Renaming for roles 2023-08-14 18:33:33 +02:00
Tetrakern
db04e136d7 Improve nav menu Transient purging 2023-08-13 15:36:16 +02:00
Tetrakern
c55c906f0b Update DEVELOPMENT.md 2023-08-13 15:32:55 +02:00
Tetrakern
192a2f2a3a Add file upload restrictions 2023-08-13 15:05:54 +02:00
Tetrakern
896517df19 Fix media library list view ignoring caps 2023-08-12 23:30:20 +02:00
Tetrakern
6182c0e88c Add and apply fcn_make_sticky 2023-08-12 20:45:00 +02:00
Tetrakern
2587479cc9 Apply new ACF field capabilities 2023-08-12 20:27:51 +02:00
Tetrakern
f7483d472b Update DEVELOPMENT.md 2023-08-12 17:48:12 +02:00
Tetrakern
c608a91a79 Update DEVELOPMENT.md 2023-08-12 15:48:01 +02:00
Tetrakern
d12af16f6f Apply caps to default taxonomies 2023-08-12 15:46:50 +02:00
Tetrakern
8a96b85c12 Update DEVELOPMENT.md 2023-08-11 23:05:39 +02:00
Tetrakern
6559bba251 Add and apply fcn_reduced_profile cap
Applied to subscribers by default
2023-08-11 22:07:04 +02:00
Tetrakern
1e641e72de Improve moderate_comments cap 2023-08-11 20:26:36 +02:00
Tetrakern
bc29237f92 Apply fcn_privacy_clearance cap 2023-08-11 12:45:23 +02:00
Tetrakern
e95b4c8ede Fix capability condition 2023-08-11 12:34:22 +02:00
Tetrakern
58b6955421 Restore author role 2023-08-11 12:17:15 +02:00
Tetrakern
610952f9be Restore contributor role 2023-08-11 12:10:34 +02:00
Tetrakern
5ba07768c5 Restore default editor role 2023-08-11 12:06:38 +02:00
Tetrakern
2f44626e25 Apply fcn_edit_others_files cap 2023-08-11 11:51:26 +02:00
Tetrakern
fb2b48cc22 Apply fcn_edit_others_files cap 2023-08-11 11:39:41 +02:00
Tetrakern
0a288f5993 Rename function 2023-08-11 11:13:06 +02:00
Tetrakern
e84a2298e0 Apply fcn_read_others_files cap 2023-08-11 11:10:20 +02:00
Tetrakern
ef6968df53 Apply fcn_shortcodes cap 2023-08-11 03:17:09 +02:00
Tetrakern
f51fac05fd Apply update_core and manage_options caps 2023-08-11 02:31:38 +02:00
Tetrakern
64724efd09 Improve moderate_comments cap 2023-08-11 01:51:00 +02:00
Tetrakern
abb8cb864b Improve dashboard restrictions 2023-08-11 01:47:07 +02:00
Tetrakern
95663d37be Improve moderate_comments 2023-08-11 01:42:09 +02:00
Tetrakern
88dfb71f09 Apply more caps
fcn_dashboard_access and fcn_select_page_template
2023-08-11 01:35:34 +02:00
Tetrakern
5891892d4a Apply fcn_admin_panel_access cap 2023-08-10 22:46:40 +02:00
Tetrakern
dd6bdf730a Update docs 2023-08-09 23:43:59 +02:00
Tetrakern
d66d708637 Also restrict page comments 2023-08-09 19:19:16 +02:00
Tetrakern
66be5590eb Option to restrict uploaders to their own files 2023-08-09 18:54:29 +02:00
Tetrakern
e34362741d Restrict comments column in admin tables
Only for those with the right capabilities.
2023-08-09 18:09:48 +02:00