/home/altere25/rockymountainlax.com/wp-content/plugins/twitter-tweets
NameSizeModeActions
css/-0755rm
images/-0755rm
js/-0755rm
lang/-0755rm
vendor_new/-0755rm
vendor_old/-0755rm
webfonts/-0755rm
load-tweets.php40010644editdlrm
our_product.php10570644editdlrm
readme.txt100960644editdlrm
twiiter_help.php345140644editdlrm
twiiter_help_body.php20240644editdlrm
twitter-tweets.php36090644editdlrm
twitter-tweets_shortcode.php85130644editdlrm
twitter_tweets_widgets.php98490644editdlrm
Edit: /home/altere25/rockymountainlax.com/wp-content/plugins/twitter-tweets/load-tweets.php (4001B)
get( "account/verify_credentials" ); if ( ! $content ) { throw new Exception( esc_html__( 'Connection Error', 'twitter-tweets' ) ); } } catch ( Exception $e ) { echo esc_html($e->getMessage()); return null; } return $twitter_client; } function tweet_time_calculate( $created_at ) { $then = new DateTime( $created_at ); $now = new DateTime(); $delta = $now->diff( $then ); $quantities = array( 'year' => $delta->y, 'month' => $delta->m, 'day' => $delta->d, 'hour' => $delta->h, 'minute' => $delta->i, ); $str = ''; foreach ( $quantities as $unit => $value ) { if ( $value == 0 ) { continue; } $str .= $value . ' ' . $unit; if ( $value != 1 ) { $str .= 's'; } $str .= ', '; } $str = $str == '' ? 'a moment ' : substr( $str, 0, - 2 ); return $str; } function makeLinks( $str ) { $reg_exUrl = "/(http|https|ftp|ftps)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\/\S*)?/"; $urls = array(); $urlsToReplace = array(); if ( preg_match_all( $reg_exUrl, $str, $urls ) ) { $numOfMatches = count( $urls[0] ); $numOfUrlsToReplace = 0; for ( $i = 0; $i < $numOfMatches; $i ++ ) { $alreadyAdded = false; $numOfUrlsToReplace = count( $urlsToReplace ); for ( $j = 0; $j < $numOfUrlsToReplace; $j ++ ) { if ( $urlsToReplace[ $j ] == $urls[0][ $i ] ) { $alreadyAdded = true; } } if ( ! $alreadyAdded ) { array_push( $urlsToReplace, $urls[0][ $i ] ); } } $numOfUrlsToReplace = count( $urlsToReplace ); for ( $i = 0; $i < $numOfUrlsToReplace; $i ++ ) { $str = str_replace( $urlsToReplace[ $i ], "" . $urlsToReplace[ $i ] . " ", $str ); } return $str; } else { return $str; } } if ( isset( $wl_twitter_consumer_key ) ) { $connection = get_twitter_connection( $wl_twitter_consumer_key, $wl_twitter_consumer_secret, $wl_twitter_access_token, $wl_twitter_token_secret ); } else { $connection = get_twitter_connection( $temp_wl_twitter_consumer_key, $temp_wl_twitter_consumer_secret, $temp_wl_twitter_access_token, $temp_wl_twitter_token_secret ); } if ( ! $connection ) { $error_messaage = esc_html__("Can't connect to Twitter API. Check your internet connection.", 'twitter-tweets'); die( $error_messaage ); } $statuses = $connection->get( "statuses/home_timeline", ["count" => $wl_twitter_tweets, "exclude_replies" => 'false', "include_entities" => 0 ]);