Completed
Branch dev (69a0d4)
by
unknown
33:44
created
development/factory/post_type/AdminPageFramework_PostType_Model.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -36,13 +36,13 @@  discard block
 block discarded – undo
36 36
         
37 37
         // Properties
38 38
         $this->oProp->aColumnHeaders = array(
39
-            'cb'        => '<input type="checkbox" />',     // Checkbox for bulk actions. 
40
-            'title'     => $this->oMsg->get( 'title' ),     // Post title. Includes "edit", "quick edit", "trash" and "view" links. If $mode (set from $_REQUEST['mode']) is 'excerpt', a post excerpt is included between the title and links.
41
-            'author'    => $this->oMsg->get( 'author' ),    // Post author.
39
+            'cb'        => '<input type="checkbox" />', // Checkbox for bulk actions. 
40
+            'title'     => $this->oMsg->get( 'title' ), // Post title. Includes "edit", "quick edit", "trash" and "view" links. If $mode (set from $_REQUEST['mode']) is 'excerpt', a post excerpt is included between the title and links.
41
+            'author'    => $this->oMsg->get( 'author' ), // Post author.
42 42
             // 'categories' => $this->oMsg->get( 'categories' ), // Categories the post belongs to. 
43 43
             // 'tags' => $this->oMsg->get( 'tags' ),        // Tags for the post. 
44 44
             'comments'  => '<div class="comment-grey-bubble"></div>', // Number of pending comments. 
45
-            'date'      => $this->oMsg->get( 'date' ),      // The date and publish status of the post. 
45
+            'date'      => $this->oMsg->get( 'date' ), // The date and publish status of the post. 
46 46
         );     
47 47
                             
48 48
         if ( $this->_isInThePage() ) :
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         echo $this->oUtil->addAndApplyFilter( 
116 116
             $this, 
117 117
             "cell_{$this->oProp->sPostType}_{$sColumnKey}", 
118
-            '',  // cell output
118
+            '', // cell output
119 119
             $iPostID 
120 120
         );
