diff --git a/Service/Monitor.php b/Service/Monitor.php index d80b9f3..c244f9b 100644 --- a/Service/Monitor.php +++ b/Service/Monitor.php @@ -127,7 +127,7 @@ class Monitor { } // Google 前端公共库 if ( ! empty( $this->settings['admincdn']['googleajax'] ) ) { - $response = wp_remote_get( 'https://googleajax.admincdn.com/ajax/libs/jquery/3.5.1/jquery.min.js' ); + $response = wp_remote_get( 'https://googleajax.admincdn.com/ajax/libs/jquery/3.7.1/jquery.slim.min.js' ); if ( is_wp_error( $response ) || wp_remote_retrieve_response_code( $response ) != 200 ) { unset( $this->settings['admincdn']['googleajax'] ); $this->update_settings(); @@ -135,7 +135,7 @@ class Monitor { } // CDNJS 前端公共库 if ( ! empty( $this->settings['admincdn']['cdnjs'] ) ) { - $response = wp_remote_get( 'https://cdnjs.admincdn.com/jquery/3.5.1/jquery.min.js' ); + $response = wp_remote_get( 'https://cdnjs.admincdn.com/jquery/3.7.1/jquery.slim.min.js' ); if ( is_wp_error( $response ) || wp_remote_retrieve_response_code( $response ) != 200 ) { unset( $this->settings['admincdn']['cdnjs'] ); $this->update_settings(); diff --git a/assets/css/setting.css b/assets/css/setting.css index 5a1bfdb..99975fb 100644 --- a/assets/css/setting.css +++ b/assets/css/setting.css @@ -5,9 +5,11 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq #wpcontent, #wpfooter { background-color: #ffffff; } + #wpbody-content { padding-bottom: 10%; } + .notice { background-color: #f5f5f5; } @@ -74,6 +76,7 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq margin: 0 auto; line-height: 1.5; } + .settings-header .update-messages h2, .update-php h2, h4 { font-size: 15px; font-weight: 400; @@ -123,4 +126,4 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq .right-column { width: 30%; } -} \ No newline at end of file +}