Plugin Directory

Changeset 1303359


Ignore:
Timestamp:
12/08/2015 10:56:12 PM (10 years ago)
Author:
imforza
Message:

1.4.0

  • Improved author check
Location:
imforza-news/trunk
Files:
4 edited

Legend:

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

    r1297618 r1303359  
    175175    if ( $current_user->user_login == 'imforza-dev') {
    176176
     177        $imforza_user_id = username_exists( 'imforza-dev' );
     178
    177179       ?>
    178180    <div class="error">
    179         <p><?php _e( 'Currently some posts, pages, or CPTs are assigned to the <strong>imforza-dev</strong> user. Please assign them to the appropriate author.', 'imforza-news' ); ?></p>
     181        <p><?php _e( 'Currently some <a href="edit.php?post_type=post&author='. $imforza_user_id .'">posts</a>, <a href="edit.php?post_type=page&author='. $imforza_user_id .'">pages</a>, <a href="edit.php?post_type=testimonial&author='. $imforza_user_id .'">testimonial</a>, or <a href="edit.php?post_type=listing&author='. $imforza_user_id .'">listings</a> are assigned to the <strong>imforza-dev</strong> user. Please assign them to the appropriate author.', 'imforza-news' ); ?></p>
    180182    </div>
    181183    <?php
     
    190192
    191193
    192 
    193 
    194 
  • imforza-news/trunk/imforza.php

    r1303305 r1303359  
    22/*
    33Plugin Name: imFORZA
    4 Version: 1.3.9
     4Version: 1.4.0
    55Plugin URI: //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.
     
    1515
    1616// Define Plugin Version
    17 define( 'IMFORZA_PLUGIN_VERSION', '1.3.9' );
     17define( 'IMFORZA_PLUGIN_VERSION', '1.4.0' );
    1818
    1919
     
    5555function imforza_activation() {
    5656
    57     update_option( 'imforza', array('version' => '1.3.9'));
     57    update_option( 'imforza', array('version' => '1.4.0'));
    5858
    5959    flush_rewrite_rules();
  • imforza-news/trunk/modules/jetpack.php

    r1303305 r1303359  
    1616        $jetpack_master_id = !empty($jetpack_options['master_user']);
    1717
     18        $current_user = wp_get_current_user();
    1819
    19     $current_user = wp_get_current_user();
    20 
    21     if ( $current_user->user_login == 'imforza-dev' && $current_user->ID == $jetpack_master_id ) {
     20        if ( $current_user->user_login == 'imforza-dev' && $current_user->ID == $jetpack_master_id ) {
    2221
    2322       ?>
     
    2827        }
    2928
    30   }
     29    }
    3130
    3231}
  • imforza-news/trunk/readme.txt

    r1303305 r1303359  
    55Requires at least: 4.0
    66Tested up to: 4.4
    7 Stable tag: 1.3.9
     7Stable tag: 1.4.0
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    2121
    2222== Changelog ==
     23
     24= 1.4.0 =
     25* Improved message for author checks
    2326
    2427= 1.3.9 =
Note: See TracChangeset for help on using the changeset viewer.