@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | if ( $this->oProp->bIsAdmin && ! $this->oProp->bIsAdminAjax ) { |
165 | 165 | if ( did_action( 'current_screen' ) ) { |
166 | 166 | $this->_replyToLoadComponents(); |
167 | - } else { |
|
167 | + } else { |
|
168 | 168 | add_action( 'current_screen', array( $this, '_replyToLoadComponents' ) ); |
169 | 169 | } |
170 | 170 | } |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | */ |
185 | 185 | public function _replyToLoadComponents( /* $oScreen */ ) { |
186 | 186 | |
187 | - if ( ! $this->_isInThePage() ) { |
|
187 | + if ( ! $this->_isInThePage() ) { |
|
188 | 188 | return; |
189 | 189 | } |
190 | 190 | |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | * @since 3.1.0 |
212 | 212 | * @internal |
213 | 213 | */ |
214 | - protected function _isInstantiatable() { |
|
214 | + protected function _isInstantiatable() { |
|
215 | 215 | return true; |
216 | 216 | } |
217 | 217 | |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | * @todo Change the visibility scope to `protected` as the public version of the method `isInThePage()` has been introduced to make the design consitent. |
227 | 227 | * @internal |
228 | 228 | */ |
229 | - public function _isInThePage() { |
|
229 | + public function _isInThePage() { |
|
230 | 230 | return true; |
231 | 231 | } |
232 | 232 | |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | */ |
241 | 241 | public function _replyToDetermineToLoad() { |
242 | 242 | |
243 | - if ( ! $this->_isInThePage() ) { |
|
243 | + if ( ! $this->_isInThePage() ) { |
|
244 | 244 | return; |
245 | 245 | } |
246 | 246 | |
@@ -411,7 +411,7 @@ discard block |
||
411 | 411 | * |
412 | 412 | * @internal |
413 | 413 | */ |
414 | - public function __call( $sMethodName, $aArguments=null ) { |
|
414 | + public function __call( $sMethodName, $aArguments=null ) { |
|
415 | 415 | |
416 | 416 | $_mFirstArg = $this->oUtil->getElement( $aArguments, 0 ); |
417 | 417 |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | */ |
82 | 82 | public function _replyToRegisterMetaBoxes( $sPageHook='' ) { |
83 | 83 | foreach( $this->oProp->aPageSlugs as $_sKey => $_asPage ) { |
84 | - if ( is_string( $_asPage ) ) { |
|
84 | + if ( is_string( $_asPage ) ) { |
|
85 | 85 | $this->_registerMetaBox( $_asPage ); |
86 | 86 | continue; |
87 | 87 | } |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | */ |
99 | 99 | private function _registerMetaBoxes( $sPageSlug, $asPage ) { |
100 | 100 | foreach( $this->oUtil->getAsArray( $asPage ) as $_sTabSlug ) { |
101 | - if ( ! $this->oProp->isCurrentTab( $_sTabSlug ) ) { |
|
101 | + if ( ! $this->oProp->isCurrentTab( $_sTabSlug ) ) { |
|
102 | 102 | continue; |
103 | 103 | } |
104 | 104 | $this->_registerMetaBox( $sPageSlug ); |