[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/ -> bp-core-admin.php (source)

   1  <?php
   2  /**
   3   * Main BuddyPress Admin Class.
   4   *
   5   * @package BuddyPress
   6   * @subpackage CoreAdministration
   7   * @since 1.0.0
   8   */
   9  
  10  // Exit if accessed directly.
  11  defined( 'ABSPATH' ) || exit;
  12  
  13  /**
  14   * Setup BuddyPress Admin.
  15   *
  16   * @since 1.6.0
  17   *
  18   */
  19  function bp_admin() {
  20      buddypress()->admin = new BP_Admin();
  21      return;
  22  
  23  
  24      // These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
  25      _n_noop( 'Maintenance Release', 'Maintenance Releases', 'buddypress' );
  26      _n_noop( 'Security Release', 'Security Releases', 'buddypress' );
  27      _n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases', 'buddypress' );
  28  
  29      /* translators: 1: BuddyPress version number. */
  30      _n_noop(
  31          '<strong>Version %1$s</strong> addressed a security issue.',
  32          '<strong>Version %1$s</strong> addressed some security issues.',
  33          'buddypress'
  34      );
  35  
  36      /* translators: 1: BuddyPress version number, 2: plural number of bugs. */
  37      _n_noop(
  38          '<strong>Version %1$s</strong> addressed %2$s bug.',
  39          '<strong>Version %1$s</strong> addressed %2$s bugs.',
  40          'buddypress'
  41      );
  42  
  43      /* translators: 1: BuddyPress version number, 2: plural number of bugs. Singular security issue. */
  44      _n_noop(
  45          '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
  46          '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.',
  47          'buddypress'
  48      );
  49  
  50      /* translators: 1: BuddyPress version number, 2: plural number of bugs. More than one security issue. */
  51      _n_noop(
  52          '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
  53          '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
  54          'buddypress'
  55      );
  56  
  57      __( 'For more information, see <a href="%s">the release notes</a>.', 'buddypress' );
  58  }


Generated: Tue Dec 10 01:01:39 2019 Cross-referenced by PHPXref 0.7.1