Tech from Hel
Helene's ramblings on Wordpress, jQuery and other web technologies.
rss
twitter
  • About
  • Projects

Archive for the ‘Blogging’ Category

A Fine Fix for “get_currentuserinfo undefined”

no comments
Posted on Mar 24 2010 by helene

If you write a Wordpress plugin that calls the function “get_currentuserinfo()”, you should be aware that this could trigger the fatal error, “get_currentuserinfo undefined’, in some Wordpress configurations. Depending on what your plugin does, this error could impact a Wordpress site’s display, so it is important to prevent it from ever happening.

One fix (as published by several WP bloggers) is to edit your plugin to add the code, include "/wp-includes/pluggable.php", manually before you call “get_currentuserinfo()” (or other Wordpress user functions). This methods works in most cases, but it runs the risk of causing an irreconcilable conflict with any membership or user management plugins that may be installed on the same site.

A better fix is to include a priority argument with your plugin hook function… Read more.


Read More

  Tags: fatal error, get_currentuserinfo, wordpress Category: Blogging, Plugins

WordPress 2.6 Crashes Safari

no comments
Posted on Jul 25 2008 by helene

Soon after I upgraded to Wordpress 2.6, I discovered that the Wordpress' dashboard and post/page editor cause the Safari 1.3 browser to crash. Though other Wordpress 2.6 admin functions continue to work fine in Safari 1.3, including the widget functions, without the Dashboard, users can't login, and without the post/page editor, users can't update their blog. This makes Wordpress 2.6 completely unusable in Safari 1.3.

A quick search of the forums showed that this problem has cropped up for other Wordpress users and that it may extend to Safari 2 as well. Here what one user had to say on wordpress.com forums.

Read more.


Read More

  Tags: crash, safari browser, wordpress Category: Blogging

Installing A More Secure WordPress

no comments
Posted on Jun 4 2008 by helene

Step-by-Step Instructions to Install and Configure WordPress with Better Security

When I went looking for a blogging software, I checked user ratings, server requirements, amount of documentation, available CSS templates and plugins, and did a test install of a few blogs. In the end I chose to go with WordPress because it was one of the easiest to install (it worked on the first try), it had built-in CMS (content management) capability, it had the best documentation, the most plugins, and lots of freely available CSS templates.

I installed and configured WordPress as CMS and blog for my existing website. I put WordPress in a subdirectory of my site's root directory because this is more secure and did not overwrite my existing web documents and applications. The install went smoothly and afterwards, I was delighted to find that the URLs for my other web documents and applications continued to work seamlessly, without interference from WordPress.

Below are instructions to install your own copy of WordPress on a new or existing site, with improved security…

Read more…


Read More

  Tags: security, wordpress Category: Blogging

Categories

  • Blogging
  • javascript
  • Miscellaneous
  • Multimedia
  • MySQL
  • Plugins

Recent Posts

  • WassUp Works Well with WP Widget Cache
  • CTRL+Z Undo: The Keyboard Shortcut You Can’t Do Without
  • A Fine Fix for “get_currentuserinfo undefined”
  • Optimize with MySQL Procedure Analyse
  • Sleeping with Javascript

Popular Posts

  • Horizontal Submenus for Wordpress Admin Plugins
  • Flv Videos in a Thickbox
  • YouTube Videos in a Thickbox
  • Sleeping with Javascript
  • Installing a More Secure Wordpress

Archives

Ads


  • About
  • Projects
Powered by Wordpress  |  Designed by WebTreats