@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | */ |
29 | 29 | public function __construct( $oProp, $oMsg ) { |
30 | 30 | |
31 | - if ( ! $this->_shouldProceed( $oProp ) ) { |
|
31 | + if ( !$this->_shouldProceed( $oProp ) ) { |
|
32 | 32 | return; |
33 | 33 | } |
34 | 34 | |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | */ |
46 | 46 | private function _shouldProceed( $oProp ) { |
47 | 47 | |
48 | - if ( $oProp->bIsAdminAjax || ! $oProp->bIsAdmin ) { |
|
48 | + if ( $oProp->bIsAdminAjax || !$oProp->bIsAdmin ) { |
|
49 | 49 | return false; |
50 | 50 | } |
51 | 51 | return ( boolean ) $oProp->bShowDebugInfo; |
@@ -85,10 +85,10 @@ discard block |
||
85 | 85 | return $sFooterHTML |
86 | 86 | . "<div id='admin-page-framework-page-load-stats'>" |
87 | 87 | . "<ul>" |
88 | - . "<li>" . sprintf( $this->oMsg->get( 'queries_in_seconds' ), $_nQueryCount, $_nSeconds ) . "</li>" |
|
89 | - . "<li>" . sprintf( $this->oMsg->get( 'out_of_x_memory_used' ), $_nMemoryUsage, $_nMemoryLimit, round( ( $_nMemoryUsage / $_nMemoryLimit ), 2 ) * 100 . '%' ) . "</li>" |
|
90 | - . "<li>" . sprintf( $this->oMsg->get( 'peak_memory_usage' ), $_nMemoryPeakUsage ) . "</li>" |
|
91 | - . "<li>" . sprintf( $this->oMsg->get( 'initial_memory_usage' ), $_sInitialMemoryUsage ) . "</li>" |
|
88 | + . "<li>".sprintf( $this->oMsg->get( 'queries_in_seconds' ), $_nQueryCount, $_nSeconds )."</li>" |
|
89 | + . "<li>".sprintf( $this->oMsg->get( 'out_of_x_memory_used' ), $_nMemoryUsage, $_nMemoryLimit, round( ( $_nMemoryUsage / $_nMemoryLimit ), 2 ) * 100.'%' )."</li>" |
|
90 | + . "<li>".sprintf( $this->oMsg->get( 'peak_memory_usage' ), $_nMemoryPeakUsage )."</li>" |
|
91 | + . "<li>".sprintf( $this->oMsg->get( 'initial_memory_usage' ), $_sInitialMemoryUsage )."</li>" |
|
92 | 92 | . "</ul>" |
93 | 93 | . "</div>"; |
94 | 94 | |
@@ -106,8 +106,8 @@ discard block |
||
106 | 106 | */ |
107 | 107 | private function _convertToNumber( $nSize ) { |
108 | 108 | |
109 | - $_nReturn = substr( $nSize, 0, -1 ); |
|
110 | - switch( strtoupper( substr( $nSize, -1 ) ) ) { |
|
109 | + $_nReturn = substr( $nSize, 0, -1 ); |
|
110 | + switch ( strtoupper( substr( $nSize, -1 ) ) ) { |
|
111 | 111 | case 'P': |
112 | 112 | $_nReturn *= 1024; |
113 | 113 | case 'T': |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | $_nLog = log( $nBytes, 1024 ); |
137 | 137 | $_iPower = ( int ) $_nLog; |
138 | 138 | $_iSize = pow( 1024, $_nLog - $_iPower ); |
139 | - return $_iSize . $_aUnits[ $_iPower ]; |
|
139 | + return $_iSize.$_aUnits[ $_iPower ]; |
|
140 | 140 | } |
141 | 141 | |
142 | 142 | } |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | |
71 | 71 | $aField = $this->aFieldset; |
72 | 72 | |
73 | - if ( ! $aField[ 'show_title_column' ] ) { |
|
73 | + if ( !$aField[ 'show_title_column' ] ) { |
|
74 | 74 | return ''; |
75 | 75 | } |
76 | 76 | |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | 'for' => $_oInputTagIDGenerator->get(), |
85 | 85 | ); |
86 | 86 | $_sOutput .= $aField[ 'title' ] |
87 | - ? "<label " . $this->getAttributes( $_aLabelAttributes ) . "'>" |
|
87 | + ? "<label ".$this->getAttributes( $_aLabelAttributes )."'>" |
|
88 | 88 | . "<a id='{$aField[ 'field_id' ]}'></a>" // to allow the browser to link to the element. |
89 | 89 | . "<span title='" |
90 | 90 | . esc_attr( |
@@ -115,12 +115,12 @@ discard block |
||
115 | 115 | */ |
116 | 116 | private function _getFieldOutputsInFieldTitleAreaFromNestedFields( $aField ) { |
117 | 117 | |
118 | - if ( ! $this->hasNestedFields( $aField ) ) { |
|
118 | + if ( !$this->hasNestedFields( $aField ) ) { |
|
119 | 119 | return ''; |
120 | 120 | } |
121 | 121 | |
122 | 122 | $_sOutput = ''; |
123 | - foreach( $aField[ 'content' ] as $_aNestedField ) { |
|
123 | + foreach ( $aField[ 'content' ] as $_aNestedField ) { |
|
124 | 124 | |
125 | 125 | if ( 'field_title' !== $_aNestedField[ 'placement' ] ) { |
126 | 126 | continue; |
@@ -128,13 +128,13 @@ discard block |
||
128 | 128 | |
129 | 129 | $_oFieldset = new AdminPageFramework_Form_View___Fieldset( |
130 | 130 | $_aNestedField, |
131 | - $this->aSavedData, // passed by reference. @todo: examine why it needs to be passed by reference. |
|
131 | + $this->aSavedData, // passed by reference. @todo: examine why it needs to be passed by reference. |
|
132 | 132 | $this->aFieldErrors, |
133 | 133 | $this->aFieldTypeDefinitions, |
134 | 134 | $this->oMsg, |
135 | 135 | $this->aCallbacks // field output element callables. |
136 | 136 | ); |
137 | - $_sOutput .= $_oFieldset->get(); // field output |
|
137 | + $_sOutput .= $_oFieldset->get(); // field output |
|
138 | 138 | |
139 | 139 | } |
140 | 140 | return $_sOutput; |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | * @since 3.7.0 |
147 | 147 | */ |
148 | 148 | private function _getToolTip( $asTip, $sElementID ) { |
149 | - $_oToolTip = new AdminPageFramework_Form_View___ToolTip( |
|
149 | + $_oToolTip = new AdminPageFramework_Form_View___ToolTip( |
|
150 | 150 | $asTip, |
151 | 151 | $sElementID |
152 | 152 | ); |
@@ -160,14 +160,14 @@ discard block |
||
160 | 160 | */ |
161 | 161 | private function _getDebugInfo( $aField ) { |
162 | 162 | |
163 | - if ( ! $this->callBack( $this->aCallbacks[ 'show_debug_info' ], true ) ) { |
|
163 | + if ( !$this->callBack( $this->aCallbacks[ 'show_debug_info' ], true ) ) { |
|
164 | 164 | return ''; |
165 | 165 | } |
166 | - $_oToolTip = new AdminPageFramework_Form_View___ToolTip( |
|
166 | + $_oToolTip = new AdminPageFramework_Form_View___ToolTip( |
|
167 | 167 | array( |
168 | 168 | 'title' => $this->oMsg->get( 'field_arguments' ), |
169 | 169 | 'dash-icon' => 'dashicons-info', |
170 | - 'icon_alt_text' => '[' . $this->oMsg->get( 'debug' ) . ' ]', |
|
170 | + 'icon_alt_text' => '['.$this->oMsg->get( 'debug' ).' ]', |
|
171 | 171 | 'content' => AdminPageFramework_Debug::get( $aField ) |
172 | 172 | . '<span class="admin-page-framework-info">' |
173 | 173 | . $this->getFrameworkNameVersion() |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | ), |
179 | 179 | ) |
180 | 180 | ), |
181 | - $aField[ 'field_id' ] . '_debug' |
|
181 | + $aField[ 'field_id' ].'_debug' |
|
182 | 182 | ); |
183 | 183 | return $_oToolTip->get(); |
184 | 184 | |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | */ |
191 | 191 | private function _getTitleColon( $aField ) { |
192 | 192 | |
193 | - if ( ! isset( $aField[ 'title' ] ) || '' === $aField[ 'title' ] ) { |
|
193 | + if ( !isset( $aField[ 'title' ] ) || '' === $aField[ 'title' ] ) { |
|
194 | 194 | return ''; |
195 | 195 | } |
196 | 196 | if ( |
@@ -198,8 +198,8 @@ discard block |
||
198 | 198 | $aField[ '_structure_type' ], |
199 | 199 | array( 'widget', 'post_meta_box', 'page_meta_box' ) |
200 | 200 | ) |
201 | - ){ |
|
202 | - return "<span class='title-colon'>:</span>" ; |
|
201 | + ) { |
|
202 | + return "<span class='title-colon'>:</span>"; |
|
203 | 203 | } |
204 | 204 | |
205 | 205 | } |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | */ |
20 | 20 | class AdminPageFramework_Form_View___DebugInfo extends AdminPageFramework_FrameworkUtility { |
21 | 21 | |
22 | - public $sStructureType = ''; |
|
22 | + public $sStructureType = ''; |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @since 3.8.5 |
@@ -57,12 +57,12 @@ discard block |
||
57 | 57 | */ |
58 | 58 | public function get() { |
59 | 59 | |
60 | - if ( ! $this->_shouldProceed() ) { |
|
60 | + if ( !$this->_shouldProceed() ) { |
|
61 | 61 | return ''; |
62 | 62 | } |
63 | 63 | |
64 | 64 | return "<div class='admin-page-framework-info'>" |
65 | - . $this->oMsg->get( 'debug_info' ) . ': ' |
|
65 | + . $this->oMsg->get( 'debug_info' ).': ' |
|
66 | 66 | . $this->getFrameworkNameVersion() |
67 | 67 | . "</div>"; |
68 | 68 | |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | */ |
74 | 74 | private function _shouldProceed() { |
75 | 75 | |
76 | - if ( ! $this->callBack( $this->aCallbacks[ 'show_debug_info' ], true ) ) { |
|
76 | + if ( !$this->callBack( $this->aCallbacks[ 'show_debug_info' ], true ) ) { |
|
77 | 77 | return false; |
78 | 78 | } |
79 | 79 | // For the generic admin pages, do no show debug information for each section. |
@@ -60,18 +60,18 @@ discard block |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | // If the section ID is not registered, return false. |
63 | - if ( ! array_key_exists( $sID, $this->aSectionsets ) ) { |
|
63 | + if ( !array_key_exists( $sID, $this->aSectionsets ) ) { |
|
64 | 64 | return false; |
65 | 65 | } |
66 | 66 | |
67 | 67 | // the fields array's first dimension is also filled with the keys of section ids. |
68 | - if ( ! array_key_exists( $sID, $this->aFieldsets ) ) { |
|
68 | + if ( !array_key_exists( $sID, $this->aFieldsets ) ) { |
|
69 | 69 | return false; |
70 | 70 | } |
71 | 71 | |
72 | 72 | // Since numeric IDs are denied at the beginning of the method, the elements will not be sub-sections. |
73 | 73 | $_bIsSeciton = false; |
74 | - foreach( $this->aFieldsets as $_sSectionID => $_aFields ) { |
|
74 | + foreach ( $this->aFieldsets as $_sSectionID => $_aFields ) { |
|
75 | 75 | |
76 | 76 | if ( $_sSectionID == $sID ) { |
77 | 77 | $_bIsSeciton = true; |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | */ |
99 | 99 | public function canUserView( $sCapability ) { |
100 | 100 | |
101 | - if ( ! $sCapability ) { |
|
101 | + if ( !$sCapability ) { |
|
102 | 102 | return true; |
103 | 103 | } |
104 | 104 |
@@ -30,8 +30,8 @@ discard block |
||
30 | 30 | * @param callable $oCallable |
31 | 31 | * @param string|array $asParameters Parameters to pass to the callback function. |
32 | 32 | */ |
33 | - public function callBack( $oCallable, $asParameters=array() ) { |
|
34 | - $_aParameters = self::getAsArray( |
|
33 | + public function callBack( $oCallable, $asParameters = array() ) { |
|
34 | + $_aParameters = self::getAsArray( |
|
35 | 35 | $asParameters, |
36 | 36 | true // preserve empty |
37 | 37 | ); |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | * @since 3.6.3 |
68 | 68 | * @return string The captured output buffer. |
69 | 69 | */ |
70 | - static public function getOutputBuffer( $oCallable, array $aParameters=array() ) { |
|
70 | + static public function getOutputBuffer( $oCallable, array $aParameters = array() ) { |
|
71 | 71 | |
72 | 72 | ob_start(); |
73 | 73 | echo call_user_func_array( $oCallable, $aParameters ); |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | |
89 | 89 | $_iCount = count( get_object_vars( $oInstance ) ); |
90 | 90 | $_sClassName = get_class( $oInstance ); |
91 | - return '(object) ' . $_sClassName . ': ' . $_iCount . ' properties.'; |
|
91 | + return '(object) '.$_sClassName.': '.$_iCount.' properties.'; |
|
92 | 92 | |
93 | 93 | } |
94 | 94 | |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * @param boolean|integer|double|string|array|object|resource|NULL $mTrue The value to return when the first parameter value yields false. |
106 | 106 | * @return mixed |
107 | 107 | */ |
108 | - static public function getAOrB( $mValue, $mTrue=null, $mFalse=null ) { |
|
108 | + static public function getAOrB( $mValue, $mTrue = null, $mFalse = null ) { |
|
109 | 109 | return $mValue ? $mTrue : $mFalse; |
110 | 110 | } |
111 | 111 |
@@ -32,8 +32,8 @@ discard block |
||
32 | 32 | return; |
33 | 33 | } |
34 | 34 | |
35 | - foreach( ( array ) $GLOBALS[ '_apf_sub_menus_to_sort' ] as $_sIndex => $_sMenuSlug ) { |
|
36 | - if ( ! isset( $GLOBALS[ 'submenu' ][ $_sMenuSlug ] ) ) { |
|
35 | + foreach ( ( array ) $GLOBALS[ '_apf_sub_menus_to_sort' ] as $_sIndex => $_sMenuSlug ) { |
|
36 | + if ( !isset( $GLOBALS[ 'submenu' ][ $_sMenuSlug ] ) ) { |
|
37 | 37 | continue; |
38 | 38 | } |
39 | 39 | ksort( $GLOBALS[ 'submenu' ][ $_sMenuSlug ] ); |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * @param boolean $bTrimDevVer Whether the `.dev` suffix should be removed or not. |
59 | 59 | * @return string |
60 | 60 | */ |
61 | - static public function getFrameworkVersion( $bTrimDevVer=false ) { |
|
61 | + static public function getFrameworkVersion( $bTrimDevVer = false ) { |
|
62 | 62 | $_sVersion = AdminPageFramework_Registry::getVersion(); |
63 | 63 | return $bTrimDevVer |
64 | 64 | ? self::getSuffixRemoved( $_sVersion, '.dev' ) |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | * @return string |
87 | 87 | */ |
88 | 88 | static public function getFrameworkNameVersion() { |
89 | - return self::getFrameworkName() . ' ' . self::getFrameworkVersion(); |
|
89 | + return self::getFrameworkName().' '.self::getFrameworkVersion(); |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | } |
@@ -16,9 +16,9 @@ discard block |
||
16 | 16 | */ |
17 | 17 | class AdminPageFrameworkLoader_Registry_Base { |
18 | 18 | |
19 | - const VERSION = '3.8.5b02'; // <--- DON'T FORGET TO CHANGE THIS AS WELL!! |
|
19 | + const VERSION = '3.8.5b02'; // <--- 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' ) ) { |
@@ -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 |