Title: Lean code, pure function, no bloat
Last modified: September 3, 2016

---

# Lean code, pure function, no bloat

 *  [Robert Wetzlmayr](https://wordpress.org/support/users/wet/)
 * (@wet)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/lean-code-pure-function-no-bloat/)
 * Adds all that is needed to do what it is intended to do, and nothing more. Perfect!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Hafciojoni](https://wordpress.org/support/users/tigerx/)
 * (@tigerx)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/lean-code-pure-function-no-bloat/#post-8094233)
 * Hey Robert – Which WP version are you working with?
    doesn’t look like the plugin
   has been updated for the past 2 years.
 *  Thread Starter [Robert Wetzlmayr](https://wordpress.org/support/users/wet/)
 * (@wet)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/lean-code-pure-function-no-bloat/#post-8094234)
 * I am currently working with WordPress 4.5.
 * The latest commit to this plugin was on [Sep 16, 2014](https://github.com/phikai/wordpress-force-https/commits/master).
 * The code consists of [basically one line](https://github.com/phikai/wordpress-force-https/blob/master/wordpress-force-https.php#L14)
   which does what it needs to do, with a bit of surrounding plugin boilerplate.
   As I said: Perfect.
 *  [Hafciojoni](https://wordpress.org/support/users/tigerx/)
 * (@tigerx)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/lean-code-pure-function-no-bloat/#post-8094235)
 * thanks for speedy response.
    so it’s better than the one liner in HTaccess?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Lean code, pure function, no bloat’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-force-https.svg)
 * [WordPress Force HTTPS](https://wordpress.org/plugins/wp-force-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-force-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-force-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-force-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-force-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-force-https/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Hafciojoni](https://wordpress.org/support/users/tigerx/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/lean-code-pure-function-no-bloat/#post-8094235)