File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88## [ Unreleased]
99
1010- TMS-1237: Add a custom Google Translate functionality to navigation
11+ - Remove delete site-link from wp-admin
1112
1213## [ 1.72.0] - 2026-04-12
1314
Original file line number Diff line number Diff line change @@ -485,6 +485,9 @@ private function modify_admin_caps() : void {
485485 'themes.php ' ,
486486 'customize.php ' ,
487487 ],
488+ 'tools.php ' => [
489+ 'ms-delete-site.php ' ,
490+ ],
488491 ] );
489492
490493 $ role = apply_filters ( 'tms/roles/admin ' , $ role );
@@ -539,6 +542,9 @@ private function modify_editor_caps() : void {
539542 'themes.php ' ,
540543 'customize.php ' ,
541544 ],
545+ 'tools.php ' => [
546+ 'ms-delete-site.php ' ,
547+ ],
542548 ] );
543549
544550 $ role ->add_caps ( $ this ->tablepress_all_capabilities );
@@ -590,6 +596,9 @@ private function modify_author_caps() : void {
590596 'themes.php ' ,
591597 'customize.php ' ,
592598 ],
599+ 'tools.php ' => [
600+ 'ms-delete-site.php ' ,
601+ ],
593602 ] );
594603
595604 $ role ->remove_caps ( $ this ->remove_from_all );
You can’t perform that action at this time.
0 commit comments