Skip to content

Commit

Permalink
fix: allowed pages for institutional manager (#189)
Browse files Browse the repository at this point in the history
* fix: allowed pages for institutional manager

* chore(l10n): update pot file

---------

Co-authored-by: GitHub Actions <actions@github.com>
  • Loading branch information
arzola and actions-user committed Jul 17, 2024
1 parent f6691bb commit 430be90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions languages/pressbooks-multi-institution.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GPL v3 or later.
msgid ""
msgstr ""
"Project-Id-Version: Pressbooks Shared Network 1.0.1\n"
"Project-Id-Version: Pressbooks Shared Network 1.0.2\n"
"Report-Msgid-Bugs-To: https://github.com/pressbooks/pressbooks-multi-institution/issues\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-07-11T15:45:16+00:00\n"
"POT-Creation-Date: 2024-07-17T18:17:48+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.10.0\n"
"X-Domain: pressbooks-multi-institution\n"
Expand Down
2 changes: 1 addition & 1 deletion src/Support/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function get_allowed_pages(): array
'sites.php' => ['confirm', 'delete', 'pb_network_analytics_booklist', 'pb_network_analytics_userlist', 'pb_network_analytics_admin', 'pb_cloner','activateblog','deactivateblog', 'deleteblog'],
'index.php' => ['', 'book_dashboard', 'pb_institutional_manager', 'pb_home_page', 'pb_catalog','pb_network_page'],
'tools.php',
'users.php' => ['deleteuser','dodelete'],
'users.php' => ['deleteuser','dodelete','user_bulk_new','pb_network_analytics_userlist'],
'admin-ajax.php',
'options-general.php',
'profile.php' => [''],
Expand Down

0 comments on commit 430be90

Please sign in to comment.