Changeset 426006
- Timestamp:
- 08/19/2011 07:32:41 PM (15 years ago)
- Location:
- wordpress-restrictions
- Files:
-
- 2 edited
- 3 copied
-
tags/0.1.3.1 (copied) (copied from wordpress-restrictions/trunk)
-
tags/0.1.3.1/readme.txt (copied) (copied from wordpress-restrictions/trunk/readme.txt) (1 diff)
-
tags/0.1.3.1/wp-restrictions.php (copied) (copied from wordpress-restrictions/trunk/wp-restrictions.php) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wp-restrictions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-restrictions/tags/0.1.3.1/readme.txt
r425987 r426006 5 5 Requires at least: 3.1 6 6 Tested up to: 3.2.1 7 Stable tag: 0.1.3 7 Stable tag: 0.1.3.1 8 8 9 9 WordPress 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.1/wp-restrictions.php
r425987 r426006 4 4 Plugin URI: http://sonicedges.com/plugins/wordpress-restrictions/ 5 5 Description: With WordPress Restrictions, you can specify when and what content may be edited/deleted by Editors and/or Authors. 6 Version: 0.1.3 6 Version: 0.1.3.1 7 7 Author: Brandon Smith 8 8 Author URI: http://sonicedges.com/ 9 9 */ 10 10 11 define('WP_REST_VERSION', '0.1.3 ');11 define('WP_REST_VERSION', '0.1.3.1'); 12 12 define('WP_REST_CURR_DAY', date("j")); 13 13 define('WP_REST_CURR_MONTH', date("n")); … … 360 360 $max_posts = $wp_restrictions[WP_REST_ROLE]['max_posts']; 361 361 362 if ($post_count >= $wp_restrictions[WP_REST_ROLE]['max_posts']) {362 if ($post_count != '' && $post_count >= $wp_restrictions[WP_REST_ROLE]['max_posts']) { 363 363 remove_submenu_page('edit.php', 'post-new.php'); 364 364 -
wordpress-restrictions/trunk/readme.txt
r425987 r426006 5 5 Requires at least: 3.1 6 6 Tested up to: 3.2.1 7 Stable tag: 0.1.3 7 Stable tag: 0.1.3.1 8 8 9 9 WordPress 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
r425987 r426006 4 4 Plugin URI: http://sonicedges.com/plugins/wordpress-restrictions/ 5 5 Description: With WordPress Restrictions, you can specify when and what content may be edited/deleted by Editors and/or Authors. 6 Version: 0.1.3 6 Version: 0.1.3.1 7 7 Author: Brandon Smith 8 8 Author URI: http://sonicedges.com/ 9 9 */ 10 10 11 define('WP_REST_VERSION', '0.1.3 ');11 define('WP_REST_VERSION', '0.1.3.1'); 12 12 define('WP_REST_CURR_DAY', date("j")); 13 13 define('WP_REST_CURR_MONTH', date("n")); … … 360 360 $max_posts = $wp_restrictions[WP_REST_ROLE]['max_posts']; 361 361 362 if ($post_count >= $wp_restrictions[WP_REST_ROLE]['max_posts']) {362 if ($post_count != '' && $post_count >= $wp_restrictions[WP_REST_ROLE]['max_posts']) { 363 363 remove_submenu_page('edit.php', 'post-new.php'); 364 364
Note: See TracChangeset
for help on using the changeset viewer.