Changeset 1052078
- Timestamp:
- 12/23/2014 12:03:55 AM (11 years ago)
- Location:
- imforza-news/trunk
- Files:
-
- 1 added
- 3 edited
-
admin/wp101.php (added)
-
admin/wpengine.php (modified) (3 diffs)
-
imforza.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
imforza-news/trunk/admin/wpengine.php
r1037778 r1052078 12 12 add_action( 'admin_init', 'imforzawpe_remove_menu_pages' ); 13 13 add_action( 'admin_bar_menu', 'imforzawpe_remove_admin_bar_links', 999 ); 14 add_action('_admin_menu', 'imforzawpe_remove_editor_menu', 1);15 14 add_action( 'admin_head', 'imforzawpe_hide_update_notice_to_all_but_admin_users', 1 ); 16 15 } … … 33 32 * Remove the Theme Editor 34 33 */ 34 add_action('_admin_menu', 'imforzawpe_remove_editor_menu', 1); 35 35 function imforzawpe_remove_editor_menu() { 36 36 remove_action('admin_menu', '_add_themes_utility_last', 101); … … 43 43 remove_action( 'admin_notices', 'update_nag', 3 ); 44 44 } 45 46 47 48 49 /* Disable Plugin & Editor Access */ 50 if ( !defined('DISALLOW_FILE_EDIT')) { 51 define( 'DISALLOW_FILE_EDIT', true ); 52 } 53 54 55 /* Disable Plugin & Theme Update/Install */ 56 /* 57 if ( $current_user->user_login != 'wpengine' && $current_user->user_login != 'imforza-dev' && $current_user->user_login != 'imforza-devs' ) { 58 if ( !defined('DISALLOW_FILE_MODS') ) { 59 define( 'DISALLOW_FILE_MODS', true ); 60 } 61 } 62 */ 63 64 /* Specify maximum number of Revisions. */ 65 /* 66 if ( !defined('WP_POST_REVISIONS')) { 67 define( 'WP_POST_REVISIONS', '3' ); 68 } 69 */ 70 71 /* Empty Trash Days (Every 15) */ 72 /* 73 if ( !defined('EMPTY_TRASH_DAYS')) { 74 define( 'EMPTY_TRASH_DAYS', '15' ); 75 } 76 */ 77 -
imforza-news/trunk/imforza.php
r1037778 r1052078 2 2 /* 3 3 Plugin Name: imFORZA News 4 Version: 1.2. 04 Version: 1.2.1 5 5 Plugin URI: http://www.imforza.com/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=imforzanewsplugin 6 6 Description: imFORZA is a Web Design and Marketing company based out of El Segundo, CA. Get quick access to imFORZA Support and the latest marketing news. … … 29 29 // Include WP Engine Cleanup 30 30 include_once('admin/wpengine.php'); 31 32 // Include WP 101 Support 33 include_once('admin/wp101.php'); 31 34 32 35 ################################################################################ -
imforza-news/trunk/readme.txt
r1037778 r1052078 4 4 Tags: news, imFORZA, realestate, marketing 5 5 Requires at least: 3.1 6 Tested up to: 4. 07 Stable tag: 1.2. 06 Tested up to: 4.1 7 Stable tag: 1.2.1 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 22 22 == Changelog == 23 23 24 = 1.2.1 = 25 * Added support for WP101 26 * Set preferred default for DISALLOW_FILE_EDIT when possible 27 24 28 = 1.2.0 = 25 29 * Added better WP Engine Support
Note: See TracChangeset
for help on using the changeset viewer.