Plugin Directory

Changeset 426019


Ignore:
Timestamp:
08/19/2011 08:27:23 PM (15 years ago)
Author:
btks
Message:

Version 0.1.3.2

Location:
wordpress-restrictions
Files:
2 edited
3 copied

Legend:

Unmodified
Added
Removed
  • wordpress-restrictions/tags/0.1.3.2/readme.txt

    r426006 r426019  
    55Requires at least: 3.1
    66Tested up to: 3.2.1
    7 Stable tag: 0.1.3.1
     7Stable tag: 0.1.3.2
    88
    99WordPress Restrictions allows you to set restrictions on when and what content can be edited/deleted on your WordPress Install.
  • wordpress-restrictions/tags/0.1.3.2/wp-restrictions.php

    r426006 r426019  
    44Plugin URI: http://sonicedges.com/plugins/wordpress-restrictions/
    55Description: With WordPress Restrictions, you can specify when and what content may be edited/deleted by Editors and/or Authors.
    6 Version: 0.1.3.1
     6Version: 0.1.3.2
    77Author: Brandon Smith
    88Author URI: http://sonicedges.com/
    99*/
    1010
    11 define('WP_REST_VERSION', '0.1.3.1');
     11define('WP_REST_VERSION', '0.1.3.2');
    1212define('WP_REST_CURR_DAY', date("j"));
    1313define('WP_REST_CURR_MONTH', date("n"));
     
    360360        $max_posts = $wp_restrictions[WP_REST_ROLE]['max_posts'];
    361361
    362         if ($post_count != '' && $post_count >= $wp_restrictions[WP_REST_ROLE]['max_posts']) {
     362        if ($max_posts != '' && $post_count >= $wp_restrictions[WP_REST_ROLE]['max_posts']) {
    363363            remove_submenu_page('edit.php', 'post-new.php');
    364364
  • wordpress-restrictions/trunk/readme.txt

    r426006 r426019  
    55Requires at least: 3.1
    66Tested up to: 3.2.1
    7 Stable tag: 0.1.3.1
     7Stable tag: 0.1.3.2
    88
    99WordPress Restrictions allows you to set restrictions on when and what content can be edited/deleted on your WordPress Install.
  • wordpress-restrictions/trunk/wp-restrictions.php

    r426006 r426019  
    44Plugin URI: http://sonicedges.com/plugins/wordpress-restrictions/
    55Description: With WordPress Restrictions, you can specify when and what content may be edited/deleted by Editors and/or Authors.
    6 Version: 0.1.3.1
     6Version: 0.1.3.2
    77Author: Brandon Smith
    88Author URI: http://sonicedges.com/
    99*/
    1010
    11 define('WP_REST_VERSION', '0.1.3.1');
     11define('WP_REST_VERSION', '0.1.3.2');
    1212define('WP_REST_CURR_DAY', date("j"));
    1313define('WP_REST_CURR_MONTH', date("n"));
     
    360360        $max_posts = $wp_restrictions[WP_REST_ROLE]['max_posts'];
    361361
    362         if ($post_count != '' && $post_count >= $wp_restrictions[WP_REST_ROLE]['max_posts']) {
     362        if ($max_posts != '' && $post_count >= $wp_restrictions[WP_REST_ROLE]['max_posts']) {
    363363            remove_submenu_page('edit.php', 'post-new.php');
    364364
Note: See TracChangeset for help on using the changeset viewer.