Skip to content

Commit e472152

Browse files
committed
Use https when possible
1 parent e5b0e17 commit e472152

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

phpwpinfo.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -536,17 +536,17 @@ public function get_header() {
536536
$output .= '<meta charset="utf-8">' . "\n";
537537
$output .= '<meta name="robots" content="noindex,nofollow">' . "\n";
538538
$output .= '<title>PHP WordPress Info</title>' . "\n";
539-
$output .= '<link href="//maxcdn.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">' . "\n";
539+
$output .= '<link href="https//maxcdn.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">' . "\n";
540540
$output .= '<style>.table tbody tr.warning td{background-color:#FCF8E3;} .description{margin:-10px 0 20px 0;} caption{font-weight: 700;font-size: 18px}</style>' . "\n";
541-
$output .= '<!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]-->' . "\n";
541+
$output .= '<!--[if lt IE 9]> <script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]-->' . "\n";
542542
$output .= '</head>' . "\n";
543543
$output .= '<body style="padding:10px 0;">' . "\n";
544544
$output .= '<div class="container">' . "\n";
545545
$output .= '<div class="navbar">' . "\n";
546546
$output .= '<div class="navbar-inner">' . "\n";
547547
$output .= '<a class="brand" href="#">PHP WordPress Info</a>' . "\n";
548548
$output .= '<ul class="nav pull-right">' . "\n";
549-
$output .= '<li><a href="https://github.com/herewithme/phpwpinfo">Project on Github</a></li>' . "\n";
549+
$output .= '<li><a href="https://github.com/BeAPI/phpwpinfo">Project on Github</a></li>' . "\n";
550550

551551
if ( $this->db_link != false ) {
552552
$output .= '<li class="dropdown">' . "\n";
@@ -605,8 +605,8 @@ public function get_footer() {
605605

606606
$output .= '<footer>&copy; <a href="http://beapi.fr">BE API</a> ' . date( 'Y' ) . '</footer>' . "\n";
607607
$output .= '</div>' . "\n";
608-
$output .= '<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>' . "\n";
609-
$output .= '<script src="//maxcdn.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>' . "\n";
608+
$output .= '<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>' . "\n";
609+
$output .= '<script src="https://maxcdn.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>' . "\n";
610610
$output .= '</body>' . "\n";
611611
$output .= '</html>' . "\n";
612612

@@ -985,7 +985,7 @@ private function _check_request_mysql() {
985985
private function _check_request_adminer() {
986986
// Check GET for Install Adminer
987987
if ( isset( $_GET ) && isset( $_GET['adminer'] ) && $_GET['adminer'] == 'install' ) {
988-
$code = $this->file_get_contents_url( 'http://www.adminer.org/latest-mysql-en.php' );
988+
$code = $this->file_get_contents_url( 'https://www.adminer.org/latest-mysql-en.php' );
989989
if ( ! empty( $code ) ) {
990990
$result = file_put_contents( dirname( __FILE__ ) . '/adminer.php', $code );
991991
if ( $result != false ) {
@@ -1066,7 +1066,7 @@ function _check_request_wordpress() {
10661066
// Check GET for Install wordpress
10671067
if ( isset( $_GET ) && isset( $_GET['wordpress'] ) && $_GET['wordpress'] == 'install' ) {
10681068
if ( ! is_file( dirname( __FILE__ ) . '/latest.zip' ) ) {
1069-
$code = $this->file_get_contents_url( 'http://wordpress.org/latest.zip' );
1069+
$code = $this->file_get_contents_url( 'https://wordpress.org/latest.zip' );
10701070
if ( ! empty( $code ) ) {
10711071
$result = file_put_contents( dirname( __FILE__ ) . '/latest.zip', $code );
10721072
if ( $result == false ) {

0 commit comments

Comments
 (0)