Archive

Uncategorized

I’ve fixed the bug I found yesterday! The current version of the script is now v.1.3.1; you should be updated to it automatically, or you can reinstall it yourself to get the current version.

The bookmarklet has also been updated. Either make a new bookmark at the workaround summary list or update it to this code:

javascript:(function(){var p=location.pathname.match(/(post|page)(\/(\d+)\/(\d+|new))?/);location.replace((p[4]=='new')?(jQuery('.site.blog-select-click.is-selected').attr('data-blogurl')+'/wp-admin/post-new.php?post_type='+p[1]):jQuery('.switch-to-classic>a').attr('href'))})()

How I fixed it →

It has recently come to my attention that those of you with private and Jetpack-enabled blogs using my script to redirect to the classic editor may have noticed that the script no longer works; you end up in an infinite loop. This is because the link that the script scrapes from the page has been rendered useless. Those using the bookmarklet are also affected.

I’ll see what I can do, but considering I had this issue when I first made the script, finding a solution will be difficult. However, I do have an idea that might work, but it still won’t work for Jetpack sites whose site root is different from the installation root. To anyone who can figure it out, please leave a comment or submit a patch (work from the dev branch).

I’m an artist who can’t draw. I feel the need for art, the need to create, the need to make things and put my vision into some form that other people can see, but I don’t have an artistic bone in my body, as far as conventional arts are concerned. I’m just not wired that way. But I know what artists feel, and what they dream, and what it is like to be “in the zone”, because I feel it when I create software. Programming is my art.

If software were just a mechanical work, then anyone could build it. There would be no need for programmers. Microsoft could fire a hell of a lot of people and replace them with a few scripts. They haven’t yet.

Worldwalker

Happy Chinese New Year! This time around, it’s the year of the horse.

Why is there a separate new year for the Chinese, and why does it change every year? Simply put, the Chinese calendar is a lunisolar calendar, which is based on the cycles of both the moon and sun.

Don’t forget to comb your hair down, and wear a red polo and some beige/khaki slacks (a.k.a. “check out these pants” pants)! (Funny, I can’t seem to find an image. My friend came up with this idea a few years ago of making Chinese New Year “Dress like an Asian” Day; rest assured, neither of us are being racist).