403Webshell
Server IP : 172.67.147.195  /  Your IP : 216.73.216.95
Web Server : Apache/2
System : Linux hosting8537.lvs 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : mienphi ( 1014)
PHP Version : 8.2.14
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mienphi/domains/mienphi.org/public_html/wp-content/plugins/bbpress/includes/common/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mienphi/domains/mienphi.org/public_html/wp-content/plugins/bbpress/includes/common/locale.php
<?php

/**
 * bbPress Localization
 *
 * @package bbPress
 * @subpackage Localization
 */

// Exit if accessed directly
defined( 'ABSPATH' ) || exit;

/**
 * Translates role name.
 *
 * Since the role names are in the database and not in the source there
 * are dummy gettext calls to get them into the POT file and this function
 * properly translates them back.
 *
 * The before_last_bar() call is needed, because older installs keep the roles
 * using the old context format: 'Role name|User role' and just skipping the
 * content after the last bar is easier than fixing them in the DB. New installs
 * won't suffer from that problem.
 *
 * @see translate_user_role()
 *
 * @since 2.6.0 bbPress
 *
 * @param string $name The role name.
 * @return string Translated role name on success, original name on failure.
 */
function bbp_translate_user_role( $name ) {
	return translate_with_gettext_context( before_last_bar( $name ), 'User role', 'bbpress' );
}

/**
 * Dummy gettext calls to get strings in the catalog.
 *
 * @since 2.6.0 bbPress
 */
function bbp_dummy_role_names() {

	/* translators: user role */
	_x( 'Keymaster', 'User role', 'bbpress' );

	/* translators: user role */
	_x( 'Moderator', 'User role', 'bbpress' );

	/* translators: user role */
	_x( 'Participant', 'User role', 'bbpress' );

	/* translators: user role */
	_x( 'Spectator', 'User role', 'bbpress' );

	/* translators: user role */
	_x( 'Blocked', 'User role', 'bbpress' );
}

Youez - 2016 - github.com/yon3zu
LinuXploit