Changeset 1929772
- Timestamp:
- 08/24/2018 03:15:07 PM (8 years ago)
- Location:
- site-info/trunk
- Files:
-
- 3 edited
-
alar-site-info.php (modified) (1 diff)
-
includes/constants.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
site-info/trunk/alar-site-info.php
r1924955 r1929772 4 4 * Plugin Name: Site Info 5 5 * Description: Discover your current versions for WordPress, PHP, plugins, themes, and various other server information. 6 * Version: 1. 0.06 * Version: 1.1.0 7 7 * Author: John Alarcon 8 8 * Author URI: https://twitter.com/realJohnAlarcon -
site-info/trunk/includes/constants.php
r1924955 r1929772 36 36 const MENU_POS = 66; 37 37 38 /** 39 * Now for paths and URLs. To get the relative path of the site root, we need to 40 * ensure that the get_home_path() function is available. That function provides 41 * the root path, even if the installation is in a sub-directory. To do this, we 42 * need to include the file ../wp-admin/includes/file.php where this function is 43 * defined. See: https://wordpress.stackexchange.com/a/188461 44 */ 45 if(!function_exists('get_home_path')) { 46 $inc_file_path = str_replace( 47 untrailingslashit(home_url()), 48 untrailingslashit(ABSPATH), 49 untrailingslashit(get_admin_url()) 50 ); 51 require_once $inc_file_path.'/includes/file.php'; 52 } 38 // Get the core file.php file. 39 require_once(ABSPATH.'wp-admin/includes/file.php'); 53 40 54 41 /** -
site-info/trunk/readme.txt
r1924934 r1929772 50 50 **I found a bug!** 51 51 Let me know on the support forum and I'll get it fixed. Please note that if you're requesting a "missing" feature, it won't necessarily be considered a bug. 52 53 == Changelog == 54 **1.1.0** 55 Fix Server Error 406 that occurred on some hosts due to including a local file via HTTP URL instead of relative path.
Note: See TracChangeset
for help on using the changeset viewer.