PluginProbe
CSS & JavaScript Toolbox / 7.2
CSS & JavaScript Toolbox v7.2
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 +8 -3 6.07.2 View file →
@@ -50,8 +50,13 @@
50 50
51 51 /**
52 52 *
53 53 */
54 + const CJT_SCRTIPS_WEB_SITE_DOMAIN = 'cjt-scripts.com';
55 +
56 + /**
57 + *
58 + */
54 59 const CJT_WEB_SITE_DOMAIN = 'css-javascript-toolbox.com';
55 60
56 61 /**
57 62 * put your comment there...
@@ -136,9 +141,9 @@
136 141 /**
137 142 * put your comment there...
138 143 *
139 144 */
140 - public function getCJTWebSiteURL($path = null) {
145 + public static function getCJTWebSiteURL($path = null) {
141 146 $domain = self::CJT_WEB_SITE_DOMAIN;
142 147 return "http://{$domain}/{$path}";
143 148 }
144 149
@@ -165,9 +170,9 @@
165 170 /**
166 171 * put your comment there...
167 172 *
168 173 */
169 - public function getSecurityToken() {
174 + public static function getSecurityToken() {
170 175 return wp_create_nonce(CJTController::NONCE_ACTION);
171 176 }
172 177
173 178 /**
@@ -174,9 +179,9 @@
174 179 * put your comment there...
175 180 *
176 181 * @param mixed $text
177 182 */
178 - public function getText($text) {
183 + public static function getText($text) {
179 184 // Make sure to don't use $this while calling!
180 185 // $this might be an object other than CssJSToolbox!
181 186 return self::__callStatic('cssJSToolbox.ongettext', array(__($text, CJTOOLBOX_TEXT_DOMAIN)));
182 187 }