Reparare WP-PostViews care nu mai contorizeaza in WP 2.9.*

Recent mi-am facut upgrade la versiunea de WordPress si am constatat ca acele vizualizari ramaneau la 0, nu mai erau contorizate.

Rezolvarea este simpla.

1. Editati /wp-content/wp-postviews/wp-postviews.php si la linia 62 adaugati

if (is_int($post)) {
      $post = get_post($post);
   }

Comments

comments

Author: ionut_d

4 thoughts on “Reparare WP-PostViews care nu mai contorizeaza in WP 2.9.*

  1. Am facut upgrade. Am dat de e eroare la “Cache Translation Object”: ” Translation object already exists! Plugin collision?”. S-a rezolvat prin dezactivarea pluginului – oricum folosesc wp supercache.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.