WordPress 3.1.3 (and WordPress 3.2 Beta 2)

  • Post author:
  • Post category:Wordpress

WordPress 3.1.3 is available now and is a security update for all previous versions. It contains the following security fixes and enhancements:

  • Various security hardening by Alexander Concha.
  • Taxonomy query hardening by John Lamansky.
  • Prevent sniffing out user names of non-authors by using canonical redirects. Props Verónica Valeros.
  • Media security fixes by Richard Lundeen of Microsoft, Jesse Ou of Microsoft, and Microsoft Vulnerability Research.
  • Improves file upload security on hosts with dangerous security settings.
  • Cleans up old WordPress import files if the import does not finish.
  • Introduce “clickjacking” protection in modern browsers on admin and login pages. (more…)

Continue ReadingWordPress 3.1.3 (and WordPress 3.2 Beta 2)

WordPress 3.4 Released!

  • Post author:
  • Post category:Wordpress

WordPress 3.4 is here and out the door. We’ve dubbed this release “Green” in honor of guitarist Grant Green whose soulful simplicity has kept many of us company during this release.

This release includes significant improvements to theme customization, custom headers, Twitter embeds, and image captions — here’s a short clip with the highlights: (more…)

Continue ReadingWordPress 3.4 Released!

Automatically replace files when updating WordPress with Shell Script

  • Post author:
  • Post category:Wordpress

WordPress is quick and easy to install and update, but the quicker you can make these operations the better, right? If you have shell access to the server where your WordPress copy is installed, it is possible to perform all the operations in Step 1 of the Manual WordPress Update Procedure with the shell script below. It will save you a few minutes, which may seem too little, but is great if you maintain more than one copy of WordPress. That, however, is not the main reason to use a script like this. Its bigger advantage is reducing the possibility of human error by doing things by hand, at the prompt or with the mouse is the same. (more…)

Continue ReadingAutomatically replace files when updating WordPress with Shell Script

Belajar WordPress: Masalah wp_get_cache saat Upgrade WordPress 3.1

  • Post author:
  • Post category:Wordpress

Berkali-kali saya mencoba melakukan upgrading engine wordpress situs ini tapi selalu gagal. Mulai dari rilis beta 3.0.5 sampai rilis 3.1 sekarang. Setelah lama menyelami halaman forum WordPress akhirnya ketemu juga!

Masalah yang saya alami adalah error fatal disini:
[04-Mar-2011 01:20:00] PHP Fatal error: Call to undefined function wp_cache_get() in /home/emkawebi/public_html/wp-includes/functions.php on line 336
Rupanya salah satu plugin yang saya pake, WP-Hive belum kompatibel dengan rilis 3.1, dan cilakanya sang pengembang belum mengupdate sampai sekarang. Alhasil saya harus utak-atik source plugin itu, sampai pada akhirnya terilhami oleh sebuah diskusi di forum WordPress, maka saya mengedit: (more…)

Continue ReadingBelajar WordPress: Masalah wp_get_cache saat Upgrade WordPress 3.1

Types of WordPress Plugin

WordPress features a few different types and statuses for plugins, as shown in Figure 1 – 4. You need to understand the difference when administering and creating plugins for WordPress.

  • Active — Plugin is active and running in WordPress.
  • Inactive — Plugin is installed but not active. No code from the plugin is executed.
  • Must – Use — All plugins installed in the wp – content/mu – plugins directory. All Must – Use, or MU, plugins are loaded automatically. The only way to deactivate an MU plugin is to remove it completely from the directory.
  • Drop – ins — Core functionality of WordPress can be replaced by Drop – in plugins. These plugins are a specifi cally named PHP fi les located in the wp – content directory. If WordPress detects one of these fi les, it will be auto – loaded and listed under the Drop – in fi lter on the Plugin screen. Currently ten Drop – in plugins are available: (more…)

Continue ReadingTypes of WordPress Plugin

How Plugins Interact with WordPress

WordPress features many different APIs for use in your plugin. Each API, or application programming
interface, helps interact with WordPress in a different way. Following is a list of the main available
APIs in WordPress and their function:

  • Plugin — Provides a set of hooks that enable plugins access to specifi c parts of WordPress. WordPress contains two different types of hooks: Actions and Filters. The Action hook enables you to trigger custom plugin code at specifi c points during execution. For example, you can trigger a custom function to run after a user registers a user account in WordPress. The Filter hook to modifi es text before adding or after retrieving from the database.
  • Widgets — Create and manage widgets in your plugin. Widgets appear under the Appearance ➪ Widgets screen and are available to add to any registered sidebar in your theme. The API enables multiple instances of the same widget to be used throughout your sidebars. (more…)

Continue ReadingHow Plugins Interact with WordPress

Penampil Error dengan WP Admin Error Handler

  • Post author:
  • Post category:Wordpress

WP Admin Error Handler adalah plugin yang sangat berguna bagi anda yang menjalankan fungsi Debug WordPress, sehingga cukup banyak error yang ditampilkan oleh PHP. Plugin buatan om Gilbert Pellegrom ini sangat membantu melakukan tracking Error.

Contoh error notice pada WordPress:
Courtesy WPMU.org

Setelah plugin ini terinstall, WP Admin Error Handler akan menangkap keseluruhan error yang terjadi selama WordPress berjalan.
Courtesy: WPMU.org (more…)

Continue ReadingPenampil Error dengan WP Admin Error Handler

Rilis Akismet plugin 2.5.6!

  • Post author:
  • Post category:Wordpress

Tanggal 26 April 2012, tim pengembang Akismet, sebuah plugin anti-spam bawaan untuk WordPress kembali merilis versi terbaru dari aplikasinya, Akismet 2.5.6. Berikut adalah sejumlah perubahan pada versi 2.5.6 ini:

  • Pencegahan rescheduling aksi jika wp_cron rusak
  • Preload mshot previews
  • Modernisasi kode widget sidebar
  • Fix a bug where comments were not held for moderation during an error condition
  • Improve the UX and display when comments are temporarily held due to an error
  • Make the Check For Spam button force a retry when comments are held due to an error
  • Handle errors caused by an invalid key
  • Don’t retry comments that are too old
  • Improve error messages when verifying an API key

(more…)

Continue ReadingRilis Akismet plugin 2.5.6!