Viewing 16 replies (of 16 total)
  • @manuel Razzari Yes, a comment would make me happy ??

    In my particular use case, I only want to purge revisions for a small fixed set of “system” blogs. The potentially large number of user-created blogs have revisions limited to 20, and I never plan to purge them. So the time needed to run the script is not a major concern.

    BTW, my multi-site is based on subdirectories rather than subdomains, so I had to select path as well as blog_id and domain in the get_results call on the $wp_>blogs table, and display it along with the domain in the output, in order to make the output meaningful.

Viewing 16 replies (of 16 total)
  • The topic ‘Deleting Post Revisions: do NOT use the a,b,c JOIN code you see everywhere’ is closed to new replies.