Page View Count source code

By Steve Truman, on WordPress.org since 2012. 10,000+ active installs.

Browse code Download zip

A beautifully simple to set up plugin that gives site visitors and site owners the ability to quickly and easily see how many people have visited that page or post. Below is its source code for every one of its 75 releases, what changed in the latest one, and how often it ships.

What changed in 2.9.2

Released Jul 9, 2026, 1 month after 2.9.1
  • This maintenance release applies security hardening and minor code tidy-ups.
  • Hardening – Restrict admin AJAX actions to authorized users and remove the unauthenticated hook
  • Hardening – Limit the number of IDs processed per page view count request
  • Tweak – Enable SSL verification on outbound API requests
  • Tweak – Remove deprecated get_magic_quotes_gpc() usage for PHP 8 compatibility
  • Tweak – Remove redundant output in the page view AJAX handlers

6 files changed since 2.9.1: 6 modified, 0 added, 0 removed.

Compare 2.9.1 with 2.9.2

Release history

75 releases since January 2013
  1. 2.9.2 Jul 9, 2026 This maintenance release applies security hardening and minor code tidy-ups.
  2. 2.9.1 Jun 1, 2026 This maintenance release adds compatibility with PHP 8.5.
  3. 2.9.0 Apr 14, 2026 This maintenance release has bug fixes and compatibility with WordPress 7.0
  4. 2.8.7 Dec 2, 2025 This maintenance release has 2 user identified code bug fixes.
  5. 2.8.6 Apr 28, 2025 This maintenance release has a bug fix that was introduced in security patch release 2.8.5 earlier today.
Full Page View Count changelog with diffs

Source of 2.9.2

170 files
Browse all Page View Count 2.9.2 files Browse trunk