Plugin Directory

Changeset 1333226


Ignore:
Timestamp:
01/21/2016 10:12:37 PM (10 years ago)
Author:
imforza
Message:

1.4.5

  • Add Help Button
Location:
imforza-news/trunk
Files:
3 edited

Legend:

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

    r1333202 r1333226  
    2323
    2424    echo "</div>";
     25
    2526}
    2627
     
    182183
    183184 <div class="update-nag">
    184         <h3 style="margin:0;">Backup Request</h3>
     185        <h3 style="margin:0;"><?php echo __('Backup Request', 'imforza-news'); ?></h3>
    185186        <p><?php _e( 'You have recently requested access to a backup of your site files. Here is a link to your download:', 'imforza-news' ); ?></p>
    186187        <?php if ( !empty($client_details['last_backup_url']) != '' ) { echo '<a href="'.esc_url($client_details['last_backup_url']).'" />'.esc_url($client_details['last_backup_url']).'</a>'; } ?>
     
    193194
    194195add_action('admin_notices', 'imforza_site_backup_notice');
     196
     197
     198
     199
     200function blah() {
     201
     202    $current_user = wp_get_current_user();
     203
     204    if ( $current_user->user_login !== 'imforza-dev') {
     205    ?>
     206
     207    <!-- Start of imforza Zendesk Widget script -->
     208<script>/*<![CDATA[*/window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement("iframe");window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src="javascript:false",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="display: none",d=document.getElementsByTagName("script"),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(c){n=document.domain,r.src='javascript:var d=document.open();d.domain="'+n+'";void(0);',o=s}o.open()._l=function(){var o=this.createElement("script");n&&(this.domain=n),o.id="js-iframe-async",o.src=e,this.t=+new Date,this.zendeskHost=t,this.zEQueue=a,this.body.appendChild(o)},o.write('<body onload="document._l();">'),o.close()}("https://assets.zendesk.com/embeddable_framework/main.js","imforza.zendesk.com");
     209/*]]>*/</script>
     210<!-- End of imforza Zendesk Widget script -->
     211
     212    <?php
     213    }
     214}
     215
     216add_action('admin_footer', 'blah');
  • imforza-news/trunk/imforza.php

    r1333202 r1333226  
    22/*
    33Plugin Name: imFORZA
    4 Version: 1.4.4
     4Version: 1.4.5
    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.4.4' );
     17define( 'IMFORZA_PLUGIN_VERSION', '1.4.5' );
    1818
    1919
     
    5858function imforza_activation() {
    5959
    60     update_option( 'imforza', array('version' => '1.4.4'));
     60    update_option( 'imforza', array('version' => '1.4.5'));
    6161
    6262    flush_rewrite_rules();
  • imforza-news/trunk/readme.txt

    r1333202 r1333226  
    2121
    2222== Changelog ==
     23
     24= 1.4.5 =
     25* Add Help Button
    2326
    2427= 1.4.4 =
Note: See TracChangeset for help on using the changeset viewer.