Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions WordPress/Classes/ViewRelated/Stats/StatsWebViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ - (void)authStats {
}

NSMutableURLRequest *mRequest = [[NSMutableURLRequest alloc] init];
NSString *requestBody = [NSString stringWithFormat:@"log=%@&pwd=%@&redirect_to=http://wordpress.com",
NSString *requestBody = [NSString stringWithFormat:@"log=%@&pwd=%@&redirect_to=https://wordpress.com",
[username stringByUrlEncoding],
[password stringByUrlEncoding]];

Expand Down Expand Up @@ -382,7 +382,7 @@ - (void)loadStats {
blogID = [blog jetpackBlogID];
}

NSString *pathStr = [NSString stringWithFormat:@"http://wordpress.com/?no-chrome#!/my-stats/?blog=%@&unit=1", blogID];
NSString *pathStr = [NSString stringWithFormat:@"https://wordpress.com/my-stats/?no-chrome&blog=%@&unit=1", blogID];
NSMutableURLRequest *mRequest = [[NSMutableURLRequest alloc] init];
[mRequest setURL:[NSURL URLWithString:pathStr]];
[mRequest addValue:@"*/*" forHTTPHeaderField:@"Accept"];
Expand Down