Completed
Branch master (acc4ae)
by
unknown
03:44
created
_common/_abstract/_view/AdminPageFramework_Factory___Script_Base.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * 
29 29
      * @since       3.3.0
30 30
      */
31
-    public function __construct( $oMsg=null ) {
31
+    public function __construct( $oMsg = null ) {
32 32
                 
33 33
         if ( $this->hasBeenCalled( get_class( $this ) ) ) {
34 34
             return;
@@ -87,10 +87,10 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public function _replyToPrintScript() {
89 89
         $_sScript = $this->getScript( $this->oMsg );
90
-        if ( ! $_sScript ) {
90
+        if ( !$_sScript ) {
91 91
             return;
92 92
         }
93
-        echo "<script type='text/javascript' class='" . strtolower( get_class( $this ) ) . "'>"
93
+        echo "<script type='text/javascript' class='".strtolower( get_class( $this ) )."'>"
94 94
                 . '/* <![CDATA[ */'
95 95
                 . $_sScript
96 96
                 . '/* ]]> */'
Please login to merge, or discard this patch.
factory/page_meta_box/form/AdminPageFramework_Form_page_meta_box.php 1 patch
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 construct() {
30 30
         
31 31
         add_filter(
32
-            'options_' . $this->aArguments[ 'caller_id' ],
32
+            'options_'.$this->aArguments[ 'caller_id' ],
33 33
             array( $this, '_replyToSanitizeSavedFormData' ),
34 34
             5   //  high priority as it must be done earlier
35 35
         );
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         
54 54
         // Extract the meta box field form data (options) from the page form data (options).
55 55
         return $this->castArrayContents( 
56
-            $this->getDataStructureFromAddedFieldsets(),    // form data structure generate from fieldsets
56
+            $this->getDataStructureFromAddedFieldsets(), // form data structure generate from fieldsets
57 57
             $aSavedFormData
58 58
         );
59 59
   
Please login to merge, or discard this patch.
development/factory/page_meta_box/AdminPageFramework_PageMetaBox_Router.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,11 +50,11 @@
 block discarded – undo
50 50
             return true;
51 51
         }
52 52
 
53
-        if ( ! $this->oProp->bIsAdmin ) {
53
+        if ( !$this->oProp->bIsAdmin ) {
54 54
             return false;     
55 55
         }
56 56
                     
57
-        if ( ! isset( $_GET[ 'page' ] ) ) {
57
+        if ( !isset( $_GET[ 'page' ] ) ) {
58 58
             return false;
59 59
         }
60 60
         
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
@@ -53,8 +53,8 @@  discard block
 block discarded – undo
53 53
         return $this->_getFilteredColumnsByFilterPrefix( 
54 54
             $this->oUtil->getAsArray( $aColumns ), 
55 55
             'columns_', 
56
-            isset( $_GET['taxonomy'] )  // in ajax, $_GET is not even set.
57
-                ? $_GET['taxonomy']
56
+            isset( $_GET[ 'taxonomy' ] )  // in ajax, $_GET is not even set.
57
+                ? $_GET[ 'taxonomy' ]
58 58
                 : ''
59 59
         );        
60 60
     }
@@ -71,8 +71,8 @@  discard block
 block discarded – undo
71 71
         return $this->_getFilteredColumnsByFilterPrefix( 
72 72
             $this->oUtil->getAsArray( $aSortableColumns ), 
73 73
             'sortable_columns_', 
74
-            isset( $_GET['taxonomy'] )  // in ajax, $_GET is not even set.
75
-                ? $_GET['taxonomy']
74
+            isset( $_GET[ 'taxonomy' ] )  // in ajax, $_GET is not even set.
75
+                ? $_GET[ 'taxonomy' ]
76 76
                 : ''
77 77
         );
78 78
     }   
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
             if ( $sTaxonomy ) {
87 87
                 $aColumns = $this->oUtil->addAndApplyFilter(
88 88
                     $this, 
89
-                    "{$sFilterPrefix}{$_GET['taxonomy']}",
89
+                    "{$sFilterPrefix}{$_GET[ 'taxonomy' ]}",
90 90
                     $aColumns
91 91
                 );
92 92
             }
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      * @since       3.7.0      No longer sets the value to `$this-oProp->aOptions` but to the form peoperty.
124 124
      * @internal
125 125
      */
126
-    protected function _setOptionArray( $iTermID=null, $sOptionKey ) {
126
+    protected function _setOptionArray( $iTermID = null, $sOptionKey ) {
127 127
         $this->oForm->aSavedData = $this->_getSavedFormData( 
128 128
             $iTermID, 
129 129
             $sOptionKey
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
             
140 140
             return $this->oUtil->addAndApplyFilter(
141 141
                 $this, // the caller factory object
142
-                'options_' . $this->oProp->sClassName,
142
+                'options_'.$this->oProp->sClassName,
143 143
                 $this->_getSavedTermFormData( $iTermID, $sOptionKey )
144 144
                 // @todo maybe pass the term id because the user will not know whihch form data it is
145 145
             );
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      */
174 174
     public function _replyToValidateOptions( $iTermID ) {
175 175
 
176
-        if ( ! $this->_shouldProceedValidation() ) {
176
+        if ( !$this->_shouldProceedValidation() ) {
177 177
             return;
178 178
         }              
179 179
 
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
         $_aSubmittedFormData    = $this->oForm->getSubmittedData( $_POST ); 
183 183
         $_aSubmittedFormData    = $this->oUtil->addAndApplyFilters( 
184 184
             $this, 
185
-            'validation_' . $this->oProp->sClassName, 
185
+            'validation_'.$this->oProp->sClassName, 
186 186
             call_user_func_array( 
187 187
                 array( $this, 'validate' ), // triggers __call()
188 188
                 array( $_aSubmittedFormData, $_aSavedFormData, $this )
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
         
194 194
         // @todo Examine whether it is appropriate to merge recursivly 
195 195
         // as some fields will have a problem such as select with multiple options.
196
-        $_aTaxonomyFormData[ $iTermID ]  = $this->oUtil->uniteArrays( 
196
+        $_aTaxonomyFormData[ $iTermID ] = $this->oUtil->uniteArrays( 
197 197
             $_aSubmittedFormData, 
198 198
             $_aSavedFormData 
199 199
         );
@@ -215,11 +215,11 @@  discard block
 block discarded – undo
215 215
          */        
216 216
         protected 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
         protected 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.
development/factory/admin_page/AdminPageFramework_Model_Form.php 2 patches
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * @since       3.3.0
59 59
      * @since       3.3.1       Moved from `AdminPageFramework_Setting_Base`.
60 60
      */
61
-    public function __construct( $sOptionKey=null, $sCallerPath=null, $sCapability='manage_options', $sTextDomain='admin-page-framework' ) {
61
+    public function __construct( $sOptionKey = null, $sCallerPath = null, $sCapability = 'manage_options', $sTextDomain = 'admin-page-framework' ) {
62 62
 
63 63
         parent::__construct( $sOptionKey, $sCallerPath, $sCapability, $sTextDomain );
64 64
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 //        if ( $this->oProp->bIsAdminAjax ) {
67 67
 //            return;
68 68
 //        }
69
-        if ( ! $this->oProp->bIsAdmin ) {
69
+        if ( !$this->oProp->bIsAdmin ) {
70 70
             return;
71 71
         }
72 72
 
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
             'section_title' => null,
117 117
             'section_id'    => null,
118 118
         );
119
-        if ( ! $aFieldset[ 'help' ] ) {
119
+        if ( !$aFieldset[ 'help' ] ) {
120 120
             return;
121 121
         }
122 122
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
                 'help_tab_id'               => $_sRootSectionID,
135 135
                 'help_tab_content'          => "<span class='contextual-help-tab-title'>" 
136 136
                         . $aFieldset[ 'title' ] 
137
-                    . "</span> - " . PHP_EOL
137
+                    . "</span> - ".PHP_EOL
138 138
                     . $aFieldset[ 'help' ],
139 139
                 'help_tab_sidebar_content'  => $aFieldset[ 'help_aside' ] 
140 140
                     ? $aFieldset[ 'help_aside' ] 
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
         public function _registerHelpPaneItemsOfFormSections( $aSectionsets ) {            
169 169
 // @todo Test if help pane item gets displayed        
170 170
 
171
-            foreach( $aSectionsets as $_aSectionset ) {
171
+            foreach ( $aSectionsets as $_aSectionset ) {
172 172
 // @todo check capability and conditions                
173 173
                 $_aSectionset = $_aSectionset + array(
174 174
                     'help'          => null,
@@ -202,13 +202,13 @@  discard block
 block discarded – undo
202 202
      */
203 203
     public function _replyToDetermineSectionsetVisibility( $bVisible, $aSectionset ) {
204 204
 
205
-        if ( ! current_user_can( $aSectionset[ 'capability' ] ) ) {
205
+        if ( !current_user_can( $aSectionset[ 'capability' ] ) ) {
206 206
             return false;
207 207
         }
208
-        if ( ! $aSectionset[ 'if' ] ) { 
208
+        if ( !$aSectionset[ 'if' ] ) { 
209 209
             return false;
210 210
         }
211
-        if ( ! $this->_isSectionOfCurrentPage( $aSectionset ) ) { 
211
+        if ( !$this->_isSectionOfCurrentPage( $aSectionset ) ) { 
212 212
             return false;
213 213
         }
214 214
         return $bVisible;
@@ -226,15 +226,15 @@  discard block
 block discarded – undo
226 226
         private function _isSectionOfCurrentPage( array $aSectionset ) {
227 227
         
228 228
             // Make sure the value type is string so that when the page_slug is not set, it won't match.
229
-            $_sCurrentPageSlug  = ( string ) $this->oProp->getCurrentPageSlug();
229
+            $_sCurrentPageSlug = ( string ) $this->oProp->getCurrentPageSlug();
230 230
             
231 231
             // Make sure if it's in the loading page.
232
-            if ( $aSectionset[ 'page_slug' ] !== $_sCurrentPageSlug  ) { 
232
+            if ( $aSectionset[ 'page_slug' ] !== $_sCurrentPageSlug ) { 
233 233
                 return false; 
234 234
             }
235 235
 
236 236
             // If no tag is specified, the user wants to display the section regardless of the tab.
237
-            if ( ! $aSectionset[ 'tab_slug' ] ) {
237
+            if ( !$aSectionset[ 'tab_slug' ] ) {
238 238
                 return true;
239 239
             }
240 240
                 
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
      */
251 251
     public function _replyToDetermineFieldsetVisibility( $bVisible, $aFieldset ) {
252 252
         
253
-        $_sCurrentPageSlug  = $this->oProp->getCurrentPageSlug();
253
+        $_sCurrentPageSlug = $this->oProp->getCurrentPageSlug();
254 254
         
255 255
         // If the specified field does not exist, do nothing.
256 256
         if ( $aFieldset[ 'page_slug' ] !== $_sCurrentPageSlug ) { 
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
             array( $_sSectionPath, 'page_slug' ), 
281 281
             $this->oProp->getCurrentPageSlugIfAdded()
282 282
         );        
283
-        $aFieldset[ 'tab_slug' ]        = $this->oUtil->getElement( 
283
+        $aFieldset[ 'tab_slug' ] = $this->oUtil->getElement( 
284 284
             $aSectionsets, 
285 285
             array( $_sSectionPath, 'tab_slug' ), 
286 286
             $this->oProp->getCurrentInPageTabSlugIfAdded()
@@ -291,11 +291,11 @@  discard block
 block discarded – undo
291 291
             $aSectionsets,
292 292
             $_sSectionPath
293 293
         );
294
-        $aFieldset[ 'section_title' ]   = $this->oUtil->getElement( 
294
+        $aFieldset[ 'section_title' ] = $this->oUtil->getElement( 
295 295
             $_aSectionset, 
296 296
             'title'
297 297
         );
298
-        $aFieldset[ 'capability' ]   = $aFieldset[ 'capability' ]
298
+        $aFieldset[ 'capability' ] = $aFieldset[ 'capability' ]
299 299
             ? $aFieldset[ 'capability' ]
300 300
             : $this->_replyToGetCapabilityForForm( 
301 301
                 $this->oUtil->getElement( $_aSectionset, 'capability' ),
@@ -345,13 +345,13 @@  discard block
 block discarded – undo
345 345
             
346 346
             // Find the capability of the parent section if nested.
347 347
             if ( 0 < $aSectionset[ '_nested_depth' ] ) {
348
-                $_aSectionPath         = $aSectionset[ '_section_path_array' ];
348
+                $_aSectionPath = $aSectionset[ '_section_path_array' ];
349 349
                 array_pop( $_aSectionPath ); // remove the last element
350 350
                 $_sParentCapability = $this->oUtil->getElement(
351 351
                     $this->oForm->aSectionsets,
352 352
                     array_merge( $_aSectionPath, array( 'capability' ) )
353 353
                 );
354
-                if( $_sParentCapability ) {
354
+                if ( $_sParentCapability ) {
355 355
                     return $_sParentCapability;
356 356
                 }
357 357
             }
Please login to merge, or discard this patch.
Braces   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
          * @return      void
166 166
          * @since       3.7.0
167 167
          */
168
-        public function _registerHelpPaneItemsOfFormSections( $aSectionsets ) {            
168
+        public function _registerHelpPaneItemsOfFormSections( $aSectionsets ) {
169 169
 // @todo Test if help pane item gets displayed        
170 170
 
171 171
             foreach( $aSectionsets as $_aSectionset ) {
@@ -205,10 +205,10 @@  discard block
 block discarded – undo
205 205
         if ( ! current_user_can( $aSectionset[ 'capability' ] ) ) {
206 206
             return false;
207 207
         }
208
-        if ( ! $aSectionset[ 'if' ] ) { 
208
+        if ( ! $aSectionset[ 'if' ] ) {
209 209
             return false;
210 210
         }
211
-        if ( ! $this->_isSectionOfCurrentPage( $aSectionset ) ) { 
211
+        if ( ! $this->_isSectionOfCurrentPage( $aSectionset ) ) {
212 212
             return false;
213 213
         }
214 214
         return $bVisible;
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
             $_sCurrentPageSlug  = ( string ) $this->oProp->getCurrentPageSlug();
230 230
             
231 231
             // Make sure if it's in the loading page.
232
-            if ( $aSectionset[ 'page_slug' ] !== $_sCurrentPageSlug  ) { 
232
+            if ( $aSectionset[ 'page_slug' ] !== $_sCurrentPageSlug  ) {
233 233
                 return false; 
234 234
             }
235 235
 
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
         $_sCurrentPageSlug  = $this->oProp->getCurrentPageSlug();
254 254
         
255 255
         // If the specified field does not exist, do nothing.
256
-        if ( $aFieldset[ 'page_slug' ] !== $_sCurrentPageSlug ) { 
256
+        if ( $aFieldset[ 'page_slug' ] !== $_sCurrentPageSlug ) {
257 257
             return false; 
258 258
         }        
259 259
         return parent::_replyToDetermineFieldsetVisibility( $bVisible, $aFieldset );
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
      */
267 267
     public function _replyToFormatFieldsetDefinition( $aFieldset, $aSectionsets ) {
268 268
         
269
-        if ( empty( $aFieldset ) ) { 
269
+        if ( empty( $aFieldset ) ) {
270 270
             return $aFieldset; 
271 271
         }
272 272
         
Please login to merge, or discard this patch.
admin_page/_view/AdminPageFramework_View__PageRenderer__InPageTabs.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
             $_sTag              = $this->_getInPageTabTag( $sTag, $_aPage );
74 74
              
75 75
             // If the in-page tabs' visibility is set to false, returns the title.
76
-            if ( ! $_aPage[ 'show_in_page_tabs' ] ) {
76
+            if ( !$_aPage[ 'show_in_page_tabs' ] ) {
77 77
                 return $this->getElement( $aInPageTabs, array( $_sCurrentTabSlug, 'title' ) )
78 78
                     ? "<{$_sTag} class='admin-page-framework-in-page-tab-title'>"
79 79
                             . $aInPageTabs[ $_sCurrentTabSlug ][ 'title' ]
@@ -100,9 +100,9 @@  discard block
 block discarded – undo
100 100
             private function _getInPageTabNavigationBar( array $aTabs, $sActiveTab, $sCurrentPageSlug, $sTag ) {
101 101
 
102 102
                 $_oTabBar = new AdminPageFramework_TabNavigationBar(
103
-                    $aTabs,      // tabs
103
+                    $aTabs, // tabs
104 104
                     $sActiveTab, // active tab slug
105
-                    $sTag,       // container tag
105
+                    $sTag, // container tag
106 106
                     array(       // container attributes
107 107
                         'class' => 'in-page-tab',
108 108
                     ),
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
                  * @since           3.5.10
131 131
                  * @since           3.6.3       Moved from `AdminPageFramework_Page_View`.
132 132
                  */
133
-                public function _replyToFormatNavigationTabItem_InPageTab( array $aTab, array $aStructure, array $aTabs, array $aArguments=array() ) {
133
+                public function _replyToFormatNavigationTabItem_InPageTab( array $aTab, array $aStructure, array $aTabs, array $aArguments = array() ) {
134 134
                     $_oFormatter = new AdminPageFramework_Format_NavigationTab_InPageTab(
135 135
                         $aTab,
136 136
                         $aStructure,
Please login to merge, or discard this patch.
document/factory/AdminPageFramework_NetworkAdmin_Documentation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,4 +82,4 @@
 block discarded – undo
82 82
  * @package     AdminPageFramework/Factory/NetworkAdmin
83 83
  * @heading     Network Admin Page
84 84
  */
85
-abstract class AdminPageFramework_NetworkAdmin_Documentation extends AdminPageFramework_Documentaiton{}
85
+abstract class AdminPageFramework_NetworkAdmin_Documentation extends AdminPageFramework_Documentaiton {}
Please login to merge, or discard this patch.
development/utility/toc/AdminPageFramework_TableOfContents.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param       integer     $iDepth     The header number to parse.
38 38
      * @param       string      $sTitle     The heading title which appears at the beginning of the output.
39 39
      */
40
-    public function __construct( $sHTML, $iDepth=4, $sTitle='' ) {
40
+    public function __construct( $sHTML, $iDepth = 4, $sTitle = '' ) {
41 41
         
42 42
         $this->sTitle   = $sTitle;
43 43
         $this->sHTML    = $sHTML;
@@ -75,26 +75,26 @@  discard block
 block discarded – undo
75 75
      */
76 76
     public function getTOC() {
77 77
         
78
-        $iDepth     = $this->iDepth;
78
+        $iDepth = $this->iDepth;
79 79
         
80 80
         // get the headings down to the specified depth
81 81
         $this->sHTML = preg_replace_callback( 
82
-            '/<h[2-' . $iDepth . ']*[^>]*>.*?<\/h[2-' . $iDepth . ']>/i',
82
+            '/<h[2-'.$iDepth.']*[^>]*>.*?<\/h[2-'.$iDepth.']>/i',
83 83
             array( $this, '_replyToInsertNamedElement' ),
84 84
             $this->sHTML
85 85
         );
86 86
         
87 87
         $_aOutput = array();
88
-        foreach( $this->_aMatches as $_iIndex => $_sMatch ) {
88
+        foreach ( $this->_aMatches as $_iIndex => $_sMatch ) {
89 89
             $_sMatch = strip_tags( $_sMatch, '<h1><h2><h3><h4><h5><h6><h7><h8>' );
90
-            $_sMatch = preg_replace( '/<h([1-' . $iDepth . '])>/', '<li class="toc$1"><a href="#toc_' . $_iIndex . '">', $_sMatch );
91
-            $_sMatch = preg_replace( '/<\/h[1-' . $iDepth . ']>/', '</a></li>', $_sMatch );
92
-            $_aOutput[] = $_sMatch;
90
+            $_sMatch = preg_replace( '/<h([1-'.$iDepth.'])>/', '<li class="toc$1"><a href="#toc_'.$_iIndex.'">', $_sMatch );
91
+            $_sMatch = preg_replace( '/<\/h[1-'.$iDepth.']>/', '</a></li>', $_sMatch );
92
+            $_aOutput[ ] = $_sMatch;
93 93
         }
94 94
 
95 95
         // plug the results into appropriate HTML tags
96 96
         $this->sTitle = $this->sTitle 
97
-            ? '<p class="toc-title">' . $this->sTitle . '</p>'
97
+            ? '<p class="toc-title">'.$this->sTitle.'</p>'
98 98
             : '';
99 99
         return '<div class="toc">'
100 100
                 . $this->sTitle
@@ -111,8 +111,8 @@  discard block
 block discarded – undo
111 111
         public function _replyToInsertNamedElement( $aMatches ) {
112 112
             static $_icount = -1;
113 113
             $_icount++;
114
-            $this->_aMatches[] = $aMatches[ 0 ];
115
-            return "<span class='toc_header_link' id='toc_{$_icount}'></span>" . PHP_EOL
114
+            $this->_aMatches[ ] = $aMatches[ 0 ];
115
+            return "<span class='toc_header_link' id='toc_{$_icount}'></span>".PHP_EOL
116 116
                 . $aMatches[ 0 ];
117 117
         }    
118 118
         /**#@-*/
Please login to merge, or discard this patch.
development/cli/AdminPageFramework_MinifiedVersionHeader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * If accessed from a console, include the registry class to laod 'AdminPageFramework_Registry_Base'.
12 12
  */
13 13
 if ( php_sapi_name() === 'cli' ) {
14
-    $_sFrameworkFilePath = dirname( dirname( __FILE__ ) ) . '/admin-page-framework.php';
14
+    $_sFrameworkFilePath = dirname( dirname( __FILE__ ) ).'/admin-page-framework.php';
15 15
     if ( file_exists( $_sFrameworkFilePath ) ) {
16 16
         include_once( $_sFrameworkFilePath );
17 17
     }
Please login to merge, or discard this patch.