/home/vianto5/.trash/cititower.mx/wp-content/themes/montreal
NameSizeModeActions
admin/-0755rm
css/-0755rm
font/-0755rm
images/-0755rm
img/-0755rm
inc/-0755rm
js/-0755rm
languages/-0755rm
player/-0755rm
postformats/-0755rm
404.php7230644editdlrm
archive-portfolio.php13520644editdlrm
comments.php00644editdlrm
editor-style-rtl.css4130644editdlrm
editor-style.css54340644editdlrm
footer-stripe.php17990644editdlrm
footer.php23080644editdlrm
functions.php157990644editdlrm
header.php27570644editdlrm
index.php14680644editdlrm
newsletter.php13530644editdlrm
page-about.php49480644editdlrm
page-blog-list.php15900644editdlrm
page-home.php91220644editdlrm
page-location.php27410644editdlrm
page-planner.php88280644editdlrm
page-portfolio-basic.php21820644editdlrm
page-portfolio-drag.php20940644editdlrm
page-portfolio-grid-black.php20290644editdlrm
page-portfolio-grid-block.php13800644editdlrm
page-portfolio-grid-white.php19810644editdlrm
page-portfolio-stripe.php16490644editdlrm
page-sidebar.php9930644editdlrm
page-thanks.php5660644editdlrm
page-ubicacion.php28650644editdlrm
page.php7820644editdlrm
portfolio-navigation.php6820644editdlrm
projectplanner.php52370644editdlrm
rtl.css14390644editdlrm
rtl.php430340644editdlrm
screenshot.png3941760644editdlrm
search.php14650644editdlrm
searchform.php3230644editdlrm
sendemail.php25170644editdlrm
sidebar-contact.php1030644editdlrm
sidebar.php990644editdlrm
single-portfolio.php2180644editdlrm
single.php11490644editdlrm
style.css14950644editdlrm
styles.php431910644editdlrm
wp-updates-theme.php19230644editdlrm
Edit: /home/vianto5/.trash/cititower.mx/wp-content/themes/montreal/wp-updates-theme.php (1923B)
api_url = $api_url; $this->theme_id = $theme_id; $this->theme_slug = $theme_slug; add_filter( 'pre_set_site_transient_update_themes', array(&$this, 'check_for_update') ); // This is for testing only! //set_site_transient('update_themes', null); } function check_for_update( $transient ) { if (empty($transient->checked)) return $transient; $request_args = array( 'id' => $this->theme_id, 'slug' => $this->theme_slug, 'version' => $transient->checked[$this->theme_slug] ); $request_string = $this->prepare_request( 'theme_update', $request_args ); $raw_response = wp_remote_post( $this->api_url, $request_string ); $response = null; if( !is_wp_error($raw_response) && ($raw_response['response']['code'] == 200) ) $response = unserialize($raw_response['body']); if( !empty($response) ) // Feed the update data into WP updater $transient->response[$this->theme_slug] = $response; return $transient; } function prepare_request( $action, $args ) { global $wp_version; return array( 'body' => array( 'action' => $action, 'request' => serialize($args), 'api-key' => md5(home_url()) ), 'user-agent' => 'WordPress/'. $wp_version .'; '. home_url() ); } } } ?>