Plugin Directory

Changeset 1125481


Ignore:
Timestamp:
04/01/2015 03:36:50 PM (11 years ago)
Author:
frebro
Message:

release v1.0.1

Location:
vanish/trunk
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • vanish/trunk/admin/class-vanish-admin.php

    r1124208 r1125481  
    102102  }
    103103
     104  public function vanish_login_head() {
     105    echo '<style type="text/css"> /* Inserted by Vanish plugin https://wordpress.org/plugins/vanish/ */ '.get_theme_mod('vanish_selectors').' {display:none!important;visibility:hidden!important;}</style>';
     106  }
     107
    104108}
  • vanish/trunk/includes/class-vanish.php

    r1124208 r1125481  
    154154
    155155    $this->loader->add_action( 'customize_register', $plugin_admin, 'vanish_customize_register' );
     156    $this->loader->add_action( 'login_head', $plugin_admin, 'vanish_login_head' );
    156157
    157158  }
  • vanish/trunk/readme.txt

    r1124208 r1125481  
    3636== Changelog ==
    3737
    38 = 1.0 =
     38= 1.0.1 =
     39* Code cleanup
     40* Vanish applies to login pages
     41
     42= 1.0.0 =
    3943* Initial release
     44
     45== Upgrade Notice ==
     46
     47= 1.0.1 =
     48Vanish now applies to login pages as well
Note: See TracChangeset for help on using the changeset viewer.