Completed
Branch master (939f1c)
by
unknown
09:38
created
factory/taxonomy_field/AdminPageFramework_TaxonomyField_Router.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
                 
29 29
         parent::__construct( $oProp );
30 30
 
31
-        if ( ! $this->oProp->bIsAdmin ) {
31
+        if ( !$this->oProp->bIsAdmin ) {
32 32
             return;
33 33
         }
34 34
         
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         );
40 40
         
41 41
         add_action( 
42
-            'set_up_' . $this->oProp->sClassName,
42
+            'set_up_'.$this->oProp->sClassName,
43 43
             array( $this, '_replyToSetUpHooks' )
44 44
         );
45 45
         
@@ -59,11 +59,11 @@  discard block
 block discarded – undo
59 59
             return true;
60 60
         }    
61 61
         
62
-        if ( ! in_array( $this->oProp->sPageNow, array( 'edit-tags.php', 'term.php' ) ) ) {
62
+        if ( !in_array( $this->oProp->sPageNow, array( 'edit-tags.php', 'term.php' ) ) ) {
63 63
             return false;
64 64
         }
65 65
         
66
-        if ( isset( $_GET[ 'taxonomy' ] ) && ! in_array( $_GET[ 'taxonomy' ], $this->oProp->aTaxonomySlugs ) ) {
66
+        if ( isset( $_GET[ 'taxonomy' ] ) && !in_array( $_GET[ 'taxonomy' ], $this->oProp->aTaxonomySlugs ) ) {
67 67
             return false;
68 68
         }        
69 69
         
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function _replyToSetUpHooks( $oFactory ) {
82 82
         
83
-        foreach( $this->oProp->aTaxonomySlugs as $_sTaxonomySlug ) {     
83
+        foreach ( $this->oProp->aTaxonomySlugs as $_sTaxonomySlug ) {     
84 84
             
85 85
             // Validation callbacks need to be set regardless of whether the current page is edit-tags.php or not.
86 86
             add_action( "created_{$_sTaxonomySlug}", array( $this, '_replyToValidateOptions' ), 10, 2 );
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      */
81 81
     public function _replyToSetUpHooks( $oFactory ) {
82 82
         
83
-        foreach( $this->oProp->aTaxonomySlugs as $_sTaxonomySlug ) {     
83
+        foreach( $this->oProp->aTaxonomySlugs as $_sTaxonomySlug ) {
84 84
             
85 85
             // Validation callbacks need to be set regardless of whether the current page is edit-tags.php or not.
86 86
             add_action( "created_{$_sTaxonomySlug}", array( $this, '_replyToValidateOptions' ), 10, 2 );
Please login to merge, or discard this patch.