Plugin Directory

Changeset 5081


Ignore:
Timestamp:
02/12/2006 05:16:35 AM (21 years ago)
Author:
alexkingorg
Message:

why 'check_admin_referer' is active on non-admin pages now is beyond me...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • popularity-contest/trunk/popularity-contest.php

    r4111 r5081  
    44Plugin URI: http://www.alexking.org/software/wordpress/
    55Description: This will enable ranking of your posts by popularity; using the behavior of your visitors to determine each post's popularity. You set a value (or use the default value) for every post view, comment, etc. and the popularity of your posts is calculated based on those values. Once you have activated the plugin, you can configure the <a href="options-general.php?page=popularity-contest.php">Popularity Values</a> and <a href="index.php?page=popularity-contest.php">View Reports</a>. You can also use the included <a href="options-general.php?page=popularity-contest.php#akpc_template_tags">Template Tags</a> to display post popularity and lists of popular posts on your blog.
    6 Version: 1.1
     6Version: 1.2b
    77Author: Alex King
    88Author URI: http://www.alexking.org/
    … …  
    5353if (!function_exists('is_admin_page')) {
    5454        function is_admin_page() {
     55                if (function_exists('is_admin') {
     56                        return is_admin();
     57                }
    5558                if (function_exists('check_admin_referer')) {
    5659                        return true;
Note: See TracChangeset for help on using the changeset viewer.