rightton.blogg.se

Wol total spaces
Wol total spaces




wol total spaces
  1. WOL TOTAL SPACES UPDATE
  2. WOL TOTAL SPACES CODE

This was an HTML code issue, not closing the div tag, which caused other widgets below to be absorbed into the same widget box. Found issue with closing columns on the widget.Corrected double folder for sites using WordPress in a subfolder.

WOL TOTAL SPACES UPDATE

  • 1.0.5 update killed data for sites not using WordPress in a subfolder.
  • Gets the absolute path using ABSPATH instead.
  • Fix for sites that return the home_path as /.
  • Updated admin footer to use in_admin_footer() instead of rebuilding footer with admin_footer_text().
  • Added check to exclude folders not readable.
  • Folder sizes are now cached for 60 minutes, to reduce overhead.
  • Corrected error caused by adding in cache setup.
  • Transitioned prior cache effort to using transients instead.
  • Updated to only run in the admin area, to increase frontend performance.
  • Corrected what broke the plugin in 1.1.5.
  • Applied speed boost, using transients earlier in output.
  • Replaced folder calculation function, should increase speed.
  • Replaced custom size calculation function with WP’s builtin size_format function.
  • Transient is now set prior to returning value.
  • Removed a few extra strange characters.
  • wol total spaces

    Cast both $memory_usage and $memory_limit to int, before rounding on line 127 in my-simple-space.php to fix debugging error.Ensure widget is only ever run on the dashboard page.Added \FilesystemIterator::FOLLOW_SYMLINKS to the inner RecursiveDirectoryIterator inside the mss_dir_size, which hopefully speeds up the calculation.Fixed issue in the mss_dir_size function which caused a fatal exception when it tries to access a file path, instead of a folder path.Stripping the 2 path variable lines on 220 & 221 (reverting change made in 1.2.4).Adjusted \FilesystemIterator::FOLLOW_SYMLINKS on line 227 to \FilesystemIterator::CURRENT_AS_FILEINFO, as it returned the same folder size for wp-content, themes & uploads.Added code to ensure trailing slash on path for mss_dir_size function.Reverted \FilesystemIterator::CURRENT_AS_FILEINFO back to \FilesystemIterator::FOLLOW_SYMLINKS on line 227 to attempt correcting a bug from 1.2.5.Stripped code to ensure trailing slash on path for mss_dir_size function as its unnecessary.Reverted \FilesystemIterator::FOLLOW_SYMLINKS back to \FilesystemIterator::CURRENT_AS_FILEINFO on line 227, as it does not fix anything.

    wol total spaces

    Updated code to use WP_CONTENT_DIR and WP_PLUGIN_DIR, as these can be changed by the site owner, to get correct paths.Adds wp-content if outside ABSPATH, which was added in 1.2.7, to the Entire Site calculation, as WP_CONTENT_DIR is configurable.Switched to \FilesystemIterator::SKIP_DOTS, as following symlinks causes errors on some hosting platforms. Corrected error in reverted \FilesystemIterator::FOLLOW_SYMLINKS.






    Wol total spaces