Changeset 2589116
- Timestamp:
- 08/26/2021 10:43:17 AM (5 years ago)
- Location:
- phpinfo-wp
- Files:
-
- 20 added
- 4 edited
-
tags/2.2.3 (added)
-
tags/2.2.3/assets (added)
-
tags/2.2.3/assets/images (added)
-
tags/2.2.3/assets/images/top.png (added)
-
tags/2.2.3/css (added)
-
tags/2.2.3/css/style.css (added)
-
tags/2.2.3/css/style.css.map (added)
-
tags/2.2.3/css/style.less (added)
-
tags/2.2.3/css/style.min.css (added)
-
tags/2.2.3/css/style.min.css.map (added)
-
tags/2.2.3/index.php (added)
-
tags/2.2.3/js (added)
-
tags/2.2.3/js/scripts.js (added)
-
tags/2.2.3/js/scripts.min.js (added)
-
tags/2.2.3/license.txt (added)
-
tags/2.2.3/phpinfo-wp.php (added)
-
tags/2.2.3/readme.txt (added)
-
tags/2.2.3/uninstall.php (added)
-
tags/2.2.3/views (added)
-
tags/2.2.3/views/views.php (added)
-
trunk/js/scripts.js (modified) (1 diff)
-
trunk/js/scripts.min.js (modified) (1 diff)
-
trunk/phpinfo-wp.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
phpinfo-wp/trunk/js/scripts.js
r2585546 r2589116 55 55 } 56 56 57 scrollBar.scrollTop = scrollBar.scrollHeight - scrollBar.clientHeight;58 59 57 } 60 58 -
phpinfo-wp/trunk/js/scripts.min.js
r2585546 r2589116 1 "use strict";function main(){var topButton=document.getElementById("topButton-phpinfo-WP");var tabcontent=document.getElementsByClassName("tabcontent");var tablinks=document.getElementsByClassName("tablinks");var scrollBar=document.getElementById("dau-console");function showButton(){if(topButton!==null){if(document.body.scrollTop>400||document.documentElement.scrollTop>400){topButton.style.display="block"}else{topButton.style.display="none"}}}window.onscroll=function(){showButton()};function goTop(){document.body.scrollTop=0;document.documentElement.scrollTop=0}if(topButton!==null){topButton.addEventListener("click",goTop)}function manageContent(){for(let i=0;i<tabcontent.length;i++){tabcontent[i].style.display="none"}for(let i=0;i<tablinks.length;i++){tablinks[i].className=tablinks[i].className.replace(" active","")}}let i;for(let link of tablinks){link.addEventListener("click",()=>{manageContent();if(link.id=="log-tab")i=3;else if(link.id=="info-tab")i=2;else if(link.id=="extension-tab")i=1;else i=0;document.getElementById(tabcontent[i].id).style.display="block";event.currentTarget.className+=" active"})} scrollBar.scrollTop=scrollBar.scrollHeight-scrollBar.clientHeight}if(document.getElementById("phpinfo-wp")!=null){main()}1 "use strict";function main(){var topButton=document.getElementById("topButton-phpinfo-WP");var tabcontent=document.getElementsByClassName("tabcontent");var tablinks=document.getElementsByClassName("tablinks");var scrollBar=document.getElementById("dau-console");function showButton(){if(topButton!==null){if(document.body.scrollTop>400||document.documentElement.scrollTop>400){topButton.style.display="block"}else{topButton.style.display="none"}}}window.onscroll=function(){showButton()};function goTop(){document.body.scrollTop=0;document.documentElement.scrollTop=0}if(topButton!==null){topButton.addEventListener("click",goTop)}function manageContent(){for(let i=0;i<tabcontent.length;i++){tabcontent[i].style.display="none"}for(let i=0;i<tablinks.length;i++){tablinks[i].className=tablinks[i].className.replace(" active","")}}let i;for(let link of tablinks){link.addEventListener("click",()=>{manageContent();if(link.id=="log-tab")i=3;else if(link.id=="info-tab")i=2;else if(link.id=="extension-tab")i=1;else i=0;document.getElementById(tabcontent[i].id).style.display="block";event.currentTarget.className+=" active"})}}if(document.getElementById("phpinfo-wp")!=null){main()} -
phpinfo-wp/trunk/phpinfo-wp.php
r2587355 r2589116 5 5 Plugin URI: https://github.com/s4gor/phpinfo_wp 6 6 Description: A simple plugin to look up information about PHP and manage PHP configurations and directive values. 7 Version: 2.2. 27 Version: 2.2.3 8 8 Author: Imran Hossain Sagor 9 9 Author URI: https://imransagor.codes … … 57 57 if ( isset( $_GET['phpinfowp-notice-dismissed'] ) ) { 58 58 add_user_meta( $user_id, 'phpinfowp_notice_dismissed', 'true', true ); 59 header("Location: " . admin_url( 'tools.php?page=phpinfo_wp' )); 59 60 } 60 61 } … … 88 89 89 90 public function footer_notice(){ 90 echo '<span id="footer-thankyou">Thank you for using <a href="https://wordpress.org/plugins/phpinfo-wp/">phpinfo() WP</a>. <a href="https:// imransagor.codes/buy-me-a-coffee" target="_blank">Buy Me a Coffee <span style="color: red">❤</span></a></span>';91 echo '<span id="footer-thankyou">Thank you for using <a href="https://wordpress.org/plugins/phpinfo-wp/">phpinfo() WP</a>. <a href="https://www.paypal.com/donate?hosted_button_id=LV33MVDQUBSYY" target="_blank">Buy Me a Coffee <span style="color: red">❤</span></a></span>'; 91 92 } 92 93 -
phpinfo-wp/trunk/readme.txt
r2587355 r2589116 4 4 Requires at least: 4.7 5 5 Tested up to: 5.8 6 Stable tag: 2.2. 26 Stable tag: 2.2.3 7 7 Requires PHP: 5.0 8 8 License: GPLv3 … … 22 22 == Updates == 23 23 24 Added .htaccess page in order to edit or set directive values of your server configurations like max_file_uploads, upload_max_filesize, etc.24 Make .htaccess editor safe to edit .htaccess file. In case if any kind of wrong code is been written in .htaccess editor, editor won't accept that code and will show a error. 25 25 26 26 == Screenshots == … … 43 43 See screenshot #1. Make sure site's root directory is writable to set or edit server configuration's directive values. 44 44 45 = Why my site is showing Internal Server Error 500 after editing .htaccess file? = 46 47 Relax, nothing has happend. Safe edit feature for editing .htaccess file has been added from version 2.0. In case you are using older version than 2.0. Don't worry. Enter to your hosting site. Go to File Manager. Edit .htaccess file which is located at the root folder of you site's directory. Delete the code which is faulty. Save and site will be ok. 48 45 49 == Change Log == 50 51 = 2.2.3 = 52 Fixed JS errors 53 Fixed major PHP errors 46 54 47 55 = 2.2.2 =
Note: See TracChangeset
for help on using the changeset viewer.