Rant WordPress Writings

How to Disable Autosave in WordPress

The autosave feature in recent versions of WordPress (versions 2.5–2.7) is actually a misfeature:

… A misfeature is not a bug. Nor is it a simple unforeseen side effect; the term implies that the feature in question was carefully planned, but its long-term consequences were not accurately or adequately predicted (which is quite different from not having thought ahead at all).

The improper functioning of the WordPress autosave has bitten me several times. It’s supposed to prevent you from losing work by periodically saving your blog edits in the background, when in fact it has caused me to lose work by its very operation.

[WordPress Logo Inverted]

Basically, the most recent edits made to a blog entry often get dropped when you go to “Preview” or “Publish” the entry. In other words, during either of these two operations, it reverts you to what it had autosaved in the past and the new edits are lost. The frustrating thing is that most users would expect the “Preview” operation if not the “Publish” operation to properly save what’s in the edit box. So often, you might end up publishing an incomplete or incorrect version of your blog entry without even knowing it.

This is madness. Let’s stop it.

Find the following four files in the wp-admin/ directory of your WordPress installation:

  1. page-new.php
  2. page.php
  3. post-new.php
  4. post.php

and comment out the following line:


by changing it to:


This will disable the autosave feature in the WordPress user interface.

A secondary part of the solution, too, is to always hit “Save Draft” before hitting “Preview”. I’m not sure if this is strictly necessary, but now I’m paranoid.

Thanks to Allen Day and William Lone for showing me how to do this.

Science of Mind Spirituality Writings

How to Relax Your Body Through Your Thoughts

Thoughts are Energy

Have you ever had that feeling in your gut when someone close to you is about to tell you bad news? Or what about the pit in your stomach when you know you have to face something that you know you don’t want to face? Well, behind these feelings and physical sensations are thoughts. These thoughts are sometimes conscious and oftentimes subconscious, but they are there.

These feelings and the thoughts behind them demonstrate that thoughts are energy. The thoughts that we hold in our consciousness, and those that lie below the level of consciousness, have an effect on our emotional lives. Through them, we can be lifted up and “energized” or be brought into states of fear and anxiety. Where you end up on this scale depends on the level of spiritual consciousness of the thought itself.

A Way to Relaxation

[Cultural Creative Figure]

Along these lines, then, we can find way to achieve relaxation and calm the body through conscious thought. Basically, ask yourself the question, “What does gratefulness feel like?” Now, this is not a question for the intellect, to be mulled over and processed by the thinking mind. No, hand your awareness over to your body as you enter the state of being grateful.

How do you do that? Well, this may be slightly different for every one of you, but I start by thinking about things I am grateful for. That is, I enumerate the wonderful things in my life, from the exceptional to the mundane. But the key is this: I don’t stay at the level of the thinking mind. Instead, as I bring each thing into conscious thought, I start to pay attention to how I feel—in my body. In other words, I shift my attention from the mental image to the sensation in my chest (or in my heart or in my forehead). For me, this immediately shuts off the thinking mind and allows me to enter into the awareness of who I AM—the thinker behind the thought.


Now, as you read this, I encourage you to give it a try. Examine for yourself what gratefulness feels like and where it shows up in your body. How does it differ from the feeling of universal love? Which emotions work best for you as a way to connect with and relax your body?

As you practice and become increasingly familiar with this method of relaxation and meditation, you can start to use it in your daily life to change how you feel in any situation. You can shift your thoughts to what you want to focus on and to the emotional state you wish to achieve in any given moment.