Completed
Branch dev (acf3d0)
by Michael
05:39
created
development/factory/_common/utility/AdminPageFramework_Debug.php 3 patches
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,6 +177,7 @@  discard block
 block discarded – undo
177 177
          * Determines the log file path.
178 178
          * @since       3.5.3 
179 179
          * @internal    
180
+         * @param string|null $bsFilePath
180 181
          * @return      string      The path of the file to log the contents.
181 182
          */
182 183
         static private function _getLogFilePath( $bsFilePath, $sCallerClass ) {
@@ -213,6 +214,8 @@  discard block
 block discarded – undo
213 214
          * Returns the heading part of a log item.
214 215
          * @since       3.5.3
215 216
          * @internal
217
+         * @param double $fCurrentTimeStamp
218
+         * @param double $nElapsed
216 219
          * @return      string      the heading part of a log item.
217 220
          */
218 221
         static private function _getLogHeadingLine( $fCurrentTimeStamp, $nElapsed, $sCallerClass, $sCallerFunction ) {
@@ -411,7 +414,6 @@  discard block
 block discarded – undo
411 414
                 /**
412 415
                  * @return      string
413 416
                  * @param       scalar      $sScalar        
414
-                 * @param       integer     $iCharLimit     Character length limit to truncate.
415 417
                  * @since       3.8.9
416 418
                  */
417 419
                 static private function _getLegibleScalar( $sScalar ) {
@@ -441,6 +443,7 @@  discard block
 block discarded – undo
441 443
                         
442 444
                     }                
443 445
                     /**
446
+                     * @param string $sString
444 447
                      * @return      string
445 448
                      */
446 449
                     static private function _getLegibleString( $sString, $iCharLimit=200 ) {
@@ -485,6 +488,7 @@  discard block
 block discarded – undo
485 488
     
486 489
         /**
487 490
          * Performs `array_map()` recursively.
491
+         * @param string[] $oCallable
488 492
          * @return      array.
489 493
          * @since       3.8.9
490 494
          */
Please login to merge, or discard this patch.
Spacing   +45 added lines, -45 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      * @param       string          $sFilePath      The file path for a log file.
34 34
      * @return      void
35 35
      */
36
-    static public function dump( $asArray, $sFilePath=null ) {
36
+    static public function dump( $asArray, $sFilePath = null ) {
37 37
         echo self::get( $asArray, $sFilePath );
38 38
     }    
39 39
         /**
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
          * @since unknown
45 45
          * @deprecated      3.2.0
46 46
          */
47
-        static public function dumpArray( $asArray, $sFilePath=null ) {
47
+        static public function dumpArray( $asArray, $sFilePath = null ) {
48 48
             self::dump( $asArray, $sFilePath );
49 49
         }    
50 50
     
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      * @since       3.8.9
54 54
      * @return      string
55 55
      */
56
-    static public function getDetails( $mValue, $bEscape=true ) {    
56
+    static public function getDetails( $mValue, $bEscape = true ) {    
57 57
         $_sValueWithDetails = self::_getArrayRepresentationSanitized(
58 58
             self::_getLegible( $mValue )
59 59
         );
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      * @param       string          $sFilePath      The file path for a log file.
97 97
      * @param       boolean         $bEscape        Whether to escape characters.
98 98
      */
99
-    static public function get( $asArray, $sFilePath=null, $bEscape=true ) {
99
+    static public function get( $asArray, $sFilePath = null, $bEscape = true ) {
100 100
 
101 101
         if ( $sFilePath ) {
102 102
             self::log( $asArray, $sFilePath );     
@@ -118,8 +118,8 @@  discard block
 block discarded – undo
118 118
          * @since       3.0.0 Changed the $bEncloseInTag parameter to bEscape.
119 119
          * @deprecated  3.2.0
120 120
          */
121
-        static public function getArray( $asArray, $sFilePath=null, $bEscape=true ) {
122
-            self::showDeprecationNotice( __CLASS__ .'::' . __FUNCTION__,  __CLASS__ .'::get()' );
121
+        static public function getArray( $asArray, $sFilePath = null, $bEscape = true ) {
122
+            self::showDeprecationNotice( __CLASS__.'::'.__FUNCTION__, __CLASS__.'::get()' );
123 123
             return self::get( $asArray, $sFilePath, $bEscape );
124 124
         }      
125 125
             
@@ -141,18 +141,18 @@  discard block
 block discarded – undo
141 141
      * @param       string      $sFilePath      The log file path.
142 142
      * @return      void
143 143
      **/
144
-    static public function log( $mValue, $sFilePath=null ) {
144
+    static public function log( $mValue, $sFilePath = null ) {
145 145
                 
146 146
         static $_fPreviousTimeStamp = 0;
147 147
         
148 148
         $_oCallerInfo       = debug_backtrace();
149 149
         $_sCallerFunction   = self::getElement(
150
-            $_oCallerInfo,  // subject array
150
+            $_oCallerInfo, // subject array
151 151
             array( 1, 'function' ), // key
152 152
             ''      // default
153 153
         );                        
154
-        $_sCallerClass      = self::getElement(
155
-            $_oCallerInfo,  // subject array
154
+        $_sCallerClass = self::getElement(
155
+            $_oCallerInfo, // subject array
156 156
             array( 1, 'class' ), // key
157 157
             ''      // default
158 158
         );           
@@ -162,11 +162,11 @@  discard block
 block discarded – undo
162 162
             self::_getLogFilePath( $sFilePath, $_sCallerClass ), 
163 163
             self::_getLogHeadingLine( 
164 164
                 $_fCurrentTimeStamp,
165
-                round( $_fCurrentTimeStamp - $_fPreviousTimeStamp, 3 ),     // elapsed time
165
+                round( $_fCurrentTimeStamp - $_fPreviousTimeStamp, 3 ), // elapsed time
166 166
                 $_sCallerClass,
167 167
                 $_sCallerFunction
168
-            ) . PHP_EOL
169
-            . self::_getLegible( $mValue ) . PHP_EOL . PHP_EOL,
168
+            ).PHP_EOL
169
+            . self::_getLegible( $mValue ).PHP_EOL.PHP_EOL,
170 170
             FILE_APPEND 
171 171
         );     
172 172
         
@@ -187,9 +187,9 @@  discard block
 block discarded – undo
187 187
             }
188 188
             // Return a generated default log path.
189 189
             if ( true === $bsFilePath ) {
190
-                return WP_CONTENT_DIR . DIRECTORY_SEPARATOR . basename( get_class() ) . '_' . date( "Ymd" ) . '.log';
190
+                return WP_CONTENT_DIR.DIRECTORY_SEPARATOR.basename( get_class() ).'_'.date( "Ymd" ).'.log';
191 191
             }
192
-            return WP_CONTENT_DIR . DIRECTORY_SEPARATOR . basename( get_class() ) . '_' . basename( $sCallerClass ) . '_' . date( "Ymd" ) . '.log';
192
+            return WP_CONTENT_DIR.DIRECTORY_SEPARATOR.basename( get_class() ).'_'.basename( $sCallerClass ).'_'.date( "Ymd" ).'.log';
193 193
             
194 194
         }
195 195
             /**
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
              * @internal
199 199
              */
200 200
             static private function _createFile( $sFilePath ) {
201
-                if ( ! $sFilePath || true === $sFilePath ) {
201
+                if ( !$sFilePath || true === $sFilePath ) {
202 202
                     return false;
203 203
                 }
204 204
                 if ( file_exists( $sFilePath ) ) {
@@ -230,11 +230,11 @@  discard block
 block discarded – undo
230 230
             $_nMicroseconds     = str_pad( round( ( $_nNow - floor( $_nNow ) ) * 10000 ), 4, '0' );
231 231
             
232 232
             $_aOutput           = array(
233
-                date( "Y/m/d H:i:s", $_nNow ) . '.' . $_nMicroseconds,
233
+                date( "Y/m/d H:i:s", $_nNow ).'.'.$_nMicroseconds,
234 234
                 self::_getFormattedElapsedTime( $nElapsed ),
235 235
                 $_iPageLoadID,
236 236
                 AdminPageFramework_Registry::getVersion(),
237
-                $sCallerClass . '::' . $sCallerFunction,
237
+                $sCallerClass.'::'.$sCallerFunction,
238 238
                 current_filter(),
239 239
                 self::getCurrentURL(),
240 240
             );
@@ -252,22 +252,22 @@  discard block
 block discarded – undo
252 252
                 $_aElapsedParts     = explode( ".", ( string ) $nElapsed );
253 253
                 $_sElapsedFloat     = str_pad(
254 254
                     self::getElement(
255
-                        $_aElapsedParts,  // subject array
255
+                        $_aElapsedParts, // subject array
256 256
                         1, // key
257 257
                         0      // default
258 258
                     ),      
259 259
                     3, 
260 260
                     '0'
261 261
                 );
262
-                $_sElapsed          = self::getElement(
263
-                    $_aElapsedParts,  // subject array
264
-                    0,  // key
262
+                $_sElapsed = self::getElement(
263
+                    $_aElapsedParts, // subject array
264
+                    0, // key
265 265
                     0   // default
266 266
                 );                                   
267
-                $_sElapsed          = strlen( $_sElapsed ) > 1 
268
-                    ? '+' . substr( $_sElapsed, -1, 2 ) 
269
-                    : ' ' . $_sElapsed;
270
-                return $_sElapsed . '.' . $_sElapsedFloat;
267
+                $_sElapsed = strlen( $_sElapsed ) > 1 
268
+                    ? '+'.substr( $_sElapsed, -1, 2 ) 
269
+                    : ' '.$_sElapsed;
270
+                return $_sElapsed.'.'.$_sElapsedFloat;
271 271
             
272 272
             }
273 273
         /**
@@ -277,8 +277,8 @@  discard block
 block discarded – undo
277 277
          * @since       3.0.3   Changed the default log location and file name.
278 278
          * @deprecated  3.1.0   Use the `log()` method instead.
279 279
          */
280
-        static public function logArray( $asArray, $sFilePath=null ) {
281
-            self::showDeprecationNotice( __CLASS__ .'::' . __FUNCTION__,  __CLASS__ .'::log()' );
280
+        static public function logArray( $asArray, $sFilePath = null ) {
281
+            self::showDeprecationNotice( __CLASS__.'::'.__FUNCTION__, __CLASS__.'::log()' );
282 282
             self::log( $asArray, $sFilePath );     
283 283
         }      
284 284
         
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
          */
314 314
         static private function _getObjectName( $mItem ) {
315 315
             if ( is_object( $mItem ) ) {
316
-                return '(object) ' . get_class( $mItem );
316
+                return '(object) '.get_class( $mItem );
317 317
             }
318 318
             return $mItem;
319 319
         }
@@ -325,8 +325,8 @@  discard block
 block discarded – undo
325 325
          */
326 326
         static private function _getLegible( $mValue ) {                
327 327
             if ( is_array( $mValue ) ) {            
328
-                return '(array, length: ' . count( $mValue ).') ' 
329
-                    . print_r( self::_getLegibleArray( $mValue ) , true );
328
+                return '(array, length: '.count( $mValue ).') ' 
329
+                    . print_r( self::_getLegibleArray( $mValue ), true );
330 330
             }
331 331
             return print_r( self::_getLegibleValue( $mValue ), true );
332 332
         }
@@ -339,16 +339,16 @@  discard block
 block discarded – undo
339 339
         static private function _getLegibleCallable( $asoCallable ) {
340 340
             
341 341
             if ( is_string( $asoCallable ) ) {
342
-                return '(callable) ' . $asoCallable;
342
+                return '(callable) '.$asoCallable;
343 343
             }
344 344
             if ( is_object( $asoCallable ) ) {
345
-                return '(callable) ' . get_class( $asoCallable );
345
+                return '(callable) '.get_class( $asoCallable );
346 346
             }
347 347
             $_sSubject = is_object( $asoCallable[ 0 ] )
348 348
                 ? get_class( $asoCallable[ 0 ] )
349 349
                 : ( string ) $asoCallable[ 0 ];
350 350
 
351
-            return '(callable) ' . $_sSubject . '::' . ( string ) $asoCallable[ 1 ];
351
+            return '(callable) '.$_sSubject.'::'.( string ) $asoCallable[ 1 ];
352 352
             
353 353
         }        
354 354
         /**
@@ -361,8 +361,8 @@  discard block
 block discarded – undo
361 361
             if ( method_exists( $oObject, '__toString' ) ) {
362 362
                 return ( string ) $oObject;
363 363
             }
364
-            return '(object) ' . get_class( $oObject ) . ' ' 
365
-                . count( get_object_vars( $oObject ) ) . ' properties.';
364
+            return '(object) '.get_class( $oObject ).' ' 
365
+                . count( get_object_vars( $oObject ) ).' properties.';
366 366
             
367 367
         } 
368 368
         /**
@@ -400,12 +400,12 @@  discard block
 block discarded – undo
400 400
                         return '(null)';
401 401
                     }                    
402 402
                     if ( is_object( $mNonScalar ) ) {
403
-                        return '(' . $_sType . ') ' . get_class( $mNonScalar );
403
+                        return '('.$_sType.') '.get_class( $mNonScalar );
404 404
                     }
405 405
                     if ( is_array( $mNonScalar ) ) {
406
-                        return '(' . $_sType . ') ' . count( $mNonScalar ) . ' elements';
406
+                        return '('.$_sType.') '.count( $mNonScalar ).' elements';
407 407
                     }
408
-                    return '(' . $_sType . ') ' . ( string ) $mNonScalar;
408
+                    return '('.$_sType.') '.( string ) $mNonScalar;
409 409
                     
410 410
                 }
411 411
                 /**
@@ -417,11 +417,11 @@  discard block
 block discarded – undo
417 417
                 static private function _getLegibleScalar( $sScalar ) {
418 418
                  
419 419
                     if ( is_bool( $sScalar ) ) {
420
-                        return '(boolean) ' . ( $sScalar ? 'true' : 'false' );
420
+                        return '(boolean) '.( $sScalar ? 'true' : 'false' );
421 421
                     }                 
422 422
                     return is_string( $sScalar )
423 423
                         ? self::_getLegibleString( $sScalar )
424
-                        : '(' . gettype( $sScalar ) . ', length: ' . self::_getValueLength( $sScalar ) .  ') ' . $sScalar;
424
+                        : '('.gettype( $sScalar ).', length: '.self::_getValueLength( $sScalar ).') '.$sScalar;
425 425
                 }
426 426
                     /**
427 427
                      * Returns a length of a value.
@@ -443,7 +443,7 @@  discard block
 block discarded – undo
443 443
                     /**
444 444
                      * @return      string
445 445
                      */
446
-                    static private function _getLegibleString( $sString, $iCharLimit=200 ) {
446
+                    static private function _getLegibleString( $sString, $iCharLimit = 200 ) {
447 447
                     
448 448
                         static $_iMBSupport;
449 449
                         $_iMBSupport    = isset( $_iMBSupport ) ? $_iMBSupport : ( integer ) function_exists( 'mb_strlen' );
@@ -452,8 +452,8 @@  discard block
 block discarded – undo
452 452
                         
453 453
                         $_iCharLength   = call_user_func_array( $_aStrLenMethod[ $_iMBSupport ], array( $sString ) );
454 454
                         return $_iCharLength <= $iCharLimit
455
-                            ? '(string, length: ' . $_iCharLength . ') ' . $sString
456
-                            : '(string, length: ' . $_iCharLength . ') ' . call_user_func_array( $_aSubstrMethod[ $_iMBSupport ], array( $sString, 0, $iCharLimit ) )
455
+                            ? '(string, length: '.$_iCharLength.') '.$sString
456
+                            : '(string, length: '.$_iCharLength.') '.call_user_func_array( $_aSubstrMethod[ $_iMBSupport ], array( $sString, 0, $iCharLimit ) )
457 457
                                 . '...';
458 458
                         
459 459
                     }
@@ -466,7 +466,7 @@  discard block
 block discarded – undo
466 466
          * @return      array
467 467
          * @internal
468 468
          */
469
-        static private function _getSliceByDepth( array $aSubject, $iDepth=0 ) {
469
+        static private function _getSliceByDepth( array $aSubject, $iDepth = 0 ) {
470 470
 
471 471
             foreach ( $aSubject as $_sKey => $_vValue ) {
472 472
                 if ( is_array( $_vValue ) ) {
Please login to merge, or discard this patch.
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      * @since       3.8.9
54 54
      * @return      string
55 55
      */
56
-    static public function getDetails( $mValue, $bEscape=true ) {    
56
+    static public function getDetails( $mValue, $bEscape=true ) {
57 57
         $_sValueWithDetails = self::_getArrayRepresentationSanitized(
58 58
             self::_getLegible( $mValue )
59 59
         );
@@ -323,8 +323,8 @@  discard block
 block discarded – undo
323 323
          * @since       3.8.9
324 324
          * @return      string
325 325
          */
326
-        static private function _getLegible( $mValue ) {                
327
-            if ( is_array( $mValue ) ) {            
326
+        static private function _getLegible( $mValue ) {
327
+            if ( is_array( $mValue ) ) {
328 328
                 return '(array, length: ' . count( $mValue ).') ' 
329 329
                     . print_r( self::_getLegibleArray( $mValue ) , true );
330 330
             }
@@ -502,7 +502,7 @@  discard block
 block discarded – undo
502 502
              * @return      mixed       A modified value.
503 503
              * @since       3.8.9
504 504
              */
505
-            static private function _getArrayMappedNested( $mItem ) {            
505
+            static private function _getArrayMappedNested( $mItem ) {
506 506
                 return is_array( $mItem ) 
507 507
                     ? array_map( array( __CLASS__, '_getArrayMappedNested' ), $mItem ) 
508 508
                     : call_user_func( self::$_oCurrentCallableForArrayMapRecursive, $mItem );            
Please login to merge, or discard this patch.
admin-page-framework-loader.php 1 patch
Spacing   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@  discard block
 block discarded – undo
16 16
  */
17 17
 class AdminPageFrameworkLoader_Registry_Base {
18 18
 
19
-    const VERSION        = '3.8.9b02';    // <--- DON'T FORGET TO CHANGE THIS AS WELL!!
19
+    const VERSION        = '3.8.9b02'; // <--- DON'T FORGET TO CHANGE THIS AS WELL!!
20 20
     const NAME           = 'Admin Page Framework - Loader'; // the name is not 'Admin Page Framework' because warning messages gets confusing.
21
-    const SHORTNAME      = 'Admin Page Framework';  // used for a menu title etc.
21
+    const SHORTNAME      = 'Admin Page Framework'; // used for a menu title etc.
22 22
     const DESCRIPTION    = 'Loads Admin Page Framework which facilitates WordPress plugin and theme development.';
23 23
     const URI            = 'http://admin-page-framework.michaeluno.jp/';
24 24
     const AUTHOR         = 'miunosoft (Michael Uno)';
@@ -55,14 +55,14 @@  discard block
 block discarded – undo
55 55
      * @remark      This is also accessed from `uninstall.php` so do not remove.
56 56
      * @remark      Do not exceed 8 characters as a transient name allows 45 characters or less ( 40 for site transients ) so that md5 (32 characters) can be added.
57 57
      */
58
-    const TRANSIENT_PREFIX         = 'APFL_';
58
+    const TRANSIENT_PREFIX = 'APFL_';
59 59
 
60 60
     /**
61 61
      * The hook slug used for the prefix of action and filter hook names.
62 62
      * 
63 63
      * @remark      The ending underscore is not necessary.
64 64
      */
65
-    const HOOK_SLUG                = 'admin_page_framework_loader';
65
+    const HOOK_SLUG = 'admin_page_framework_loader';
66 66
 
67 67
     /**
68 68
      * The text domain slug and its path.
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     static public $aAdminPages = array(
118 118
         // key => 'page slug'
119
-        'about'     => 'apfl_about',        // the welcome page
119
+        'about'     => 'apfl_about', // the welcome page
120 120
         'addon'     => 'apfl_addons',
121 121
         'tool'      => 'apfl_tools',
122 122
         'help'      => 'apfl_contact',
@@ -154,12 +154,12 @@  discard block
 block discarded – undo
154 154
      * @since       3.5.0
155 155
      * @return      string
156 156
      */
157
-    public static function getPluginURL( $sRelativePath='' ) {
157
+    public static function getPluginURL( $sRelativePath = '' ) {
158 158
         if ( isset( self::$_sPluginURLCache ) ) {
159
-            return self::$_sPluginURLCache . $sRelativePath;
159
+            return self::$_sPluginURLCache.$sRelativePath;
160 160
         }
161 161
         self::$_sPluginURLCache = trailingslashit( plugins_url( '', self::$sFilePath ) );
162
-        return self::$_sPluginURLCache . $sRelativePath;
162
+        return self::$_sPluginURLCache.$sRelativePath;
163 163
     }
164 164
         /**
165 165
          * @since       3.7.9
@@ -189,13 +189,13 @@  discard block
 block discarded – undo
189 189
      * @since       3.5.0
190 190
      * @return      void
191 191
      */ 
192
-    static public function setAdminNotice( $sMessage, $sClassAttribute='error' ) {
193
-        if ( ! is_admin() ) {  
192
+    static public function setAdminNotice( $sMessage, $sClassAttribute = 'error' ) {
193
+        if ( !is_admin() ) {  
194 194
             return; 
195 195
         }
196
-        self::$_aAdminNotices[] = array(
196
+        self::$_aAdminNotices[ ] = array(
197 197
             'message'           => $sMessage,
198
-            'class_attribute'   => trim( $sClassAttribute ) . ' notice is-dismissible',
198
+            'class_attribute'   => trim( $sClassAttribute ).' notice is-dismissible',
199 199
         );
200 200
         add_action( 'admin_notices', array( __CLASS__, '_replyToSetAdminNotice' ) );
201 201
     }
@@ -205,12 +205,12 @@  discard block
 block discarded – undo
205 205
          * @return      void
206 206
          */
207 207
         static public function _replyToSetAdminNotice() {
208
-            foreach( self::$_aAdminNotices as $_aAdminNotice ) {
209
-                echo "<div class='" . esc_attr( $_aAdminNotice['class_attribute'] ) . " notice is-dismissible'>"
208
+            foreach ( self::$_aAdminNotices as $_aAdminNotice ) {
209
+                echo "<div class='".esc_attr( $_aAdminNotice[ 'class_attribute' ] )." notice is-dismissible'>"
210 210
                         ."<p>"
211 211
                             . sprintf(
212
-                                '<strong>%1$s</strong>: ' . $_aAdminNotice['message'],
213
-                                self::NAME . ' ' . self::VERSION
212
+                                '<strong>%1$s</strong>: '.$_aAdminNotice[ 'message' ],
213
+                                self::NAME.' '.self::VERSION
214 214
                             )
215 215
                         . "</p>"
216 216
                     . "</div>";
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
 AdminPageFrameworkLoader_Registry::setUp( __FILE__ );
223 223
 
224 224
 // Initial checks. - Do no load if accessed directly, not exiting because the 'uninstall.php' and inclusion list generator will load this file.
225
-if ( ! defined( 'ABSPATH' ) ) {
225
+if ( !defined( 'ABSPATH' ) ) {
226 226
     return;
227 227
 }
228 228
 if ( defined( 'DOING_UNINSTALL' ) ) {
@@ -234,8 +234,8 @@  discard block
 block discarded – undo
234 234
 
235 235
     $_bFrameworkLoaded = class_exists( 'AdminPageFramework_Registry', false );
236 236
     if (
237
-        ! $_bFrameworkLoaded
238
-        || ! defined( 'AdminPageFramework_Registry::VERSION' ) // backward compatibility
237
+        !$_bFrameworkLoaded
238
+        || !defined( 'AdminPageFramework_Registry::VERSION' ) // backward compatibility
239 239
         || version_compare( AdminPageFramework_Registry::VERSION, AdminPageFrameworkLoader_Registry::VERSION, '<' )
240 240
     ) {
241 241
         AdminPageFrameworkLoader_Registry::setAdminNotice(
@@ -253,18 +253,18 @@  discard block
 block discarded – undo
253 253
 add_action( 'admin_init', 'AdminPageFrameworkLoader_Warning' );
254 254
 
255 255
 // Include the library file - the development version will be available if you cloned the GitHub repository.
256
-$_sDevelopmentVersionPath = AdminPageFrameworkLoader_Registry::$sDirPath . '/development/admin-page-framework.php';
256
+$_sDevelopmentVersionPath = AdminPageFrameworkLoader_Registry::$sDirPath.'/development/admin-page-framework.php';
257 257
 $_bDebugMode              = defined( 'WP_DEBUG' ) && WP_DEBUG;
258 258
 $_bLoadDevelopmentVersion = $_bDebugMode && file_exists( $_sDevelopmentVersionPath );
259 259
 include(
260 260
     $_bLoadDevelopmentVersion
261 261
         ? $_sDevelopmentVersionPath
262
-        : AdminPageFrameworkLoader_Registry::$sDirPath . '/library/apf/admin-page-framework.php'
262
+        : AdminPageFrameworkLoader_Registry::$sDirPath.'/library/apf/admin-page-framework.php'
263 263
 );
264 264
 
265 265
 // Include the framework loader plugin components.
266 266
 include( AdminPageFramework_Registry::$aClassFiles[ 'AdminPageFramework_PluginBootstrap' ] );
267
-include( AdminPageFrameworkLoader_Registry::$sDirPath . '/include/class/AdminPageFrameworkLoader_Bootstrap.php' );
267
+include( AdminPageFrameworkLoader_Registry::$sDirPath.'/include/class/AdminPageFrameworkLoader_Bootstrap.php' );
268 268
 new AdminPageFrameworkLoader_Bootstrap(
269 269
     AdminPageFrameworkLoader_Registry::$sFilePath,
270 270
     AdminPageFrameworkLoader_Registry::HOOK_SLUG    // hook prefix
Please login to merge, or discard this patch.