Completed
Branch dev (410a92)
by
unknown
134:40 queued 124:59
created
factory/_common/form/field_type/AdminPageFramework_FieldType_size.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -165,6 +165,7 @@  discard block
 block discarded – undo
165 165
              * Returns the HTML output of the number input part.
166 166
              * 
167 167
              * @since       3.5.3
168
+             * @param boolean $bMultiLabels
168 169
              * @return      string      The number input output.
169 170
              */
170 171
             private function _getNumberInputPart( array $aField, array $aBaseAttributes, $isKey, $bMultiLabels ) {
@@ -217,6 +218,7 @@  discard block
 block discarded – undo
217 218
              * Returns the HTML output of the unit select input part.
218 219
              * 
219 220
              * @since       3.5.3
221
+             * @param boolean $bMultiLabels
220 222
              * @return      string      The unit select input output.
221 223
              */
222 224
             private function _getUnitSelectInput( array $aField, array $aBaseAttributes, $isKey, $bMultiLabels ) {
Please login to merge, or discard this patch.
Spacing   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * Defines the field type slugs used for this field type.
23 23
      */
24
-    public $aFieldTypeSlugs = array( 'size', );
24
+    public $aFieldTypeSlugs = array( 'size',);
25 25
     
26 26
     /**
27 27
      * Defines the default key-values of this field type. 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     protected $aDefaultKeys = array(
32 32
         'is_multiple'           => false, // indicates whether the select tag alloes multiple selections.
33
-        'units'                 => null,  // do not define units here since this will be merged with the user defined field array.
33
+        'units'                 => null, // do not define units here since this will be merged with the user defined field array.
34 34
         'attributes'            => array(
35 35
             'size'      => array(
36 36
                 'min'           => null,
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     protected $aDefaultUnits = array(
60 60
         'px'    => 'px', // pixel
61
-        '%'     => '%',  // percentage
61
+        '%'     => '%', // percentage
62 62
         'em'    => 'em', // font size
63 63
         'ex'    => 'ex', // font height
64 64
         'in'    => 'in', // inch
@@ -115,8 +115,8 @@  discard block
 block discarded – undo
115 115
         );
116 116
 
117 117
         $_aOutput = array();
118
-        foreach( ( array ) $aField[ 'label' ] as $_isKey => $_sLabel ) {
119
-            $_aOutput[] = $this->_getFieldOutputByLabel( 
118
+        foreach ( ( array ) $aField[ 'label' ] as $_isKey => $_sLabel ) {
119
+            $_aOutput[ ] = $this->_getFieldOutputByLabel( 
120 120
                 $_isKey, 
121 121
                 $_sLabel,
122 122
                 $aField
@@ -138,8 +138,8 @@  discard block
 block discarded – undo
138 138
 
139 139
             $_aBaseAttributes   = $_bMultiLabels
140 140
                 ? array(
141
-                        'name'  => $aField[ 'attributes' ][ 'name' ] . "[{$isKey}]",
142
-                        'id'    => $aField[ 'attributes' ][ 'id' ] . "_{$isKey}",
141
+                        'name'  => $aField[ 'attributes' ][ 'name' ]."[{$isKey}]",
142
+                        'id'    => $aField[ 'attributes' ][ 'id' ]."_{$isKey}",
143 143
                         'value' => $aField[ 'value' ],
144 144
                     ) 
145 145
                     + $aField[ 'attributes' ]
@@ -151,9 +151,9 @@  discard block
 block discarded – undo
151 151
                      
152 152
             $_aOutput = array(
153 153
                 $this->getElementByLabel( $aField[ 'before_label' ], $isKey, $aField[ 'label' ] ),
154
-                    "<div class='admin-page-framework-input-label-container admin-page-framework-select-label' style='min-width: " . $this->sanitizeLength( $aField[ 'label_min_width' ] ) . ";'>",
155
-                        $this->_getNumberInputPart( $aField, $_aBaseAttributes, $isKey, is_array( $aField[ 'label' ] ) ),  // The size (number) part
156
-                        $this->_getUnitSelectInput( $aField, $_aBaseAttributes, $isKey, is_array( $aField[ 'label' ] ) ),  // The unit (select) part
154
+                    "<div class='admin-page-framework-input-label-container admin-page-framework-select-label' style='min-width: ".$this->sanitizeLength( $aField[ 'label_min_width' ] ).";'>",
155
+                        $this->_getNumberInputPart( $aField, $_aBaseAttributes, $isKey, is_array( $aField[ 'label' ] ) ), // The size (number) part
156
+                        $this->_getUnitSelectInput( $aField, $_aBaseAttributes, $isKey, is_array( $aField[ 'label' ] ) ), // The unit (select) part
157 157
                     "</div>",
158 158
                 $this->getElementByLabel( $aField[ 'after_label' ], $isKey, $aField[ 'label' ] )
159 159
             );
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
             private function _getNumberInputPart( array $aField, array $aBaseAttributes, $isKey, $bMultiLabels ) {
170 170
                 
171 171
                 // Size and Size Label
172
-                $_aSizeAttributes       = $this->_getSizeAttributes( 
172
+                $_aSizeAttributes = $this->_getSizeAttributes( 
173 173
                     $aField, 
174 174
                     $aBaseAttributes,
175 175
                     $bMultiLabels
@@ -177,32 +177,32 @@  discard block
 block discarded – undo
177 177
                         : ''
178 178
                 );
179 179
 
180
-                $_aSizeLabelAttributes  = array(
180
+                $_aSizeLabelAttributes = array(
181 181
                     'for'   => $_aSizeAttributes[ 'id' ],
182 182
                     'class' => $_aSizeAttributes[ 'disabled' ] 
183 183
                         ? 'disabled' 
184 184
                         : null,
185 185
                 );                  
186 186
                 
187
-                $_sLabel                = $this->getElementByLabel( 
187
+                $_sLabel = $this->getElementByLabel( 
188 188
                     $aField[ 'label' ], 
189 189
                     $isKey, 
190 190
                     $aField[ 'label' ]
191 191
                 );
192
-                return "<label " . $this->getAttributes( $_aSizeLabelAttributes ) . ">"
192
+                return "<label ".$this->getAttributes( $_aSizeLabelAttributes ).">"
193 193
                     . $this->getElement( 
194 194
                         $aField, 
195 195
                         $bMultiLabels
196 196
                             ? array( 'before_label', $isKey, 'size' ) 
197 197
                             : array( 'before_label', 'size' ) 
198 198
                     )
199
-                    . ( $aField['label'] && ! $aField[ 'repeatable' ]
200
-                        ? "<span class='admin-page-framework-input-label-string' style='min-width:" . $this->sanitizeLength( $aField[ 'label_min_width' ] ) . ";'>" 
199
+                    . ( $aField[ 'label' ] && !$aField[ 'repeatable' ]
200
+                        ? "<span class='admin-page-framework-input-label-string' style='min-width:".$this->sanitizeLength( $aField[ 'label_min_width' ] ).";'>" 
201 201
                                 . $_sLabel 
202 202
                             . "</span>"
203 203
                         : "" 
204 204
                     )
205
-                    . "<input " . $this->getAttributes( $_aSizeAttributes ) . " />" 
205
+                    . "<input ".$this->getAttributes( $_aSizeAttributes )." />" 
206 206
                     . $this->getElement( 
207 207
                         $aField, 
208 208
                         $bMultiLabels
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
                     )
245 245
                     : $aField[ 'units' ];
246 246
                 
247
-                return "<label " . $this->getAttributes( 
247
+                return "<label ".$this->getAttributes( 
248 248
                         array(
249 249
                             'for'       => $_aUnitAttributes[ 'id' ],
250 250
                             'class'     => $_aUnitAttributes[ 'disabled' ] 
@@ -275,9 +275,9 @@  discard block
 block discarded – undo
275 275
                  * @since       3.5.3    
276 276
                  * @return      array       an unit attribute array
277 277
                  */
278
-                private function _getUnitAttributes( array $aField, array $aBaseAttributes, $isLabelKey='' ) {
278
+                private function _getUnitAttributes( array $aField, array $aBaseAttributes, $isLabelKey = '' ) {
279 279
                     
280
-                    $_bIsMultiple    = $aField[ 'is_multiple' ] 
280
+                    $_bIsMultiple = $aField[ 'is_multiple' ] 
281 281
                         ? true 
282 282
                         : $this->getElement( 
283 283
                             $aField,
@@ -289,13 +289,13 @@  discard block
 block discarded – undo
289 289
               
290 290
                     $_aSelectAttributes = array(
291 291
                         'type'      => 'select',
292
-                        'id'        => $aField[ 'input_id' ] . ( '' === $isLabelKey ? '' : '_' . $isLabelKey ) . '_' . 'unit',
292
+                        'id'        => $aField[ 'input_id' ].( '' === $isLabelKey ? '' : '_'.$isLabelKey ).'_'.'unit',
293 293
                         'multiple'  => $_bIsMultiple 
294 294
                             ? 'multiple' 
295 295
                             : null,
296 296
                         'name'      => $_bIsMultiple 
297
-                            ? "{$aField['_input_name']}" . ( '' === $isLabelKey ? '' : '[' . $isLabelKey . ']' ) . "[unit][]" 
298
-                            : "{$aField['_input_name']}" . ( '' === $isLabelKey ? '' : '[' . $isLabelKey . ']' ) . "[unit]",
297
+                            ? "{$aField[ '_input_name' ]}".( '' === $isLabelKey ? '' : '['.$isLabelKey.']' )."[unit][]" 
298
+                            : "{$aField[ '_input_name' ]}".( '' === $isLabelKey ? '' : '['.$isLabelKey.']' )."[unit]",
299 299
                         'value'     => $this->getElement( 
300 300
                             $aField, 
301 301
                             array( 'value', 'unit' ),
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
                         '' === $isLabelKey
308 308
                             ? array( 'attributes', 'unit' )
309 309
                             : array( 'attributes', $isLabelKey, 'unit' ),
310
-                        $this->aDefaultKeys['attributes']['unit'] 
310
+                        $this->aDefaultKeys[ 'attributes' ][ 'unit' ] 
311 311
                     )
312 312
                     + $aBaseAttributes;       
313 313
                     return $_aSelectAttributes;
@@ -320,15 +320,15 @@  discard block
 block discarded – undo
320 320
              * @since       3.5.3    
321 321
              * @return      array       an size attribute array
322 322
              */
323
-            private function _getSizeAttributes( array $aField, array $aBaseAttributes, $sLabelKey='' ) {
323
+            private function _getSizeAttributes( array $aField, array $aBaseAttributes, $sLabelKey = '' ) {
324 324
 
325 325
                 return array(
326 326
                         'type'  => 'number',
327
-                        'id'    => $aField['input_id'] . '_' . ( '' !== $sLabelKey ? $sLabelKey . '_' : '' ) . 'size',
328
-                        'name'  => $aField[ '_input_name' ] . ( '' !== $sLabelKey ? "[{$sLabelKey}]" : '' ) . '[size]',
327
+                        'id'    => $aField[ 'input_id' ].'_'.( '' !== $sLabelKey ? $sLabelKey.'_' : '' ).'size',
328
+                        'name'  => $aField[ '_input_name' ].( '' !== $sLabelKey ? "[{$sLabelKey}]" : '' ).'[size]',
329 329
                         'value' => $this->getElement(
330
-                            $aField,        // subject
331
-                            array( 'value', 'size' ),   // dimensional keys
330
+                            $aField, // subject
331
+                            array( 'value', 'size' ), // dimensional keys
332 332
                             ''  // default
333 333
                         ),
334 334
                     ) 
Please login to merge, or discard this patch.
admin-page-framework-loader.php 2 patches
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -16,15 +16,15 @@  discard block
 block discarded – undo
16 16
  */
17 17
 class AdminPageFrameworkLoader_Registry_Base {
18 18
 
19
-	const VERSION        = '3.7.12b02';    // <--- DON'T FORGET TO CHANGE THIS AS WELL!!
20
-	const NAME           = 'Admin Page Framework - Loader'; // the name is not 'Admin Page Framework' because warning messages gets confusing.
19
+    const VERSION        = '3.7.12b02';    // <--- DON'T FORGET TO CHANGE THIS AS WELL!!
20
+    const NAME           = 'Admin Page Framework - Loader'; // the name is not 'Admin Page Framework' because warning messages gets confusing.
21 21
     const SHORTNAME      = 'Admin Page Framework';  // used for a menu title etc.
22
-	const DESCRIPTION    = 'Loads Admin Page Framework which facilitates WordPress plugin and theme development.';
23
-	const URI            = 'http://admin-page-framework.michaeluno.jp/';
24
-	const AUTHOR         = 'miunosoft (Michael Uno)';
25
-	const AUTHOR_URI     = 'http://en.michaeluno.jp/';
26
-	const COPYRIGHT      = 'Copyright (c) 2015-2016, Michael Uno';
27
-	const LICENSE        = 'GPL v2 or later';
22
+    const DESCRIPTION    = 'Loads Admin Page Framework which facilitates WordPress plugin and theme development.';
23
+    const URI            = 'http://admin-page-framework.michaeluno.jp/';
24
+    const AUTHOR         = 'miunosoft (Michael Uno)';
25
+    const AUTHOR_URI     = 'http://en.michaeluno.jp/';
26
+    const COPYRIGHT      = 'Copyright (c) 2015-2016, Michael Uno';
27
+    const LICENSE        = 'GPL v2 or later';
28 28
     const CONTRIBUTORS   = '';
29 29
 	
30 30
 }
@@ -55,7 +55,7 @@  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.
@@ -70,12 +70,12 @@  discard block
 block discarded – undo
70 70
      * 
71 71
      * These will be accessed from the bootstrap script.
72 72
      */
73
-	const TEXT_DOMAIN              = 'admin-page-framework-loader';
74
-	const TEXT_DOMAIN_PATH         = '/language';    
73
+    const TEXT_DOMAIN              = 'admin-page-framework-loader';
74
+    const TEXT_DOMAIN_PATH         = '/language';    
75 75
     	    
76
-	// These properties will be defined in the setUp() method.
77
-	static public $sFilePath = '';
78
-	static public $sDirPath  = '';
76
+    // These properties will be defined in the setUp() method.
77
+    static public $sFilePath = '';
78
+    static public $sDirPath  = '';
79 79
 	
80 80
     /**
81 81
      * Requirements.
@@ -136,34 +136,34 @@  discard block
 block discarded – undo
136 136
     static public $aTaxonomies = array(
137 137
     );
138 138
     
139
-	/**
140
-	 * Sets up static properties.
139
+    /**
140
+     * Sets up static properties.
141 141
      * @return      void
142
-	 */
143
-	static public function setUp( $sPluginFilePath ) {
142
+     */
143
+    static public function setUp( $sPluginFilePath ) {
144 144
 	                    
145
-		self::$sFilePath = $sPluginFilePath;
146
-		self::$sDirPath  = dirname( self::$sFilePath );
145
+        self::$sFilePath = $sPluginFilePath;
146
+        self::$sDirPath  = dirname( self::$sFilePath );
147 147
 	    
148
-	}    
148
+    }    
149 149
 	
150
-	/**
151
-	 * Returns the URL with the given relative path to the plugin path.
152
-	 * 
153
-	 * <h3>Example</h3>
150
+    /**
151
+     * Returns the URL with the given relative path to the plugin path.
152
+     * 
153
+     * <h3>Example</h3>
154 154
      * <code>
155 155
      * AdminPageFrameworkLoader_Registry::getPluginURL( 'asset/css/meta_box.css' );
156 156
      * </code>
157 157
      * @since       3.5.0
158 158
      * @return      string
159
-	 */
160
-	public static function getPluginURL( $sRelativePath='' ) {
159
+     */
160
+    public static function getPluginURL( $sRelativePath='' ) {
161 161
         if ( isset( self::$_sPluginURLCache ) ) {
162 162
             return self::$_sPluginURLCache . $sRelativePath;
163 163
         }
164 164
         self::$_sPluginURLCache = trailingslashit( plugins_url( '', self::$sFilePath ) );
165 165
         return self::$_sPluginURLCache . $sRelativePath;
166
-	}
166
+    }
167 167
         /**
168 168
          * @since       3.7.9
169 169
          */
Please login to merge, or discard this patch.
Spacing   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -16,16 +16,16 @@  discard block
 block discarded – undo
16 16
  */
17 17
 class AdminPageFrameworkLoader_Registry_Base {
18 18
 
19
-	const VERSION        = '3.7.12b02';    // <--- DON'T FORGET TO CHANGE THIS AS WELL!!
19
+	const VERSION        = '3.7.12b02'; // <--- 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)';
25 25
 	const AUTHOR_URI     = 'http://en.michaeluno.jp/';
26 26
 	const COPYRIGHT      = 'Copyright (c) 2015-2016, Michael Uno';
27 27
 	const LICENSE        = 'GPL v2 or later';
28
-    const CONTRIBUTORS   = '';
28
+    const CONTRIBUTORS = '';
29 29
 	
30 30
 }
31 31
 /**
@@ -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
     /**
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      */
118 118
     static public $aAdminPages = array(
119 119
         // key => 'page slug'
120
-        'about'     => 'apfl_about',        // the welcome page
120
+        'about'     => 'apfl_about', // the welcome page
121 121
         'addon'     => 'apfl_addons',
122 122
         'tool'      => 'apfl_tools',
123 123
         'help'      => 'apfl_contact',
@@ -157,12 +157,12 @@  discard block
 block discarded – undo
157 157
      * @since       3.5.0
158 158
      * @return      string
159 159
 	 */
160
-	public static function getPluginURL( $sRelativePath='' ) {
160
+	public static function getPluginURL( $sRelativePath = '' ) {
161 161
         if ( isset( self::$_sPluginURLCache ) ) {
162
-            return self::$_sPluginURLCache . $sRelativePath;
162
+            return self::$_sPluginURLCache.$sRelativePath;
163 163
         }
164 164
         self::$_sPluginURLCache = trailingslashit( plugins_url( '', self::$sFilePath ) );
165
-        return self::$_sPluginURLCache . $sRelativePath;
165
+        return self::$_sPluginURLCache.$sRelativePath;
166 166
 	}
167 167
         /**
168 168
          * @since       3.7.9
@@ -192,13 +192,13 @@  discard block
 block discarded – undo
192 192
      * @since       3.5.0
193 193
      * @return      void
194 194
      */ 
195
-    static public function setAdminNotice( $sMessage, $sClassAttribute='error' ) {
196
-        if ( ! is_admin() ) {  
195
+    static public function setAdminNotice( $sMessage, $sClassAttribute = 'error' ) {
196
+        if ( !is_admin() ) {  
197 197
             return; 
198 198
         }
199
-        self::$_aAdminNotices[] = array(
199
+        self::$_aAdminNotices[ ] = array(
200 200
             'message'           => $sMessage,
201
-            'class_attribute'   => trim( $sClassAttribute ) . ' notice is-dismissible',
201
+            'class_attribute'   => trim( $sClassAttribute ).' notice is-dismissible',
202 202
         );
203 203
         add_action( 'admin_notices', array( __CLASS__, '_replyToSetAdminNotice' ) );
204 204
     }
@@ -208,12 +208,12 @@  discard block
 block discarded – undo
208 208
          * @return      void
209 209
          */
210 210
         static public function _replyToSetAdminNotice() {
211
-            foreach( self::$_aAdminNotices as $_aAdminNotice ) {                
212
-                echo "<div class='" . esc_attr( $_aAdminNotice['class_attribute'] ) . " notice is-dismissible'>"
211
+            foreach ( self::$_aAdminNotices as $_aAdminNotice ) {                
212
+                echo "<div class='".esc_attr( $_aAdminNotice[ 'class_attribute' ] )." notice is-dismissible'>"
213 213
                         ."<p>" 
214 214
                             . sprintf( 
215
-                                '<strong>%1$s</strong>: ' . $_aAdminNotice['message'],
216
-                                self::NAME . ' ' . self::VERSION
215
+                                '<strong>%1$s</strong>: '.$_aAdminNotice[ 'message' ],
216
+                                self::NAME.' '.self::VERSION
217 217
                             )
218 218
                         . "</p>"
219 219
                     . "</div>";
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
 AdminPageFrameworkLoader_Registry::setUp( __FILE__ );
226 226
 
227 227
 // Initial checks. - Do no load if accessed directly, not exiting because the 'uninstall.php' and inclusion list generator will load this file.
228
-if ( ! defined( 'ABSPATH' ) ) { 
228
+if ( !defined( 'ABSPATH' ) ) { 
229 229
     return; 
230 230
 }
231 231
 if ( defined( 'DOING_UNINSTALL' ) ) { 
@@ -237,8 +237,8 @@  discard block
 block discarded – undo
237 237
     
238 238
     $_bFrameworkLoaded = class_exists( 'AdminPageFramework_Registry', false );
239 239
     if ( 
240
-        ! $_bFrameworkLoaded
241
-        || ! defined( 'AdminPageFramework_Registry::VERSION' ) // backward compatibility
240
+        !$_bFrameworkLoaded
241
+        || !defined( 'AdminPageFramework_Registry::VERSION' ) // backward compatibility
242 242
         || version_compare( AdminPageFramework_Registry::VERSION, AdminPageFrameworkLoader_Registry::VERSION, '<' )
243 243
     ) {
244 244
         AdminPageFrameworkLoader_Registry::setAdminNotice(
@@ -256,18 +256,18 @@  discard block
 block discarded – undo
256 256
 add_action( 'admin_init', 'AdminPageFrameworkLoader_Warning' );
257 257
 
258 258
 // Include the library file - the development version will be available if you cloned the GitHub repository.
259
-$_sDevelopmentVersionPath = AdminPageFrameworkLoader_Registry::$sDirPath . '/development/admin-page-framework.php';
259
+$_sDevelopmentVersionPath = AdminPageFrameworkLoader_Registry::$sDirPath.'/development/admin-page-framework.php';
260 260
 $_bDebugMode              = defined( 'WP_DEBUG' ) && WP_DEBUG;
261 261
 $_bLoadDevelopmentVersion = $_bDebugMode && file_exists( $_sDevelopmentVersionPath );
262 262
 include( 
263 263
     $_bLoadDevelopmentVersion
264 264
         ? $_sDevelopmentVersionPath
265
-        : AdminPageFrameworkLoader_Registry::$sDirPath . '/library/apf/admin-page-framework.php'
265
+        : AdminPageFrameworkLoader_Registry::$sDirPath.'/library/apf/admin-page-framework.php'
266 266
 );
267 267
 
268 268
 // Include the framework loader plugin components.
269 269
 include( AdminPageFramework_Registry::$aClassFiles[ 'AdminPageFramework_PluginBootstrap' ] );
270
-include( AdminPageFrameworkLoader_Registry::$sDirPath . '/include/class/AdminPageFrameworkLoader_Bootstrap.php' );
270
+include( AdminPageFrameworkLoader_Registry::$sDirPath.'/include/class/AdminPageFrameworkLoader_Bootstrap.php' );
271 271
 new AdminPageFrameworkLoader_Bootstrap( 
272 272
     AdminPageFrameworkLoader_Registry::$sFilePath,
273 273
     AdminPageFrameworkLoader_Registry::HOOK_SLUG    // hook prefix
Please login to merge, or discard this patch.