tott/WordPress-CLI-Exporter — pull request #1 by tollmanz (2011-11-13 20:18:10+00:00)
Title: Made script compatible with single site installations of WordPress

Use of the "get_blogaddress_by_id" and "get_blog_id_from_url" led to
fatal errors in single site installations of WordPress. These functions
were wrapped in conditionals to test for multisite environment and
fallback functions were added if the environment is not multisite.