2012-04-08, 05:52:10
@Carlos: I18N now generates a sitemap (in most cases), see here.
@ccagle8, n00dles101: it's easy in 3.0 (just change the link of the "Generate Sitemap" menu), but nearly impossible in 3.1: e.g.
@ccagle8, n00dles101: it's easy in 3.0 (just change the link of the "Generate Sitemap" menu), but nearly impossible in 3.1: e.g.
- for page save I use the changedata-aftersave action, generate the sitemap, do the same as in changedata.php, but without calling generate_sitemap and die.
- for page delete and save settings, I regenerate the sitemap correctly afterwards on an action hook
- for restoring a page there is no hook - I can't generate the correct sitemap in that case.