Plugin Directory

Changeset 1052078


Ignore:
Timestamp:
12/23/2014 12:03:55 AM (11 years ago)
Author:
imforza
Message:

Update to 1.2.1

  • Added support for WP101
  • Set preferred default for DISALLOW_FILE_EDIT when possible
Location:
imforza-news/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • imforza-news/trunk/admin/wpengine.php

    r1037778 r1052078  
    1212    add_action( 'admin_init', 'imforzawpe_remove_menu_pages' );
    1313    add_action( 'admin_bar_menu', 'imforzawpe_remove_admin_bar_links', 999 );
    14     add_action('_admin_menu', 'imforzawpe_remove_editor_menu', 1);
    1514    add_action( 'admin_head', 'imforzawpe_hide_update_notice_to_all_but_admin_users', 1 );
    1615}
     
    3332 * Remove the Theme Editor
    3433 */
     34add_action('_admin_menu', 'imforzawpe_remove_editor_menu', 1);
    3535function imforzawpe_remove_editor_menu() {
    3636  remove_action('admin_menu', '_add_themes_utility_last', 101);
     
    4343        remove_action( 'admin_notices', 'update_nag', 3 );
    4444}
     45
     46
     47
     48
     49/* Disable Plugin & Editor Access */
     50if ( !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' ) {
     58if ( !defined('DISALLOW_FILE_MODS') ) {
     59    define( 'DISALLOW_FILE_MODS', true );
     60}
     61}
     62*/
     63
     64/* Specify maximum number of Revisions. */
     65/*
     66if ( !defined('WP_POST_REVISIONS')) {
     67    define( 'WP_POST_REVISIONS', '3' );
     68}
     69*/
     70
     71/* Empty Trash Days (Every 15) */
     72/*
     73if ( !defined('EMPTY_TRASH_DAYS')) {
     74    define( 'EMPTY_TRASH_DAYS', '15' );
     75}
     76*/
     77
  • imforza-news/trunk/imforza.php

    r1037778 r1052078  
    22/*
    33Plugin Name: imFORZA News
    4 Version: 1.2.0
     4Version: 1.2.1
    55Plugin URI: http://www.imforza.com/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=imforzanewsplugin
    66Description: 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.
     
    2929// Include WP Engine Cleanup
    3030include_once('admin/wpengine.php');
     31
     32// Include WP 101 Support
     33include_once('admin/wp101.php');
    3134
    3235################################################################################
  • imforza-news/trunk/readme.txt

    r1037778 r1052078  
    44Tags: news, imFORZA, realestate, marketing
    55Requires at least: 3.1
    6 Tested up to: 4.0
    7 Stable tag: 1.2.0
     6Tested up to: 4.1
     7Stable tag: 1.2.1
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    2222== Changelog ==
    2323
     24= 1.2.1 =
     25* Added support for WP101
     26* Set preferred default for DISALLOW_FILE_EDIT when possible
     27
    2428= 1.2.0 =
    2529* Added better WP Engine Support
Note: See TracChangeset for help on using the changeset viewer.