Plugin Directory

Changeset 2589116

Timestamp:
08/26/2021 10:43:17 AM (3 years ago)
Author:
s4gor
Message:

version 2.2.3

Location:
phpinfo-wp
Files:
20 added
4 edited

Legend:

Unmodified
Added
Removed
  • phpinfo-wp/trunk/js/scripts.js

    r2585546 r2589116  
    5555    }
    5656
    57     scrollBar.scrollTop = scrollBar.scrollHeight - scrollBar.clientHeight;
    58 
    5957}
    6058
  • 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  
    55Plugin URI: https://github.com/s4gor/phpinfo_wp
    66Description: A simple plugin to look up information about PHP and manage PHP configurations and directive values.
    7 Version: 2.2.2
     7Version: 2.2.
    88Author: Imran Hossain Sagor
    99Author URI: https://imransagor.codes
     
    5757            if ( isset( $_GET['phpinfowp-notice-dismissed'] ) ) {
    5858                add_user_meta( $user_id, 'phpinfowp_notice_dismissed', 'true', true );
     59
    5960            }
    6061        }
     
    8889
    8990        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">&#x2764;</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://" target="_blank">Buy Me a Coffee <span style="color: red">&#x2764;</span></a></span>';
    9192        }
    9293
  • phpinfo-wp/trunk/readme.txt

    r2587355 r2589116  
    44Requires at least: 4.7
    55Tested up to: 5.8
    6 Stable tag: 2.2.2
     6Stable tag: 2.2.
    77Requires PHP: 5.0
    88License: GPLv3
     
    2222== Updates ==
    2323
    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.
    2525
    2626== Screenshots ==
     
    4343See screenshot #1. Make sure site's root directory is writable to set or edit server configuration's directive values.
    4444
     45
     46
     47
     48
    4549== Change Log ==
     50
     51
     52
     53
    4654
    4755= 2.2.2 =
Note: See TracChangeset for help on using the changeset viewer.