X7ROOT File Manager
Current Path:
/var/softaculous/sitepad/editor/site-admin/includes
var
/
softaculous
/
sitepad
/
editor
/
site-admin
/
includes
/
ðŸ“
..
📄
admin-filters.php
(6.49 KB)
📄
admin.php
(2.62 KB)
📄
ajax-actions.php
(129.98 KB)
📄
bookmark.php
(9.03 KB)
📄
class-automatic-upgrader-skin.php
(3.07 KB)
📄
class-bulk-plugin-upgrader-skin.php
(2.01 KB)
📄
class-bulk-theme-upgrader-skin.php
(2.04 KB)
📄
class-bulk-upgrader-skin.php
(5.18 KB)
📄
class-core-upgrader.php
(13.42 KB)
📄
class-file-upload-upgrader.php
(3.29 KB)
📄
class-ftp-pure.php
(5.27 KB)
📄
class-ftp-sockets.php
(8.25 KB)
📄
class-ftp.php
(26.47 KB)
📄
class-language-pack-upgrader-skin.php
(2.31 KB)
📄
class-language-pack-upgrader.php
(14.38 KB)
📄
class-pclzip.php
(192.03 KB)
📄
class-plugin-installer-skin.php
(4.36 KB)
📄
class-plugin-upgrader-skin.php
(2.62 KB)
📄
class-plugin-upgrader.php
(14.83 KB)
📄
class-theme-installer-skin.php
(4.33 KB)
📄
class-theme-upgrader-skin.php
(3.76 KB)
📄
class-theme-upgrader.php
(19.81 KB)
📄
class-walker-category-checklist.php
(4.15 KB)
📄
class-walker-nav-menu-checklist.php
(4.89 KB)
📄
class-walker-nav-menu-edit.php
(11.41 KB)
📄
class-wp-ajax-upgrader-skin.php
(2.97 KB)
📄
class-wp-automatic-updater.php
(34.74 KB)
📄
class-wp-comments-list-table.php
(26.59 KB)
📄
class-wp-community-events.php
(15.59 KB)
📄
class-wp-filesystem-base.php
(21.98 KB)
📄
class-wp-filesystem-direct.php
(11.39 KB)
📄
class-wp-filesystem-ftpext.php
(13.65 KB)
📄
class-wp-filesystem-ftpsockets.php
(10.62 KB)
📄
class-wp-filesystem-ssh2.php
(15.07 KB)
📄
class-wp-importer.php
(7.35 KB)
📄
class-wp-internal-pointers.php
(5.38 KB)
📄
class-wp-links-list-table.php
(7.57 KB)
📄
class-wp-list-table-compat.php
(1.05 KB)
📄
class-wp-list-table.php
(38.71 KB)
📄
class-wp-media-list-table.php
(22.95 KB)
📄
class-wp-plugin-install-list-table.php
(21.98 KB)
📄
class-wp-plugins-list-table.php
(33.03 KB)
📄
class-wp-post-comments-list-table.php
(1.44 KB)
📄
class-wp-posts-list-table.php
(53.19 KB)
📄
class-wp-screen.php
(34.31 KB)
📄
class-wp-site-icon.php
(5.98 KB)
📄
class-wp-terms-list-table.php
(18.07 KB)
📄
class-wp-theme-install-list-table.php
(14.88 KB)
📄
class-wp-themes-list-table.php
(9.22 KB)
📄
class-wp-upgrader-skin.php
(5.04 KB)
📄
class-wp-upgrader.php
(33.81 KB)
📄
class-wp-users-list-table.php
(17.12 KB)
📄
comment.php
(5.92 KB)
📄
continents-cities.php
(20.26 KB)
📄
credits.php
(2.17 KB)
📄
dashboard.php
(56.43 KB)
📄
edit-tag-messages.php
(1.38 KB)
📄
export.php
(22.86 KB)
📄
file.php
(82.92 KB)
📄
image-edit.php
(33.9 KB)
📄
image.php
(22.37 KB)
📄
import.php
(6.55 KB)
📄
list-table.php
(2.72 KB)
📄
media.php
(106.95 KB)
📄
menu.php
(8.9 KB)
📄
meta-boxes.php
(57.96 KB)
📄
misc.php
(71.45 KB)
📄
nav-menu.php
(43.28 KB)
📄
network.php
(23.62 KB)
📄
noop.php
(1.2 KB)
📄
options.php
(7.68 KB)
📄
plugin-install.php
(32.8 KB)
📄
plugin.php
(72.58 KB)
📄
post.php
(72.69 KB)
📄
revision.php
(15.3 KB)
📄
schema.php
(40.64 KB)
📄
screen.php
(6.07 KB)
📄
taxonomy.php
(7.73 KB)
📄
template.php
(85.89 KB)
📄
theme-install.php
(6.41 KB)
📄
theme.php
(29.37 KB)
📄
translation-install.php
(8.42 KB)
📄
update-core.php
(55.51 KB)
📄
update.php
(25.6 KB)
📄
upgrade.php
(99.33 KB)
📄
user.php
(50.91 KB)
📄
widgets.php
(10.38 KB)
Editing: class-wp-internal-pointers.php
<?php /** * Administration API: WP_Internal_Pointers class * * @package WordPress * @subpackage Administration * @since 4.4.0 */ /** * Core class used to implement an internal admin pointers API. * * @since 3.3.0 */ final class WP_Internal_Pointers { /** * Initializes the new feature pointers. * * @since 3.3.0 * * All pointers can be disabled using the following: * remove_action( 'admin_enqueue_scripts', array( 'WP_Internal_Pointers', 'enqueue_scripts' ) ); * * Individual pointers (e.g. wp390_widgets) can be disabled using the following: * remove_action( 'admin_print_footer_scripts', array( 'WP_Internal_Pointers', 'pointer_wp390_widgets' ) ); * * @param string $hook_suffix The current admin page. */ public static function enqueue_scripts( $hook_suffix ) { /* * Register feature pointers * * Format: * array( * hook_suffix => pointer callback * ) * * Example: * array( * 'themes.php' => 'wp390_widgets' * ) */ $registered_pointers = array( 'index.php' => 'wp496_privacy', ); // Check if screen related pointer is registered if ( empty( $registered_pointers[ $hook_suffix ] ) ) { return; } $pointers = (array) $registered_pointers[ $hook_suffix ]; /* * Specify required capabilities for feature pointers * * Format: * array( * pointer callback => Array of required capabilities * ) * * Example: * array( * 'wp390_widgets' => array( 'edit_theme_options' ) * ) */ $caps_required = array( 'wp496_privacy' => array( 'manage_privacy_options', 'export_others_personal_data', 'erase_others_personal_data', ), ); // Get dismissed pointers $dismissed = explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) ); $got_pointers = false; foreach ( array_diff( $pointers, $dismissed ) as $pointer ) { if ( isset( $caps_required[ $pointer ] ) ) { foreach ( $caps_required[ $pointer ] as $cap ) { if ( ! current_user_can( $cap ) ) { continue 2; } } } // Bind pointer print function add_action( 'admin_print_footer_scripts', array( 'WP_Internal_Pointers', 'pointer_' . $pointer ) ); $got_pointers = true; } if ( ! $got_pointers ) { return; } // Add pointers script and style to queue wp_enqueue_style( 'wp-pointer' ); wp_enqueue_script( 'wp-pointer' ); } /** * Print the pointer JavaScript data. * * @since 3.3.0 * * @param string $pointer_id The pointer ID. * @param string $selector The HTML elements, on which the pointer should be attached. * @param array $args Arguments to be passed to the pointer JS (see wp-pointer.js). */ private static function print_js( $pointer_id, $selector, $args ) { if ( empty( $pointer_id ) || empty( $selector ) || empty( $args ) || empty( $args['content'] ) ) { return; } ?> <script type="text/javascript"> (function($){ var options = <?php echo wp_json_encode( $args ); ?>, setup; if ( ! options ) return; options = $.extend( options, { close: function() { $.post( ajaxurl, { pointer: '<?php echo $pointer_id; ?>', action: 'dismiss-wp-pointer' }); } }); setup = function() { $('<?php echo $selector; ?>').first().pointer( options ).pointer('open'); }; if ( options.position && options.position.defer_loading ) $(window).bind( 'load.wp-pointers', setup ); else $(document).ready( setup ); })( jQuery ); </script> <?php } public static function pointer_wp330_toolbar() {} public static function pointer_wp330_media_uploader() {} public static function pointer_wp330_saving_widgets() {} public static function pointer_wp340_customize_current_theme_link() {} public static function pointer_wp340_choose_image_from_library() {} public static function pointer_wp350_media() {} public static function pointer_wp360_revisions() {} public static function pointer_wp360_locks() {} public static function pointer_wp390_widgets() {} public static function pointer_wp410_dfw() {} /** * Display a pointer for the new privacy tools. * * @since 4.9.6 */ public static function pointer_wp496_privacy() { $content = '<h3>' . __( 'Personal Data and Privacy' ) . '</h3>'; $content .= '<h4>' . __( 'Personal Data Export and Erasure' ) . '</h4>'; $content .= '<p>' . __( 'New <strong>Tools</strong> have been added to help you with personal data export and erasure requests.' ) . '</p>'; $content .= '<h4>' . __( 'Privacy Policy' ) . '</h4>'; $content .= '<p>' . __( 'Create or select your site’s privacy policy page under <strong>Settings > Privacy</strong> to keep your users informed and aware.' ) . '</p>'; if ( is_rtl() ) { $position = array( 'edge' => 'right', 'align' => 'bottom', ); } else { $position = array( 'edge' => 'left', 'align' => 'bottom', ); } $js_args = array( 'content' => $content, 'position' => $position, 'pointerClass' => 'wp-pointer arrow-bottom', 'pointerWidth' => 420, ); self::print_js( 'wp496_privacy', '#menu-tools', $js_args ); } /** * Prevents new users from seeing existing 'new feature' pointers. * * @since 3.3.0 * * @param int $user_id User ID. */ public static function dismiss_pointers_for_new_users( $user_id ) { add_user_meta( $user_id, 'dismissed_wp_pointers', 'wp496_privacy' ); } }
Upload File
Create Folder