WordPress.org

Plugin Directory

Changeset 1814988


Ignore:
Timestamp:
02/04/18 07:59:43 (2 weeks ago)
Author:
rinkuyadav999
Message:

Performance Improved.

Location:
leverage-browser-caching/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • leverage-browser-caching/trunk/inc/classes/class-lbrowserc-core.php

    r1756486 r1814988  
    252252            $user_id = $current_user->ID; 
    253253             
    254             if( get_user_meta( $user_id, 'lbrowserc_ignore_notice' ) ) 
    255             { 
     254            if( get_user_meta( $user_id, 'lbrowserc_ignore_notice' ) ) { 
    256255                delete_user_meta( $user_id, 'lbrowserc_ignore_notice' ); 
    257256            } 
  • leverage-browser-caching/trunk/leverage-browser-caching.php

    r1767034 r1814988  
    2828 * @return bool 
    2929 */ 
    30 function lbrowserc_check_capability() { 
    31     if ( ! current_user_can( 'manage_options' ) ) { 
    32         return; 
    33     } 
     30if ( ! current_user_can( 'manage_options' ) ) { 
     31    return; 
    3432} 
    35 add_action( 'init', 'lbrowserc_check_capability' ); 
    3633 
    3734// Set path to constant. 
Note: See TracChangeset for help on using the changeset viewer.