121 121
     }    
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      */
157 157
     public function _replyToRegisterTaxonomies() {
158 158
 
159
-        foreach( $this->oProp->aTaxonomies as $_sTaxonomySlug => $_aArgs ) {
159
+        foreach ( $this->oProp->aTaxonomies as $_sTaxonomySlug => $_aArgs ) {
160 160
             $this->_registerTaxonomy( 
161 161
                 $_sTaxonomySlug,  
162 162
                 is_array( $this->oProp->aTaxonomyObjectTypes[ $_sTaxonomySlug ] ) 
@@ -175,8 +175,8 @@  discard block
 block discarded – undo
175 175
      */
176 176
     public function _registerTaxonomy( $sTaxonomySlug, array $aObjectTypes, array $aArguments ) {
177 177
         
178
-        if ( ! in_array( $this->oProp->sPostType, $aObjectTypes ) ) {
179
-            $aObjectTypes[] = $this->oProp->sPostType;
178
+        if ( !in_array( $this->oProp->sPostType, $aObjectTypes ) ) {
179
+            $aObjectTypes[ ] = $this->oProp->sPostType;
180 180
         }
181 181
         register_taxonomy(
182 182
             $sTaxonomySlug,
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
      */
194 194
     public function _replyToRemoveTexonomySubmenuPages() {
195 195
     
196
-        foreach( $this->oProp->aTaxonomyRemoveSubmenuPages as $sSubmenuPageSlug => $sTopLevelPageSlug ) {
196
+        foreach ( $this->oProp->aTaxonomyRemoveSubmenuPages as $sSubmenuPageSlug => $sTopLevelPageSlug ) {
197 197
             
198 198
             remove_submenu_page( $sTopLevelPageSlug, $sSubmenuPageSlug );
199 199
             
Please login to merge, or discard this patch.
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * @subpackage      PostType
19 19
  * @internal
20 20
  */
21
-abstract class AdminPageFramework_PostType_Model extends AdminPageFramework_PostType_Router {    
21
+abstract class AdminPageFramework_PostType_Model extends AdminPageFramework_PostType_Router {
22 22
 
23 23
     /**
24 24
      * Sets up hooks and properties.
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      * @callback    filter      manage_{post type slug}_posts_custom_column
112 112
      * @return      string
113 113
      */
114
-    public function _replyToPrintColumnCell( $sColumnKey, $iPostID ) {                 
114
+    public function _replyToPrintColumnCell( $sColumnKey, $iPostID ) {
115 115
         echo $this->oUtil->addAndApplyFilter( 
116 116
             $this, 
117 117
             "cell_{$this->oProp->sPostType}_{$sColumnKey}", 
@@ -127,10 +127,10 @@  discard block
 block discarded – undo
127 127
      */
128 128
     public function _replyToDisableAutoSave() {
129 129
         
130
-        if ( $this->oProp->bEnableAutoSave ) { 
130
+        if ( $this->oProp->bEnableAutoSave ) {
131 131
             return; 
132 132
         }
133
-        if ( $this->oProp->sPostType != get_post_type() ) { 
133
+        if ( $this->oProp->sPostType != get_post_type() ) {
134 134
             return; 
135 135
         }
136 136
         wp_dequeue_script( 'autosave' );
Please login to merge, or discard this patch.
development/factory/post_type/AdminPageFramework_PostType_Router.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     public function _isInThePage() {
30 30
         
31 31
         // If it's not in one of the post type's pages
32
-        if ( ! $this->oProp->bIsAdmin ) {
32
+        if ( !$this->oProp->bIsAdmin ) {
33 33
             return false;
34 34
         }
35 35
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             return true;
39 39
         }        
40 40
         
41
-        if ( ! in_array( $this->oProp->sPageNow, array( 'edit.php', 'edit-tags.php', 'post.php', 'post-new.php' ) ) ) {
41
+        if ( !in_array( $this->oProp->sPageNow, array( 'edit.php', 'edit-tags.php', 'post.php', 'post-new.php' ) ) ) {
42 42
             return false;
43 43
         }
44 44
                 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  * @subpackage      PostType
17 17
  * @internal
18 18
  */
19
-abstract class AdminPageFramework_PostType_Router extends AdminPageFramework_Factory {    
19
+abstract class AdminPageFramework_PostType_Router extends AdminPageFramework_Factory {
20 20
   
21 21
     /**
22 22
      * Determines whether the currently loaded page is of the post type page.
Please login to merge, or discard this patch.
factory/post_type/_controller/AdminPageFramework_Link_PostType.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
                 array( $this, '_replyToAddPostTypeQueryInEditPostLink' ), 
34 34
                 10, 
35 35
                 3 
36
-           );
36
+            );
37 37
         }        
38 38
     }
39 39
 
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -22,12 +22,12 @@  discard block
 block discarded – undo
22 22
      * Sets up hooks and properties.
23 23
      * 
24 24
      */
25
-    public function __construct( $oProp, $oMsg=null ) {
25
+    public function __construct( $oProp, $oMsg = null ) {
26 26
         
27 27
         parent::__construct( $oProp, $oMsg );
28 28
                        
29 29
         // For post type posts listing table page ( edit.php )
30
-        if ( isset( $_GET['post_type'] ) && $_GET['post_type'] == $this->oProp->sPostType ) {
30
+        if ( isset( $_GET[ 'post_type' ] ) && $_GET[ 'post_type' ] == $this->oProp->sPostType ) {
31 31
             add_action( 
32 32
                 'get_edit_post_link', 
33 33
                 array( $this, '_replyToAddPostTypeQueryInEditPostLink' ), 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         );
54 54
             
55 55
         // If the user explicitly sets an empty string to the label key, do not insert a link.
56
-        if ( ! $_sLinkLabel ) {
56
+        if ( !$_sLinkLabel ) {
57 57
             return $aLinks;
58 58
         }
59 59
 
@@ -61,13 +61,13 @@  discard block
 block discarded – undo
61 61
         array_unshift(    
62 62
             $aLinks,
63 63
             // "<a href='" . esc_url( "edit.php?post_type={$this->oProp->sPostType}" ) . "'>" 
64
-            '<a ' . $this->getAttributes(
64
+            '<a '.$this->getAttributes(
65 65
                 array(
66 66
                     'href'      => esc_url( "edit.php?post_type={$this->oProp->sPostType}" ),
67 67
                     // 3.5.7+ Added for acceptance testing
68 68
                     'class'     => 'apf-plugin-title-action-link apf-admin-page',
69 69
                 )
70
-            ) . '>'             
70
+            ).'>'             
71 71
                 . $_sLinkLabel 
72 72
             . "</a>"
73 73
         ); 
@@ -83,9 +83,9 @@  discard block
 block discarded – undo
83 83
     public function _replyToSetFooterInfo() {
84 84
 
85 85
         if ( 
86
-            ! $this->isPostDefinitionPage( $this->oProp->sPostType ) 
87
-            && ! $this->isPostListingPage( $this->oProp->sPostType ) 
88
-            && ! $this->isCustomTaxonomyPage( $this->oProp->sPostType )
86
+            !$this->isPostDefinitionPage( $this->oProp->sPostType ) 
87
+            && !$this->isPostListingPage( $this->oProp->sPostType ) 
88
+            && !$this->isCustomTaxonomyPage( $this->oProp->sPostType )
89 89
         ) {
90 90
             return;
91 91
         }
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      * @remark      e.g. `http://.../wp-admin/post.php?post=180&action=edit` -> `http://.../wp-admin/post.php?post=180&action=edit&post_type=[...]`
104 104
      * @callback    filter      get_edit_post_link
105 105
      */  
106
-    public function _replyToAddPostTypeQueryInEditPostLink( $sURL, $iPostID=null, $sContext=null ) {
106
+    public function _replyToAddPostTypeQueryInEditPostLink( $sURL, $iPostID = null, $sContext = null ) {
107 107
         return add_query_arg( 
108 108
             array( 
109 109
                 'post'      => $iPostID, 
Please login to merge, or discard this patch.
factory/post_type/_model/AdminPageFramework_Property_PostType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         'title'     => 'Title', // Post title. Includes "edit", "quick edit", "trash" and "view" links. If $mode (set from $_REQUEST['mode']) is 'excerpt', a post excerpt is included between the title and links.
75 75
         'author'    => 'Author', // Post author.
76 76
         'comments'  => '<div class="comment-grey-bubble"></div>', // Number of pending comments. 
77
-        'date'      => 'Date',     // The date and publish status of the post. 
77
+        'date'      => 'Date', // The date and publish status of the post. 
78 78
     );     
79 79
     
80 80
     /**
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
         parent::__construct( $oCaller, $sCallerPath, $sClassName, $sCapability, $sTextDomain, $sStructureType );
163 163
 
164 164
         // Set up activation/deactivation hooks.
165
-        if ( ! $sCallerPath ) {
165
+        if ( !$sCallerPath ) {
166 166
             return;
167 167
         }
168 168
         switch ( $this->_getCallerType( $sCallerPath ) ) {
Please login to merge, or discard this patch.
factory/post_type/_view/AdminPageFramework_PageLoadInfo_PostType.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         if ( in_array( $oProp->sClassName, self::$aClassNames ) )
31 31
             return self::$_oInstance;
32 32
         
33
-        self::$aClassNames[] = $oProp->sClassName;
33
+        self::$aClassNames[ ] = $oProp->sClassName;
34 34
         self::$_oInstance = new AdminPageFramework_PageLoadInfo_PostType( $oProp, $oMsg );
35 35
         
36 36
         return self::$_oInstance;
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     public function _replyToSetPageLoadInfoInFooter() {
45 45
 
46 46
         // Some users sets $_GET['post_type'] element even in regular admin pages. In that case, do not load the style to avoid duplicates.
47
-        if ( isset( $_GET['page'] ) && $_GET['page'] ) { return; }
47
+        if ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] ) { return; }
48 48
     
49 49
         // For post type pages
50 50
         if ( 
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,9 @@
 block discarded – undo
27 27
      */
28 28
     public static function instantiate( $oProp, $oMsg ) {
29 29
         
30
-        if ( in_array( $oProp->sClassName, self::$aClassNames ) )
31
-            return self::$_oInstance;
30
+        if ( in_array( $oProp->sClassName, self::$aClassNames ) ) {
31
+                    return self::$_oInstance;
32
+        }
32 33
         
33 34
         self::$aClassNames[] = $oProp->sClassName;
34 35
         self::$_oInstance = new AdminPageFramework_PageLoadInfo_PostType( $oProp, $oMsg );
Please login to merge, or discard this patch.
development/factory/post_type/form/AdminPageFramework_Form_post_type.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,6 +21,6 @@
 block discarded – undo
21 21
  * @extends     AdminPageFramework_Form
22 22
  * @internal
23 23
  */
24
-class AdminPageFramework_Form_post_type extends AdminPageFramework_Form {    
24
+class AdminPageFramework_Form_post_type extends AdminPageFramework_Form {
25 25
     public $sStructureType = 'post_type';
26 26
 }
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
development/factory/taxonomy_field/AdminPageFramework_TaxonomyField.php 3 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Admin Page Framework
4
- * 
5
- * http://en.michaeluno.jp/admin-page-framework/
6
- * Copyright (c) 2013-2015 Michael Uno; Licensed MIT
7
- * 
8
- */
3
+     * Admin Page Framework
4
+     * 
5
+     * http://en.michaeluno.jp/admin-page-framework/
6
+     * Copyright (c) 2013-2015 Michael Uno; Licensed MIT
7
+     * 
8
+     */
9 9
 
10 10
 /**
11 11
  * Provides methods for creating fields in the taxonomy page (edit-tags.php).
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @param       string          The text domain. Default: `admin-page-framework`.
47 47
      * @return      void
48 48
      */ 
49
-    function __construct( $asTaxonomySlug, $sOptionKey='', $sCapability='manage_options', $sTextDomain='admin-page-framework' ) {
49
+    function __construct( $asTaxonomySlug, $sOptionKey = '', $sCapability = 'manage_options', $sTextDomain = 'admin-page-framework' ) {
50 50
         
51 51
         if ( empty( $asTaxonomySlug ) ) { 
52 52
             // @todo trigger a PHP warning
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         }
55 55
         
56 56
         // Properties 
57
-        $this->oProp                    = new AdminPageFramework_Property_TaxonomyField( 
57
+        $this->oProp = new AdminPageFramework_Property_TaxonomyField( 
58 58
             $this, 
59 59
             get_class( $this ), 
60 60
             $sCapability, 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */ 
49 49
     function __construct( $asTaxonomySlug, $sOptionKey='', $sCapability='manage_options', $sTextDomain='admin-page-framework' ) {
50 50
         
51
-        if ( empty( $asTaxonomySlug ) ) { 
51
+        if ( empty( $asTaxonomySlug ) ) {
52 52
             // @todo trigger a PHP warning
53 53
             return; 
54 54
         }
Please login to merge, or discard this patch.
factory/taxonomy_field/AdminPageFramework_TaxonomyField_Model.php 2 patches
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
         return $this->_getFilteredColumnsByFilterPrefix( 
55 55
             $this->oUtil->getAsArray( $aColumns ), 
56 56
             'columns_', 
57
-            isset( $_GET['taxonomy'] )  // in ajax, $_GET is not even set.
58
-                ? $_GET['taxonomy']
57
+            isset( $_GET[ 'taxonomy' ] )  // in ajax, $_GET is not even set.
58
+                ? $_GET[ 'taxonomy' ]
59 59
                 : ''
60 60
         );        
61 61
     }
@@ -72,8 +72,8 @@  discard block
 block discarded – undo
72 72
         return $this->_getFilteredColumnsByFilterPrefix( 
73 73
             $this->oUtil->getAsArray( $aSortableColumns ), 
74 74
             'sortable_columns_', 
75
-            isset( $_GET['taxonomy'] )  // in ajax, $_GET is not even set.
76
-                ? $_GET['taxonomy']
75
+            isset( $_GET[ 'taxonomy' ] )  // in ajax, $_GET is not even set.
76
+                ? $_GET[ 'taxonomy' ]
77 77
                 : ''
78 78
         );
79 79
     }   
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             if ( $sTaxonomy ) {
88 88
                 $aColumns = $this->oUtil->addAndApplyFilter(
89 89
                     $this, 
90
-                    "{$sFilterPrefix}{$_GET['taxonomy']}",
90
+                    "{$sFilterPrefix}{$_GET[ 'taxonomy' ]}",
91 91
                     $aColumns
92 92
                 );
93 93
             }
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      * @since       DEVVER      No longer sets the value to `$this-oProp->aOptions` but to the form peoperty.
125 125
      * @internal
126 126
      */
127
-    protected function _setOptionArray( $iTermID=null, $sOptionKey ) {
127
+    protected function _setOptionArray( $iTermID = null, $sOptionKey ) {
128 128
         $this->oForm->aSavedData = $this->_getSavedFormData( 
129 129
             $iTermID, 
130 130
             $sOptionKey
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
             
141 141
             return $this->oUtil->addAndApplyFilter(
142 142
                 $this, // the caller factory object
143
-                'options_' . $this->oProp->sClassName,
143
+                'options_'.$this->oProp->sClassName,
144 144
                 $this->_getSavedTermFormData( $iTermID, $sOptionKey )
145 145
                 // @todo maybe pass the term id because the user will not know whihch form data is
146 146
             );
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
      */
175 175
     public function _replyToValidateOptions( $iTermID ) {
176 176
 
177
-        if ( ! $this->_shouldProceedValidation() ) {
177
+        if ( !$this->_shouldProceedValidation() ) {
178 178
             return;
179 179
         }              
180 180
 
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
         $_aSubmittedFormData    = $this->oForm->getSubmittedData( $_POST ); 
184 184
         $_aSubmittedFormData    = $this->oUtil->addAndApplyFilters( 
185 185
             $this, 
186
-            'validation_' . $this->oProp->sClassName, 
186
+            'validation_'.$this->oProp->sClassName, 
187 187
             call_user_func_array( 
188 188
                 array( $this, 'validate' ), // triggers __call()
189 189
                 array( $_aSubmittedFormData, $_aSavedFormData, $this )
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
         
195 195
         // @todo Examine whether it is appropriate to merge recursivly 
196 196
         // as some fields will have a problem such as select with multiple options.
197
-        $_aTaxonomyFormData[ $iTermID ]  = $this->oUtil->uniteArrays( 
197
+        $_aTaxonomyFormData[ $iTermID ] = $this->oUtil->uniteArrays( 
198 198
             $_aSubmittedFormData, 
199 199
             $_aSavedFormData 
200 200
         );
@@ -215,11 +215,11 @@  discard block
 block discarded – undo
215 215
          */        
216 216
         private function _shouldProceedValidation() {
217 217
 
218
-            if ( ! isset( $_POST[ $this->oProp->sClassHash ] ) ) { 
218
+            if ( !isset( $_POST[ $this->oProp->sClassHash ] ) ) { 
219 219
             
220 220
                 return false;
221 221
             }
222
-            if ( ! wp_verify_nonce( $_POST[ $this->oProp->sClassHash ], $this->oProp->sClassHash ) ) {
222
+            if ( !wp_verify_nonce( $_POST[ $this->oProp->sClassHash ], $this->oProp->sClassHash ) ) {
223 223
                 return false;
224 224
             }        
225 225
             return true;
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
          */        
216 216
         private function _shouldProceedValidation() {
217 217
 
218
-            if ( ! isset( $_POST[ $this->oProp->sClassHash ] ) ) { 
218
+            if ( ! isset( $_POST[ $this->oProp->sClassHash ] ) ) {
219 219
             
220 220
                 return false;
221 221
             }
Please login to merge, or discard this patch.
factory/taxonomy_field/AdminPageFramework_TaxonomyField_Router.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
             return false; 
57 57
         }
58 58
         
59
-        if ( isset( $_GET['taxonomy'] ) && ! in_array( $_GET['taxonomy'], $this->oProp->aTaxonomySlugs ) ) {
59
+        if ( isset( $_GET[ 'taxonomy' ] ) && !in_array( $_GET[ 'taxonomy' ], $this->oProp->aTaxonomySlugs ) ) {
60 60
             return false;
61 61
         }        
62 62
         
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     public function _replyToDetermineToLoad( /* $oScreen */ ) {
76 76
 
77
-        if ( ! $this->_isInThePage() ) { 
77
+        if ( !$this->_isInThePage() ) { 
78 78
             return; 
79 79
         }
80 80
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             $this 
88 88
         );
89 89
                       
90
-        foreach( $this->oProp->aTaxonomySlugs as $_sTaxonomySlug ) {     
90
+        foreach ( $this->oProp->aTaxonomySlugs as $_sTaxonomySlug ) {     
91 91
             
92 92
             /* Validation callbacks need to be set regardless of whether the current page is edit-tags.php or not */
93 93
             add_action( "created_{$_sTaxonomySlug}", array( $this, '_replyToValidateOptions' ), 10, 2 );
Please login to merge, or discard this patch.
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
             return true;
53 53
         }    
54 54
         
55
-        if ( 'edit-tags.php' != $this->oProp->sPageNow ) { 
55
+        if ( 'edit-tags.php' != $this->oProp->sPageNow ) {
56 56
             return false; 
57 57
         }
58 58
         
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     public function _replyToDetermineToLoad( /* $oScreen */ ) {
76 76
 
77
-        if ( ! $this->_isInThePage() ) { 
77
+        if ( ! $this->_isInThePage() ) {
78 78
             return; 
79 79
         }
80 80
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             $this 
88 88
         );
89 89
                       
90
-        foreach( $this->oProp->aTaxonomySlugs as $_sTaxonomySlug ) {     
90
+        foreach( $this->oProp->aTaxonomySlugs as $_sTaxonomySlug ) {
91 91
             
92 92
             /* Validation callbacks need to be set regardless of whether the current page is edit-tags.php or not */
93 93
             add_action( "created_{$_sTaxonomySlug}", array( $this, '_replyToValidateOptions' ), 10, 2 );
Please login to merge, or discard this patch.