PluginProbe
CSS & JavaScript Toolbox / 6.0.9
CSS & JavaScript Toolbox v6.0.9
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | css-js-toolbox.class.php +3 -3 6.06.0.9 View file →
@@ -136,9 +136,9 @@
136 136 /**
137 137 * put your comment there...
138 138 *
139 139 */
140 - public function getCJTWebSiteURL($path = null) {
140 + public static function getCJTWebSiteURL($path = null) {
141 141 $domain = self::CJT_WEB_SITE_DOMAIN;
142 142 return "http://{$domain}/{$path}";
143 143 }
144 144
@@ -165,9 +165,9 @@
165 165 /**
166 166 * put your comment there...
167 167 *
168 168 */
169 - public function getSecurityToken() {
169 + public static function getSecurityToken() {
170 170 return wp_create_nonce(CJTController::NONCE_ACTION);
171 171 }
172 172
173 173 /**
@@ -174,9 +174,9 @@
174 174 * put your comment there...
175 175 *
176 176 * @param mixed $text
177 177 */
178 - public function getText($text) {
178 + public static function getText($text) {
179 179 // Make sure to don't use $this while calling!
180 180 // $this might be an object other than CssJSToolbox!
181 181 return self::__callStatic('cssJSToolbox.ongettext', array(__($text, CJTOOLBOX_TEXT_DOMAIN)));
182 182 }