Skip to content

Commit

Permalink
Change capability.
Browse files Browse the repository at this point in the history
  • Loading branch information
fumikito committed May 30, 2024
1 parent ff191f5 commit 478ba28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/TaroSitemapAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ protected function init() {
* @return void
*/
public function add_menu() {
add_submenu_page( 'tools.php', __( 'Exclusive Sitemap', 'ts-esm' ), __( 'Exclusive Sitemap', 'ts-esm' ), 'manage_options', $this->slug, [ $this, 'render' ] );
add_submenu_page( 'tools.php', __( 'Exclusive Sitemap', 'ts-esm' ), __( 'Exclusive Sitemap', 'ts-esm' ), 'edit_others_posts', $this->slug, [ $this, 'render' ] );
}

/**
Expand Down

0 comments on commit 478ba28

Please sign in to comment.