From e6a1f324cffe3310979391fd752bc2c5c4049284 Mon Sep 17 00:00:00 2001 From: Shea Bunge Date: Thu, 2 Jan 2014 21:10:07 +1100 Subject: [PATCH] Update copyright year --- code-snippets.php | 3 ++- license.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/code-snippets.php b/code-snippets.php index 8847cf37..38839cf4 100644 --- a/code-snippets.php +++ b/code-snippets.php @@ -9,7 +9,7 @@ * @package Code_Snippets * @version 1.9.1 * @author Shea Bunge - * @copyright Copyright (c) 2012-2013, Shea Bunge + * @copyright Copyright (c) 2012-2014, Shea Bunge * @link http://code-snippets.bungeshea.com * @license http://opensource.org/licenses/MIT */ @@ -679,6 +679,7 @@ public function get_cap( $deprecated = '' ) { if ( ! empty( $menu_perms['snippets'] ) ) { return $this->cap; } else { + /* The snippet menu is not activated, only allow super admins */ return $this->network_cap; } } diff --git a/license.txt b/license.txt index 790f5139..758b1253 100644 --- a/license.txt +++ b/license.txt @@ -1,4 +1,4 @@ -Copyright (c) 2012-2013 Shea Bunge +Copyright (c) 2012-2014 Shea Bunge Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: