[buddypress-trac] [BuddyPress Trac] #8890: Docs: Improve various globals documentation, as per docblock standards.
buddypress-trac
noreply at wordpress.org
Sat May 20 06:34:53 UTC 2023
#8890: Docs: Improve various globals documentation, as per docblock standards.
------------------------------+---------------------
Reporter: upadalavipul | Owner: imath
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 12.0.0
Component: Extended Profile | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
------------------------------+---------------------
Changes (by imath):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"13484" 13484]:
{{{
#!CommitTicketReference repository="" revision="13484"
Improve inline doc, informing about global variable usage in functions
In various xProfile component files, used globals are:
- `$wpdb`: the WordPress database object,
- `$profile_template`: the xProfile data template object,
- `$group`: the current group of profile fields in a loop,
- `$field`: the current field in a loop.
Props upadalavipul
Fixes #8890
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8890#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list