!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/OLD_WP/wp-content/plugins/wordpress-seo/admin/metabox/   drwxr-xr-x
Free 179.29 GB of 490.84 GB (36.53%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     class-metabox-editor.php (1.69 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @package WPSEO\Admin\Metabox
 */

/**
 * Handles all things with the metabox in combination with the WordPress editor.
 */
class WPSEO_Metabox_Editor {

    
/**
     * Registers hooks to WordPress
     */
    
public function register_hooks() {
        
add_filter'mce_css', array( $this'add_css_inside_editor' ) );
        
add_filter'tiny_mce_before_init', array( $this'add_custom_element' ) );
    }

    
/**
     * Adds our inside the editor CSS file to the list of CSS files to be loaded inside the editor.
     *
     * @param string $css_files The CSS files that WordPress wants to load inside the editor.
     * @return string The CSS files WordPress wants to load and our CSS file.
     */
    
public function add_css_inside_editor$css_files ) {
        
$asset_manager = new WPSEO_Admin_Asset_Manager();
        
$styles $asset_manager->special_styles();
        
/** @var WPSEO_Admin_Asset $inside_editor */
        
$inside_editor $styles['inside-editor'];

        
$url $inside_editor->get_urlWPSEO_Admin_Asset::TYPE_CSSWPSEO_FILE );

        if ( 
'' === $css_files ) {
            
$css_files $url;
        }
        else {
            
$css_files .= ',' $url;
        }

        return 
$css_files;
    }

    
/**
     * Adds a custom element to the tinyMCE editor that we need for marking the content.
     *
     * @param array $tinymce_config The tinyMCE config as configured by WordPress.
     *
     * @return array The new tinyMCE config with our added custom elements.
     */
    
public function add_custom_element$tinymce_config ) {
        if ( ! empty( 
$tinymce_config['custom_elements'] ) ) {
            
$custom_elements $tinymce_config['custom_elements'];

            
$custom_elements .= ',~yoastmark';
        }
        else {
            
$custom_elements '~yoastmark';
        }

        
$tinymce_config['custom_elements'] = $custom_elements;

        return 
$tinymce_config;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.2583 ]--