Priority File Manager

📁 public_html
Base Directory:
/home/ecedu/public_html/wp-content/plugins/updraftplus/includes
NameTypeSizeActions
📁 .. Folder -
📁 Dropbox2 Folder -
📁 Google Folder -
📄 S3.php File 78483
Edit Download
📄 S3compat.php File 31581
Edit Download
📁 blockui Folder -
📄 cacert.pem File 221470
Edit Download
📁 checkout-embed Folder -
📄 class-backup-history.php File 40508
Edit Download
📄 class-commands.php File 49966
Edit Download
📄 class-database-utility.php File 37569
Edit Download
📄 class-filesystem-functions.php File 41611
Edit Download
📄 class-http-error-descriptions.php File 11669
Edit Download
📄 class-job-scheduler.php File 10552
Edit Download
📄 class-manipulation-functions.php File 17139
Edit Download
📄 class-partialfileservlet.php File 7558
Edit Download
📄 class-remote-send.php File 32760
Edit Download
📄 class-search-replace.php File 20570
Edit Download
📄 class-semaphore.php File 6757
Edit Download
📄 class-storage-methods-interface.php File 18664
Edit Download
📄 class-updraft-dashboard-news.php File 8242
Edit Download
📄 class-updraft-semaphore.php File 7693
Edit Download
📄 class-updraftcentral-updraftplus-commands.php File 1857
Edit Download
📄 class-updraftplus-encryption.php File 14031
Edit Download
📄 class-wpadmin-commands.php File 39447
Edit Download
📄 class-zip.php File 18336
Edit Download
📁 cloudfiles Folder -
📄 ftp.class.php File 6769
Edit Download
📄 get-cpanel-quota-usage.pl File 408
Edit Download
📄 google-extensions.php File 9497
Edit Download
📁 handlebars Folder -
📁 images Folder -
📄 jquery-ui.custom-v1.11.4-1-25-7.min.css File 38751
Edit Download
📄 jquery-ui.custom-v1.11.4-1-25-7.min.css.map File 58374
Edit Download
📄 jquery-ui.custom-v1.11.4.css File 43193
Edit Download
📄 jquery-ui.custom-v1.12.1-1-25-7.min.css File 40497
Edit Download
📄 jquery-ui.custom-v1.12.1-1-25-7.min.css.map File 60839
Edit Download
📄 jquery-ui.custom-v1.12.1.css File 45090
Edit Download
📁 jquery-ui.dialog.extended Folder -
📁 jquery.serializeJSON Folder -
📁 jstree Folder -
📁 labelauty Folder -
📄 migrator-lite.php File 53735
Edit Download
📁 pcloud Folder -
📁 select2 Folder -
📁 tether Folder -
📁 tether-shepherd Folder -
📄 updraft-admin-common-1-25-7.min.js File 158895
Edit Download
📄 updraft-admin-common.js File 263234
Edit Download
📄 updraft-restorer-skin-compatibility.php File 452
Edit Download
📄 updraft-restorer-skin.php File 1723
Edit Download
📄 updraftcentral.php File 3464
Edit Download
📁 updraftclone Folder -
📄 updraftplus-clone.php File 7237
Edit Download
📄 updraftplus-login.php File 4368
Edit Download
📄 updraftplus-notices.php File 18842
Edit Download
📄 updraftplus-tour.php File 13521
Edit Download
📄 updraftvault.php File 2040
Edit Download
feed_url = $feed_url; $this->link = $link; $this->translations = $translations; $this->slug = sanitize_title($translations['product_title']); $dashboard_news_transient_name = $this->get_transient_name(); add_filter('pre_set_transient_'.$dashboard_news_transient_name, array($this, 'pre_set_transient_for_dashboard_news'), 10); add_filter('transient_'.$dashboard_news_transient_name, array($this, 'transient_for_dashboard_news'), 10); add_action('wp_ajax_'.$this->slug.'_ajax_dismiss_dashboard_news', array($this, 'dismiss_dashboard_news')); if ('index.php' == $GLOBALS['pagenow'] && !get_user_meta(get_current_user_id(), $this->slug.'_dismiss_dashboard_news', true)) { add_action('admin_print_footer_scripts', array($this, 'admin_print_footer_scripts')); } add_action('wp_ajax_dashboard-widgets', array($this, 'wp_ajax_dashboard_widgets_low_priority'), 1); add_action('wp_ajax_dashboard-widgets', array($this, 'wp_ajax_dashboard_widgets_high_priority'), 20); $this->valid_callback_pages = array( 'dashboard-user', 'dashboard-network', 'dashboard', ); } /** * Get the transient name * * @return String */ private function get_transient_name() { $locale = function_exists('get_user_locale') ? get_user_locale() : get_locale(); global $wp_version; @include(ABSPATH.WPINC.'/version.php');// phpcs:ignore Generic.PHP.NoSilencedErrors.Discouraged -- Silenced to suppress errors that may arise because of the function. $dash_prefix = version_compare($wp_version, '4.8', '>=') ? 'dash_v2_' : 'dash_'; return version_compare($wp_version, '4.3', '>=') ? $dash_prefix.md5('dashboard_primary_'.$locale) : 'dash_'.md5('dashboard_primary'); } /** * Filters a transient for dashboard news before its value is set * * @param String $value - New value of transient * @return String HTML of Wordpress News & Events same as $transient param */ public function pre_set_transient_for_dashboard_news($value) { if (!function_exists('wp_dashboard_primary_output')) return $value; // Not needed first if condition, because filter hook name have already transient name. It is for better checking if (!get_user_meta(get_current_user_id(), $this->slug.'_dismiss_dashboard_news', true)) { // Gets the news, when fetching WP news first time (transient cache does not exist) $this->get_dashboard_news_html(); } return $value; } /** * wp_ajax_dashboard-widgets ajax action handler with low priority */ public function wp_ajax_dashboard_widgets_low_priority() { if (!$this->do_ajax_dashboard_news()) return; add_filter('wp_die_ajax_handler', array($this, 'wp_die_ajax_handler')); } /** * Dummy wp die handler * * @param String $callback_function Callable $function Callback function name * @return String callable $function Callback function name */ public function wp_die_ajax_handler($callback_function) { // this condition is not required, but always better to double confirm if (!$this->do_ajax_dashboard_news()) return $callback_function; // Here, We can use __return_empty_string function name, but __return_empty_string is available since WP 3.7. Whereas __return_true function name available since WP 3.0 return '__return_true'; } /** * wp_ajax_dashboard-widgets ajax action handler with high priority */ public function wp_ajax_dashboard_widgets_high_priority() { if (!$this->do_ajax_dashboard_news()) return; remove_filter('wp_die_ajax_handler', array($this, 'wp_die_ajax_handler')); echo wp_kses_post($this->get_dashboard_news_html()); wp_die(); } /** * Check whether valid ajax for dashboard news or not * * @return Boolean True if an ajax for the WP dashboard news */ protected function do_ajax_dashboard_news() { $ajax_callback_page = !empty($_GET['pagenow']) ? $_GET['pagenow'] : ''; return (in_array($ajax_callback_page, $this->valid_callback_pages) && !empty($_GET['widget']) && 'dashboard_primary' == $_GET['widget']); } /** * Filters a transient for dashboard news when getting transient value * * @param String $value - New value of transient * @return String - HTML of Wordpress News & Events */ public function transient_for_dashboard_news($value) { if (!function_exists('wp_dashboard_primary_output')) return $value; // Not needed first if condition, because filter hook name have already transient name. It is for better checking if (!get_user_meta(get_current_user_id(), $this->slug.'_dismiss_dashboard_news', true) && !empty($value)) { return $value.$this->get_dashboard_news_html(); } return $value; } /** * get dashboard news html * * @return String - the resulting message */ protected function get_dashboard_news_html() { $cache_key = $this->slug.'_dashboard_news'; if (false !== ($output = get_transient($cache_key))) return $output; $feeds = array( $this->slug => array( 'link' => $this->link, 'url' => $this->feed_url, 'title' => $this->translations['product_title'], 'items' => apply_filters($this->slug.'_dashboard_news_items_count', 2), 'show_summary' => 0, 'show_author' => 0, 'show_date' => 0, ) ); ob_start(); wp_dashboard_primary_output('dashboard_primary', $feeds); $original_formatted_news = ob_get_clean(); $formatted_news = preg_replace('/(.+?)<\/a>/i', "".esc_html($this->translations['item_prefix']).": $2", $original_formatted_news); $formatted_news = str_replace('
  • ', '
  • '.'', $formatted_news); set_transient($this->slug.'_dashboard_news', $formatted_news, 43200); // 12 hours return $formatted_news; } /** * Prints javascripts in admin footer */ public function admin_print_footer_scripts() { ?> slug.'-dismiss-news-nonce')) die('Security check.'); update_user_meta(get_current_user_id(), $this->slug.'_dismiss_dashboard_news', true); die(); } } endif;