mysql Tag

Wordpress 2.6 introduces revisions to each post.

That actually caused my series plugin to break down, but that was fixed by me with two edits.

But the main part is that.. weirdly.. the Wordpress team didn’t put an option to disable these, as they can create useless data records. I, for one, like the feature, but I don’t see myself using that.

It’s neat for publishers and multi-user blogging, when people review and edit and add photos, etc.. one person at a time. But when there’s just one person doing it.. it’s close to useless. I couldn’t care less how this post looked like one day or one month ago..

So the only way to turn the feature off is to edit your wp-config.php file and put

define ('WP_POST_REVISIONS', 0);

But what about those revisions left in your database? Several posts look as if they found the true answer, but it’s one of those “The one who laughs last, laughs best” situations. Didn’t those people hear about post meta? Or about post terms (tags, categories, or series?! )?1

Here’s the proper way to clean your MySQL DB for Wordpress from post revisions.

Read the rest of this entry »

  1. No offense intended, just disappointment.. []

I’m publishing online my Bachelor Degree paper (thesis; ro. Lucrare de Licență).

Why? Several reasons. One of them is because I think it’s normal to publish your works. The others are all on a need-to-know basis ;)

I’d say it’s not great, ’cause it’s not what I wanted in the first place :) (things needed prioritization), but even so it’s still a good paper and project.

I liked the analysis part, in terms of management and effort/outcome ratio, along with adjusting the project to the needs.

Read the rest of this entry »

Andrei NECULAU is

Merely a living soul;
mostly one that survives.

Often seeing the best in people;
surely one that dies trying.

"i"

value, cherish, criticize, plan, enjoy, think

Topics

Topics

  • Written Posts:108
  • Written Words:68715
  • Received Comments:621
  • Feedback Words:32359

Quotes of Heart

It is more noble to give yourself completely to one individual than to labor diligently for the salvation of the masses. — Dag Hammarskjöld

Copyright © 2008 - Andrei Neculau
Ask permission forgiveness!

Archives

Categories