Changeset 1333328
- Timestamp:
- 01/22/2016 01:46:09 AM (10 years ago)
- Location:
- imforza-news/trunk
- Files:
-
- 4 edited
-
admin/dashboard.php (modified) (2 diffs)
-
admin/users.php (modified) (2 diffs)
-
imforza.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
imforza-news/trunk/admin/dashboard.php
r1333226 r1333328 202 202 $current_user = wp_get_current_user(); 203 203 204 if ( $current_user->user_login !== 'imforza-dev'){204 if ( get_the_author_meta( 'imforza_support_popup', $current_user->ID ) == 1 ){ 205 205 ?> 206 206 … … 211 211 212 212 <?php 213 } else { 214 213 215 } 214 216 } -
imforza-news/trunk/admin/users.php
r1303359 r1333328 108 108 </tr> 109 109 110 111 112 <tr> 113 <th><label for="tracking">Enable Support Feature</label></th> 114 115 <td> 116 117 <select id="imforza_support_popup" name="imforza_support_popup" placeholder="Select"> 118 <option value="0" <?php if ( get_the_author_meta( 'imforza_support_popup', $user->ID ) == 0 ){ echo 'selected="selected"'; } ?>>No</option> 119 <option value="1" <?php if ( get_the_author_meta( 'imforza_support_popup', $user->ID ) == 1 ){ echo 'selected="selected"'; } ?>>Yes</option> 120 </select> 121 <br /> 122 <p class="description">When enabled a small pop-up appears in the bottom of your WordPress Admin Control Panel. This popup provides quick access to imFORZA Knowledgebase and Support.</p> 123 </td> 124 </tr> 125 126 110 127 </table> 111 128 <?php } … … 121 138 return false; 122 139 140 123 141 update_user_meta( $user_id, 'imforza_tracking', $_POST['imforza_tracking'] ); 142 update_user_meta( $user_id, 'imforza_support_popup', $_POST['imforza_support_popup'] ); 124 143 } 125 144 -
imforza-news/trunk/imforza.php
r1333226 r1333328 2 2 /* 3 3 Plugin Name: imFORZA 4 Version: 1.4. 54 Version: 1.4.6 5 5 Plugin URI: //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. … … 15 15 16 16 // Define Plugin Version 17 define( 'IMFORZA_PLUGIN_VERSION', '1.4. 5' );17 define( 'IMFORZA_PLUGIN_VERSION', '1.4.6' ); 18 18 19 19 … … 58 58 function imforza_activation() { 59 59 60 update_option( 'imforza', array('version' => '1.4. 5'));60 update_option( 'imforza', array('version' => '1.4.6')); 61 61 62 62 flush_rewrite_rules(); -
imforza-news/trunk/readme.txt
r1333226 r1333328 5 5 Requires at least: 4.0 6 6 Tested up to: 4.4 7 Stable tag: 1.4. 27 Stable tag: 1.4.6 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 21 21 22 22 == Changelog == 23 24 = 1.4.6 = 25 * Added user option to disable imforza support popup 23 26 24 27 = 1.4.5 =
Note: See TracChangeset
for help on using the changeset viewer.