@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/portfolio/lh-disk-usage/>
  a sioc:Post ;
  dc:title "Admin screens" ;
  dcterms:identifier 151754 ;
  dc:modified "2026-10-19T12:01:42Z"^^xsd:dateTime ;
  dc:created "2026-10-19T12:01:42Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-disk-usage/admin-screens/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded """<ul class="lh_portfolio-meta"><li><strong>Part of:</strong> <a href="https://lhero.org/portfolio/lh-disk-usage/">LH Disk Usage</a></li></ul>
<h2 class="wp-block-heading">Site screens</h2>



<p class="wp-block-paragraph">Every site screen needs <code>manage_options</code> by default (filter <code>lh_disk_usage_return_capability</code>).</p>



<ul class="wp-block-list">
<li><strong>Media &gt; Library (list view):</strong> a File size column with the attached file&#8217;s size and, beneath it, the combined size of its variants. The column sorts by total size, largest first on the first click; attachments not yet measured stay in the list and show a dash.</li>



<li><strong>Attachment edit screen and media modal:</strong> a read-only Disk usage field with the original, variants and total, and a table of every variant (size name, file, dimensions, size). It is measured live, so it is correct even before the background measurement reaches that attachment.</li>



<li><strong>Tools &gt; Disk Usage:</strong> the media library total, a breakdown by MIME type group, a notice while attachments are still being measured, and the 20 largest attachments with links to edit them.</li>
</ul>



<h2 class="wp-block-heading">Network screen</h2>



<p class="wp-block-paragraph">Network Tools &gt; Disk Usage, on multisite only, needs <code>install_plugins</code> (filter <code>lh_disk_usage_return_network_capability</code>). It says which driver is in use, du or PHP.</p>



<ul class="wp-block-list">
<li><strong>Sites:</strong> each site&#8217;s uploads directory on disk, its measured media library and attachment count, and when it was measured, with network totals. Each site name links to that site&#8217;s Tools &gt; Disk Usage. Measure sites now runs a pass straight away; a <code>+</code> means a measurement hit the time limit.</li>



<li><strong>Install scans:</strong> choose a directory (install, wp-content, uploads, plugins or themes) and a depth of 1 to 4. Each scan is saved as a snapshot; opening one shows a sunburst chart, a table of its top-level directories with their share, and every file over 10 MB.</li>



<li><strong>Media Library File Size leftovers:</strong> shown only while any of that plugin&#8217;s post meta remains on any site, with a button that removes it from every site.</li>
</ul>
"""^^rdf:XMLLiteral ;
  sioc:content """Part of: LH Disk Usage
Site screens



Every site screen needs manage_options by default (filter lh_disk_usage_return_capability).




Media &gt; Library (list view): a File size column with the attached file&#8217;s size and, beneath it, the combined size of its variants. The column sorts by total size, largest first on the first click; attachments not yet measured stay in the list and show a dash.



Attachment edit screen and media modal: a read-only Disk usage field with the original, variants and total, and a table of every variant (size name, file, dimensions, size). It is measured live, so it is correct even before the background measurement reaches that attachment.



Tools &gt; Disk Usage: the media library total, a breakdown by MIME type group, a notice while attachments are still being measured, and the 20 largest attachments with links to edit them.




Network screen



Network Tools &gt; Disk Usage, on multisite only, needs install_plugins (filter lh_disk_usage_return_network_capability). It says which driver is in use, du or PHP.




Sites: each site&#8217;s uploads directory on disk, its measured media library and attachment count, and when it was measured, with network totals. Each site name links to that site&#8217;s Tools &gt; Disk Usage. Measure sites now runs a pass straight away; a + means a measurement hit the time limit.



Install scans: choose a directory (install, wp-content, uploads, plugins or themes) and a depth of 1 to 4. Each scan is saved as a snapshot; opening one shows a sunburst chart, a table of its top-level directories with their share, and every file over 10 MB.



Media Library File Size leftovers: shown only while any of that plugin&#8217;s post meta remains on any site, with a button that removes it from every site.

""" ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
