@@ -64,16 +64,16 @@ discard block |
||
64 | 64 | * @return array |
65 | 65 | * @since 3.7.0 |
66 | 66 | */ |
67 | - public function getSubmittedData( array $aDataToParse, $bExtractFromFieldStructure=true, $bStripSlashes=true ) { |
|
67 | + public function getSubmittedData( array $aDataToParse, $bExtractFromFieldStructure = true, $bStripSlashes = true ) { |
|
68 | 68 | |
69 | 69 | // Extracts the form data from the subject data for parsing |
70 | - $_aSubmittedFormData = $bExtractFromFieldStructure |
|
70 | + $_aSubmittedFormData = $bExtractFromFieldStructure |
|
71 | 71 | ? $this->castArrayContents( |
72 | 72 | $this->getDataStructureFromAddedFieldsets(), // form data (options) structure |
73 | 73 | $aDataToParse // the subject data array, usually $_POST. |
74 | 74 | ) |
75 | 75 | : $aDataToParse; |
76 | - $_aSubmittedFormData = $this->getHTTPRequestSanitized( $_aSubmittedFormData, $bStripSlashes ); |
|
76 | + $_aSubmittedFormData = $this->getHTTPRequestSanitized( $_aSubmittedFormData, $bStripSlashes ); |
|
77 | 77 | return $this->getSortedInputs( $_aSubmittedFormData ); // [3.6.0] - sorts dynamic elements. |
78 | 78 | |
79 | 79 | } |
@@ -96,12 +96,12 @@ discard block |
||
96 | 96 | array_merge( |
97 | 97 | $this->getElementAsArray( |
98 | 98 | $_POST, |
99 | - '__repeatable_elements_' . $this->aArguments[ 'structure_type' ], |
|
99 | + '__repeatable_elements_'.$this->aArguments[ 'structure_type' ], |
|
100 | 100 | array() |
101 | 101 | ), |
102 | 102 | $this->getElementAsArray( |
103 | 103 | $_POST, |
104 | - '__sortable_elements_' . $this->aArguments[ 'structure_type' ], |
|
104 | + '__sortable_elements_'.$this->aArguments[ 'structure_type' ], |
|
105 | 105 | array() |
106 | 106 | ) |
107 | 107 | ) |
@@ -160,9 +160,9 @@ discard block |
||
160 | 160 | * Changed the name from `getFieldsModel()`. |
161 | 161 | * @return array |
162 | 162 | */ |
163 | - public function getDataStructureFromAddedFieldsets() { |
|
163 | + public function getDataStructureFromAddedFieldsets() { |
|
164 | 164 | |
165 | - $_aFormDataStructure = array(); |
|
165 | + $_aFormDataStructure = array(); |
|
166 | 166 | foreach ( $this->getAsArray( $this->aFieldsets ) as $_sSectionID => $_aFieldsets ) { |
167 | 167 | |
168 | 168 | if ( $_sSectionID !== '_default' ) { |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | } |
172 | 172 | |
173 | 173 | // For default field items. |
174 | - foreach( $_aFieldsets as $_sFieldID => $_aFieldset ) { |
|
174 | + foreach ( $_aFieldsets as $_sFieldID => $_aFieldset ) { |
|
175 | 175 | $_aFormDataStructure[ $_aFieldset[ 'field_id' ] ] = $_aFieldset; |
176 | 176 | } |
177 | 177 | |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | $aSubject, |
204 | 204 | $this->getElementAsArray( |
205 | 205 | $_POST, |
206 | - '__repeatable_elements_' . $this->aArguments[ 'structure_type' ] |
|
206 | + '__repeatable_elements_'.$this->aArguments[ 'structure_type' ] |
|
207 | 207 | ) |
208 | 208 | ); |
209 | 209 | return $_oFilterRepeatableElements->get(); |
@@ -216,13 +216,13 @@ discard block |
||
216 | 216 | public function _replyToRegisterFormItems() { |
217 | 217 | |
218 | 218 | // Check if the form should be created or not. |
219 | - if ( ! $this->isInThePage() ) { |
|
219 | + if ( !$this->isInThePage() ) { |
|
220 | 220 | return; |
221 | 221 | } |
222 | 222 | |
223 | 223 | // Load field type definitions. |
224 | - $this->_setFieldTypeDefinitions( 'admin_page_framework' ); // site-wide |
|
225 | - $this->_setFieldTypeDefinitions( $this->aArguments[ 'caller_id' ] ); // per class |
|
224 | + $this->_setFieldTypeDefinitions( 'admin_page_framework' ); // site-wide |
|
225 | + $this->_setFieldTypeDefinitions( $this->aArguments[ 'caller_id' ] ); // per class |
|
226 | 226 | |
227 | 227 | // Set the options array |
228 | 228 | $this->aSavedData = $this->_getSavedData( |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | $this->aArguments, |
251 | 251 | $this->aFieldsets, |
252 | 252 | self::$_aResources, |
253 | - $this->aFieldTypeDefinitions, // must be called after performing `_setFieldTypeDefinitions()`. |
|
253 | + $this->aFieldTypeDefinitions, // must be called after performing `_setFieldTypeDefinitions()`. |
|
254 | 254 | $this->aCallbacks |
255 | 255 | ); |
256 | 256 | self::$_aResources = $_oFieldResources->get(); // updates the property |
@@ -267,10 +267,10 @@ discard block |
||
267 | 267 | $this->callBack( |
268 | 268 | $this->aCallbacks[ 'handle_form_data' ], |
269 | 269 | array( |
270 | - $this->aSavedData, // 1st parameter |
|
271 | - $this->aArguments, // 2nd parameter |
|
272 | - $this->aSectionsets, // 3rd parameter |
|
273 | - $this->aFieldsets, // 4th parameter |
|
270 | + $this->aSavedData, // 1st parameter |
|
271 | + $this->aArguments, // 2nd parameter |
|
272 | + $this->aSectionsets, // 3rd parameter |
|
273 | + $this->aFieldsets, // 4th parameter |
|
274 | 274 | ) |
275 | 275 | ); |
276 | 276 | |
@@ -284,15 +284,15 @@ discard block |
||
284 | 284 | $this->aSectionsets = $this->callBack( |
285 | 285 | $this->aCallbacks[ 'sectionsets_before_registration' ], |
286 | 286 | array( |
287 | - $this->aSectionsets, // 1st parameter |
|
287 | + $this->aSectionsets, // 1st parameter |
|
288 | 288 | ) |
289 | 289 | ); |
290 | 290 | // Let the main routine modify the fieldsets definition array. |
291 | 291 | $this->aFieldsets = $this->callBack( |
292 | 292 | $this->aCallbacks[ 'fieldsets_before_registration' ], |
293 | 293 | array( |
294 | - $this->aFieldsets, // 1st parameter |
|
295 | - $this->aSectionsets, // 2nd parameter |
|
294 | + $this->aFieldsets, // 1st parameter |
|
295 | + $this->aSectionsets, // 2nd parameter |
|
296 | 296 | ) |
297 | 297 | ); |
298 | 298 |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | array( $this, '_replyToRegisterFormItems' ), |
47 | 47 | 100 // priority - low value is set as meta boxes use the `current_screen` action hook for `setUp()`. |
48 | 48 | ); |
49 | - } else { |
|
49 | + } else { |
|
50 | 50 | add_action( |
51 | 51 | $this->aArguments[ 'action_hook_form_registration' ], |
52 | 52 | array( $this, '_replyToRegisterFormItems' ) |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | * Changed the name from `getFieldsModel()`. |
161 | 161 | * @return array |
162 | 162 | */ |
163 | - public function getDataStructureFromAddedFieldsets() { |
|
163 | + public function getDataStructureFromAddedFieldsets() { |
|
164 | 164 | |
165 | 165 | $_aFormDataStructure = array(); |
166 | 166 | foreach ( $this->getAsArray( $this->aFieldsets ) as $_sSectionID => $_aFieldsets ) { |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | * @param array $aSubject The subject array to modify. Usually the saved option data. |
199 | 199 | * @return array The modified options array. |
200 | 200 | */ |
201 | - public function dropRepeatableElements( array $aSubject ) { |
|
201 | + public function dropRepeatableElements( array $aSubject ) { |
|
202 | 202 | $_oFilterRepeatableElements = new AdminPageFramework_Form_Model___Modifier_FilterRepeatableElements( |
203 | 203 | $aSubject, |
204 | 204 | $this->getElementAsArray( |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * @return string |
59 | 59 | * @since 3.7.0 |
60 | 60 | */ |
61 | - public function get( $bTableRow=true ) { |
|
61 | + public function get( $bTableRow = true ) { |
|
62 | 62 | |
63 | 63 | $_sMethodName = $this->getAOrB( |
64 | 64 | $bTableRow, |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | ); |
68 | 68 | |
69 | 69 | $_sOutput = ''; |
70 | - foreach( $this->aFieldsetsPerSection as $_aFieldset ) { |
|
70 | + foreach ( $this->aFieldsetsPerSection as $_aFieldset ) { |
|
71 | 71 | |
72 | 72 | $_oFieldsetOutputFormatter = new AdminPageFramework_Form_Model___Format_FieldsetOutput( |
73 | 73 | $_aFieldset, |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | ); |
77 | 77 | |
78 | 78 | $_aFieldset = $_oFieldsetOutputFormatter->get(); |
79 | - if ( ! $this->callBack( $this->aCallbacks[ 'is_fieldset_visible' ], array( true, $_aFieldset ) ) ) { |
|
79 | + if ( !$this->callBack( $this->aCallbacks[ 'is_fieldset_visible' ], array( true, $_aFieldset ) ) ) { |
|
80 | 80 | continue; |
81 | 81 | } |
82 | 82 |
@@ -44,13 +44,13 @@ discard block |
||
44 | 44 | */ |
45 | 45 | protected function _isInThePage() { |
46 | 46 | |
47 | - if ( ! $this->oProp->bIsAdmin ) { |
|
47 | + if ( !$this->oProp->bIsAdmin ) { |
|
48 | 48 | return false; |
49 | 49 | } |
50 | 50 | |
51 | 51 | // Foe admin-ajax.php, aQuery holds the referer's GET URL parameters so the check covers the cases of ajax calls. |
52 | 52 | $_sPageSlug = $this->oUtil->getElement( $this->oProp->aQuery, array( 'page' ), '' ); |
53 | - if ( ! $this->___isAddedPage( $_sPageSlug ) ) { |
|
53 | + if ( !$this->___isAddedPage( $_sPageSlug ) ) { |
|
54 | 54 | return false; |
55 | 55 | } |
56 | 56 | return true; |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | private function ___isAddedPage( $sPageSlug ) { |
64 | 64 | |
65 | 65 | // Case: page slugs are stored with numeric index |
66 | - if ( ! $this->oUtil->isAssociative( $this->oProp->aPageSlugs ) ) { |
|
66 | + if ( !$this->oUtil->isAssociative( $this->oProp->aPageSlugs ) ) { |
|
67 | 67 | return in_array( $sPageSlug, $this->oProp->aPageSlugs, true ); |
68 | 68 | } |
69 | 69 |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * |
22 | 22 | * @since 3.0.0 |
23 | 23 | */ |
24 | - public function enqueueStyles( $aSRCs, $sPageSlug='', $sTabSlug='', $aCustomArgs=array() ) { |
|
24 | + public function enqueueStyles( $aSRCs, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = array() ) { |
|
25 | 25 | if ( method_exists( $this->oResource, '_enqueueStyles' ) ) { |
26 | 26 | return $this->oResource->_enqueueStyles( $aSRCs, $sPageSlug, $sTabSlug, $aCustomArgs ); |
27 | 27 | } |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | * @param array (optional) The argument array for more advanced parameters. |
38 | 38 | * @return string The script handle ID. If the passed url is not a valid url string, an empty string will be returned. |
39 | 39 | */ |
40 | - public function enqueueStyle( $sSRC, $sPageSlug='', $sTabSlug='', $aCustomArgs=array() ) { |
|
40 | + public function enqueueStyle( $sSRC, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = array() ) { |
|
41 | 41 | if ( method_exists( $this->oResource, '_enqueueStyle' ) ) { |
42 | 42 | return $this->oResource->_enqueueStyle( $sSRC, $sPageSlug, $sTabSlug, $aCustomArgs ); |
43 | 43 | } |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * |
48 | 48 | * @since 2.1.5 |
49 | 49 | */ |
50 | - public function enqueueScripts( $aSRCs, $sPageSlug='', $sTabSlug='', $aCustomArgs=array() ) { |
|
50 | + public function enqueueScripts( $aSRCs, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = array() ) { |
|
51 | 51 | if ( method_exists( $this->oResource, '_enqueueScripts' ) ) { |
52 | 52 | return $this->oResource->_enqueueScripts( $aSRCs, $sPageSlug, $sTabSlug, $aCustomArgs ); |
53 | 53 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * @param array (optional) The argument array for more advanced parameters. |
64 | 64 | * @return string The script handle ID. If the passed url is not a valid url string, an empty string will be returned. |
65 | 65 | */ |
66 | - public function enqueueScript( $sSRC, $sPageSlug='', $sTabSlug='', $aCustomArgs=array() ) { |
|
66 | + public function enqueueScript( $sSRC, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = array() ) { |
|
67 | 67 | if ( method_exists( $this->oResource, '_enqueueScript' ) ) { |
68 | 68 | return $this->oResource->_enqueueScript( $sSRC, $sPageSlug, $sTabSlug, $aCustomArgs ); |
69 | 69 | } |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | private $_iLevel; |
39 | 39 | |
40 | - public function __construct( $iLevel=null ) { |
|
40 | + public function __construct( $iLevel = null ) { |
|
41 | 41 | $this->_iLevel = null !== $iLevel |
42 | 42 | ? $iLevel |
43 | 43 | : error_reporting(); |
@@ -56,11 +56,11 @@ discard block |
||
56 | 56 | private function _getIncluded() { |
57 | 57 | |
58 | 58 | $_aIncluded = array(); |
59 | - foreach( $this->_aLevels as $_iLevel => $iLevelText ) { |
|
59 | + foreach ( $this->_aLevels as $_iLevel => $iLevelText ) { |
|
60 | 60 | |
61 | 61 | // This is where we check if a level was used or not |
62 | 62 | if ( $this->_iLevel & $_iLevel ) { |
63 | - $_aIncluded[] = $_iLevel; |
|
63 | + $_aIncluded[ ] = $_iLevel; |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | } |
@@ -74,16 +74,16 @@ discard block |
||
74 | 74 | $_aValues = array(); |
75 | 75 | |
76 | 76 | if ( count( $aIncluded ) > $_iAll / 2 ) { |
77 | - $_aValues[] = 'E_ALL'; |
|
78 | - foreach( $this->_aLevels as $_iLevel => $iLevelText ) { |
|
79 | - if ( ! in_array( $_iLevel, $aIncluded ) ) { |
|
80 | - $_aValues[] = $iLevelText; |
|
77 | + $_aValues[ ] = 'E_ALL'; |
|
78 | + foreach ( $this->_aLevels as $_iLevel => $iLevelText ) { |
|
79 | + if ( !in_array( $_iLevel, $aIncluded ) ) { |
|
80 | + $_aValues[ ] = $iLevelText; |
|
81 | 81 | } |
82 | 82 | } |
83 | 83 | return implode( ' & ~', $_aValues ); |
84 | 84 | } |
85 | - foreach( $aIncluded as $_iLevel ) { |
|
86 | - $_aValues[] = $this->_aLevels[ $_iLevel ]; |
|
85 | + foreach ( $aIncluded as $_iLevel ) { |
|
86 | + $_aValues[ ] = $this->_aLevels[ $_iLevel ]; |
|
87 | 87 | } |
88 | 88 | return implode( ' | ', $_aValues ); |
89 | 89 |
@@ -16,9 +16,9 @@ discard block |
||
16 | 16 | */ |
17 | 17 | class AdminPageFrameworkLoader_Registry_Base { |
18 | 18 | |
19 | - const VERSION = '3.8.29'; // <--- DON'T FORGET TO CHANGE THIS AS WELL!! |
|
19 | + const VERSION = '3.8.29'; // <--- 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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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' ) && DOING_UNINSTALL ) { |
@@ -234,8 +234,8 @@ discard block |
||
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 |
||
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 |