Skip to:
Content

BuddyPress.org

Changeset 13769


Ignore:
Timestamp:
03/10/2024 02:44:38 PM (10 months ago)
Author:
imath
Message:

Improve contributor & developer documentation fixing some typos

Props shailu25

Fixes #9120

Location:
trunk/docs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/contributor/code/README.md

    r13721 r13769  
    235235
    236236# First make sure your origin master branch is up to date with BuddyPress remote one.
    237 git fetch usptream/master
     237git fetch upstream/master
    238238
    239239# If you need to include some changes which happened upstream, merge them!
     
    416416
    417417# Git using Pull Requests
    418 git fetch usptream/master
     418git fetch upstream/master
    419419git merge origin/master
    420420git push origin master
  • trunk/docs/developer/component/build-component.md

    r13516 r13769  
    114114        );
    115115
    116         // BP Specigic globals.
     116        // BP Specific globals.
    117117        parent::setup_globals( $bp_globals );
    118118
  • trunk/docs/developer/group-extension/README.md

    r13527 r13769  
    126126- `edit` – Config options for the ‘edit’ screen, a sub item of the Group's Manage item on the front-end.
    127127  - `submit_text` – The text of the submit button on the edit screen. Defaults to 'Edit'.
    128   - `enabled` – `true` if you want your group extension to have a subtab in the Group Adimn area, otherwise `false`. Defaults to `true`.
     128  - `enabled` – `true` if you want your group extension to have a subtab in the Group Admin area, otherwise `false`. Defaults to `true`.
    129129  - `name` – The text that appears in the navigation tab for the group extension’s Edit screen. Defaults to the general `name` value described above.
    130130  - `slug` – The string used to create the URL of the admin tab. Defaults to the general `slug` value described above.
     
    176176- `settings_screen_save()`: called after changes are submitted from the `create` / `edit` / `admin` screens. This method should contain the logic necessary to catch settings form submits, validate submitted settings, and save them to the database.
    177177
    178 **NB**: these 2 methods include the `$group_id` argument so that you can customize your output/handler according to the current group being created, edited or adminstrated.
     178**NB**: these 2 methods include the `$group_id` argument so that you can customize your output/handler according to the current group being created, edited or administrated.
    179179
    180180Let's improve our example of basic group extension including a feature to let the creator/administrator of the group decide whether they want to "activate" the group extension main tab for their group.
     
    193193    'access'            => 'anyone',
    194194
    195     // Set the callback function definining the `$show_tab` argument dynamically.
     195    // Set the callback function defining the `$show_tab` argument dynamically.
    196196    'show_tab_callback' => array( $this, 'show_tab' ),
    197197
Note: See TracChangeset for help on using the changeset viewer.