Browse Source

Docs - Align spelling of 'subpages' to be consistent with rest of docs

LB 4 months ago
parent
commit
a562d4db6a
4 changed files with 4 additions and 4 deletions
  1. 1 1
      CHANGELOG.txt
  2. 1 1
      docs/advanced_topics/privacy.md
  3. 1 1
      docs/releases/0.8.rst
  4. 1 1
      wagtail/admin/userbar.py

+ 1 - 1
CHANGELOG.txt

@@ -4132,7 +4132,7 @@ Changelog
  * Fix: Fixed TypeError when getting embed HTML with oembed on Python 3 (John-Scott Atlakson)
  * Fix: Made HTML whitelisting in rich text fields more robust at catching disallowed URL schemes such as "jav\tascript:" (Tim Heap)
  * Fix: created_at timestamps on page revisions were not being preserved on page copy, causing revisions to get out of sequence
- * Fix: When copying pages recursively, revisions of sub-pages were being copied regardless of the copy_revisions flag
+ * Fix: When copying pages recursively, revisions of subpages were being copied regardless of the copy_revisions flag
  * Fix: Updated the migration dependencies within the project template to ensure that Wagtail's own migrations consistently apply first.
  * Fix: The cache of site root paths is now cleared when a site is deleted.
  * Fix: Search indexing now prevents pages from being indexed multiple times, as both the base Page model and the specific subclass

+ 1 - 1
docs/advanced_topics/privacy.md

@@ -2,7 +2,7 @@
 
 # Private pages
 
-Users with publish permission on a page can set it to be private by clicking the 'Privacy' control in the top right corner of the page explorer or editing interface. This sets a restriction on who is allowed to view the page and its sub-pages. Several different kinds of restrictions are available:
+Users with publish permission on a page can set it to be private by clicking the 'Privacy' control in the top right corner of the page explorer or editing interface. This sets a restriction on who is allowed to view the page and its subpages. Several different kinds of restrictions are available:
 
 -   **Accessible to any logged-in users:** The user must log in to view the page. All user accounts are granted access, regardless of permission level.
 -   **Accessible with a shared password:** The user must enter the given shared password to view the page. This is appropriate for situations where you want to share a page with a trusted group of people, but giving them individual user accounts would be overkill. The same password is shared between all users, and this works independently of any user accounts that exist on the site.

+ 1 - 1
docs/releases/0.8.rst

@@ -37,7 +37,7 @@ Bug fixes
 * Fixed TypeError when getting embed HTML with oembed on Python 3
 * Made HTML whitelisting in rich text fields more robust at catching disallowed URL schemes such as ``jav\tascript:``
 * ``created_at`` timestamps on page revisions were not being preserved on page copy, causing revisions to get out of sequence
-* When copying pages recursively, revisions of sub-pages were being copied regardless of the ``copy_revisions`` flag
+* When copying pages recursively, revisions of subpages were being copied regardless of the ``copy_revisions`` flag
 * Updated the migration dependencies within the project template to ensure that Wagtail's own migrations consistently apply first
 * The cache of site root paths is now cleared when a site is deleted
 * Search indexing now prevents pages from being indexed multiple times, as both the base Page model and the specific subclass

+ 1 - 1
wagtail/admin/userbar.py

@@ -257,7 +257,7 @@ class ExplorePageItem(BaseItem):
         if not request.user.has_perm("wagtailadmin.access_admin"):
             return ""
 
-        # Don't render if user doesn't have ability to edit or publish sub-pages on the parent page
+        # Don't render if user doesn't have ability to edit or publish subpages on the parent page
         permission_checker = self.parent_page.permissions_for_user(request.user)
         if (
             not permission_checker.can_edit()