Title: Nice plugin. few notes:
Last modified: February 29, 2020

---

# Nice plugin. few notes:

 *  Resolved [ttodua](https://wordpress.org/support/users/ttodua/)
 * (@ttodua)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/nice-plugin-few-notes/)
 * Hi. Excellent plugin.
    just minor suggestions. 1) in cau_functions.php, line 
   801:
 * `.... $wpdb->query( $wpdb->prepare( "UPDATE $updateLog SET method = 'Manual' 
   WHERE slug = '%s'", $_GET['plugin'] ) );`
 * there should be `sanitize_key($_GET['plugin'])`
 * 2) it might be better to have `$_` kind variable assignments – secured with nonce/
   check-admin_referrer. i.e. pluginlist.php [line 5] initial lines, `$filter = 
   $_GET['filter'];` or status.php[line 320] (would be nice to use sanitize_key 
   additionally onto them ).
 * 3) comanion-auto-update.php[line 223]:
    `$requestedPage = $_GET['tab'];... require_once(...
   $requestedPage.'.php' );` even though that is protected , it would be nice if
   that page was protected with nonce, in addition to `sanitize_key` usage.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Papin Schipper](https://wordpress.org/support/users/papin/)
 * (@papin)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/nice-plugin-few-notes/#post-12523744)
 * Hi, glad you like it!
    I’ve added these suggestions in the upcoming update 3.5.1
   🙂

Viewing 1 replies (of 1 total)

The topic ‘Nice plugin. few notes:’ is closed to new replies.

 * ![](https://ps.w.org/companion-auto-update/assets/icon-256x256.png?rev=2358884)
 * [Companion Auto Update](https://wordpress.org/plugins/companion-auto-update/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/companion-auto-update/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/companion-auto-update/)
 * [Active Topics](https://wordpress.org/support/plugin/companion-auto-update/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/companion-auto-update/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/companion-auto-update/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Papin Schipper](https://wordpress.org/support/users/papin/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/nice-plugin-few-notes/#post-12523744)
 * Status: resolved