Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/09/2015 05:07:56 AM (11 years ago)
Author:
tw2113
Message:

More updates to BP-Core docs.

See #6398.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-wpabstraction.php

    r10012 r10039  
    22/**
    33 * WordPress Abstraction.
     4 *
     5 * @package BuddyPress
    46 *
    57 * The functions within this file will detect the version of WordPress you are
    … …  
    1012 */
    1113
    12 // Exit if accessed directly
     14// Exit if accessed directly.
    1315defined( 'ABSPATH' ) || exit;
    1416
    … …  
    2931
    3032/**
    31  * Only add MS-specific abstraction functions if WordPress is not in multisite mode
     33 * Only add MS-specific abstraction functions if WordPress is not in multisite mode.
    3234 */
    3335if ( !is_multisite() ) {
    … …  
    129131 *
    130132 * @param string|bool $prefix Global table prefix.
     133 *
    131134 * @return string SQL chunk.
    132135 */
    … …  
    139142
    140143/**
    141  * Multibyte encoding fallback functions
     144 * Multibyte encoding fallback functions.
    142145 *
    143146 * The PHP multibyte encoding extension is not enabled by default. In cases where it is not enabled,
    … …  
    152155         * @param string $str String to be measured.
    153156         * @param string $enc Optional. Encoding type. Ignored.
     157         *
    154158         * @return int String length.
    155159         */
    … …  
    177181         * @param string $haystack String to search in.
    178182         * @param string $needle String to search for.
    179          * @param int $offset Optional. Start position for the search. Default: 0.
     183         * @param int    $offset Optional. Start position for the search. Default: 0.
    180184         * @param string $encoding Optional. Encoding type. Ignored.
     185         *
    181186         * @return int|bool Position of needle in haystack if found, else false.
    182187         */
    … …  
    201206         * @param string $haystack String to search in.
    202207         * @param string $needle String to search for.
    203          * @param int $offset Optional. Start position for the search. Default: 0.
     208         * @param int    $offset Optional. Start position for the search. Default: 0.
    204209         * @param string $encoding Optional. Encoding type. Ignored.
     210         *
    205211         * @return int Position of last needle in haystack if found, else false.
    206212         */
Note: See TracChangeset for help on using the changeset viewer.