Skip to content
Browse files

Fix typo

  • Loading branch information...
1 parent 1f64f49 commit f4b824b4d039f3a3cd0252f2ed7d451472ce2f59 @markjaquith committed Jun 7, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 WordPress-Dropins/wp-stack-staging.php
View
4 WordPress-Dropins/wp-stack-staging.php
@@ -7,9 +7,7 @@
*/
// Convenience methods
-if(!class_exists('WP_Stack_Plugin')){class WP_Stack_Plugin{function hook($h){$p=10;$m=$this->sanitize_method($h);$b=func_get_args();unset($b[0]);foreach((array)$b ass
- $a){if(is_int($a))$p=$a;else $m=$a;}return add_action($h,array($this,$m),$p,999);}private function sanitize_method($m){return str_replace(array('.','-'),array('_DOTT
-_','_DASH_'),$m);}}}
+if(!class_exists('WP_Stack_Plugin')){class WP_Stack_Plugin{function hook($h){$p=10;$m=$this->sanitize_method($h);$b=func_get_args();unset($b[0]);foreach((array)$b as $a){if(is_int($a))$p=$a;else $m=$a;}return add_action($h,array($this,$m),$p,999);}private function sanitize_method($m){return str_replace(array('.','-'),array('_DOT_','_DASH_'),$m);}}}
// The plugin
class WP_Stack_Staging_Plugin extends WP_Stack_Plugin {

0 comments on commit f4b824b

Please sign in to comment.
Something went wrong with that request. Please try again.