Changeset 10012 for trunk/src/bp-core/bp-core-catchuri.php
- Timestamp:
- 07/12/2015 12:49:36 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-catchuri.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-catchuri.php
r9914 r10012 370 370 * 371 371 * @param array $templates Array of templates to attempt to load. 372 * 372 373 * @return bool|null Returns false on failure. 373 374 */ … … 518 519 * @since BuddyPress (1.5.0) 519 520 * 520 * @param array $args { 521 * @type int $mode Specifies the destination of the redirect. 1 will 522 * direct to the root domain (home page), which assumes you have a 523 * log-in form there; 2 directs to wp-login.php. Default: 2. 524 * @type string $redirect The URL the user will be redirected to after 525 * successfully logging in. Default: the URL originally requested. 526 * @type string $root The root URL of the site, used in case of error or 527 * mode 1 redirects. Default: the value of {@link bp_get_root_domain()}. 528 * @type string $message An error message to display to the user on the 529 * log-in page. Default: "You must log in to access the page you 530 * requested." 521 * @param array|string $args { 522 * @type int $mode Specifies the destination of the redirect. 1 will 523 * direct to the root domain (home page), which assumes you have a 524 * log-in form there; 2 directs to wp-login.php. Default: 2. 525 * @type string $redirect The URL the user will be redirected to after successfully 526 * logging in. Default: the URL originally requested. 527 * @type string $root The root URL of the site, used in case of error or mode 1 redirects. 528 * Default: the value of {@link bp_get_root_domain()}. 529 * @type string $message An error message to display to the user on the log-in page. 530 * Default: "You must log in to access the page you requested." 531 531 * } 532 532 */ … … 606 606 * @since BuddyPress (1.5.0) 607 607 * 608 * @global $error Error message to pass to wp-login.php608 * @global string $error Error message to pass to wp-login.php. 609 609 */ 610 610 function bp_core_no_access_wp_login_error() { … … 716 716 * Optional array of arguments. 717 717 * @type bool $include_query_args Whether to include current URL arguments 718 * in the canonical URL returned from the function.718 * in the canonical URL returned from the function. 719 719 * } 720 * 720 721 * @return string Canonical URL for the current page. 721 722 */
Note: See TracChangeset
for help on using the changeset viewer.