@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | |
138 | 138 | // Save the data. |
139 | 139 | $_bUpdated = false; |
140 | - if ( ! $this->oFactory->oProp->_bDisableSavingOptions ) { |
|
140 | + if ( ! $this->oFactory->oProp->_bDisableSavingOptions ) { |
|
141 | 141 | $_bUpdated = $this->oFactory->oProp->updateOption( $_aInputs ); |
142 | 142 | } |
143 | 143 | |
@@ -180,14 +180,15 @@ discard block |
||
180 | 180 | $_POST[ 'admin_page_framework_start' ], // indicates the framework form is started |
181 | 181 | $_POST[ '_wp_http_referer' ] |
182 | 182 | ) |
183 | - ) { |
|
183 | + ) { |
|
184 | 184 | return false; |
185 | 185 | } |
186 | 186 | |
187 | 187 | // Referrer |
188 | 188 | $_sRequestURI = remove_query_arg( array( 'settings-updated', 'confirmation', 'field_errors' ), wp_unslash( $_SERVER[ 'REQUEST_URI' ] ) ); |
189 | 189 | $_sRefererURI = remove_query_arg( array( 'settings-updated', 'confirmation', 'field_errors' ), $_POST[ '_wp_http_referer' ] ); |
190 | - if ( $_sRequestURI != $_sRefererURI ) { // see the function definition of wp_referer_field() in functions.php. |
|
190 | + if ( $_sRequestURI != $_sRefererURI ) { |
|
191 | +// see the function definition of wp_referer_field() in functions.php. |
|
191 | 192 | return false; |
192 | 193 | } |
193 | 194 |
@@ -352,7 +352,8 @@ discard block |
||
352 | 352 | static $_iCallCount = 0; |
353 | 353 | |
354 | 354 | $_sFilterName = "style_{$this->oProp->sClassName}"; |
355 | - if ( $this->hasBeenCalled( 'FILTER: ' . $_sFilterName ) ) { // 3.8.22 |
|
355 | + if ( $this->hasBeenCalled( 'FILTER: ' . $_sFilterName ) ) { |
|
356 | +// 3.8.22 |
|
356 | 357 | return ''; |
357 | 358 | } |
358 | 359 | $_sStyle = $this->addAndApplyFilters( $_oCaller, $_sFilterName, $this->oProp->sStyle ); |
@@ -379,7 +380,8 @@ discard block |
||
379 | 380 | static $_iCallCountIE = 1; |
380 | 381 | |
381 | 382 | $_sFilterName = "style_ie_{$this->oProp->sClassName}"; |
382 | - if ( $this->hasBeenCalled( 'FILTER: ' . $_sFilterName ) ) { // 3.8.22 |
|
383 | + if ( $this->hasBeenCalled( 'FILTER: ' . $_sFilterName ) ) { |
|
384 | +// 3.8.22 |
|
383 | 385 | return ''; |
384 | 386 | } |
385 | 387 | $_sStyleIE = $this->addAndApplyFilters( $_oCaller, $_sFilterName, $this->oProp->sStyleIE ); |
@@ -407,7 +409,8 @@ discard block |
||
407 | 409 | |
408 | 410 | static $_iCallCount = 1; |
409 | 411 | $_sFilterName = "script_{$this->oProp->sClassName}"; |
410 | - if ( $this->hasBeenCalled( 'FILTER: ' . $_sFilterName ) ) { // 3.8.22 |
|
412 | + if ( $this->hasBeenCalled( 'FILTER: ' . $_sFilterName ) ) { |
|
413 | +// 3.8.22 |
|
411 | 414 | return ''; |
412 | 415 | } |
413 | 416 | $_sScript = $this->addAndApplyFilters( $this->oProp->oCaller, $_sFilterName, $this->oProp->sScript ); |
@@ -282,7 +282,7 @@ |
||
282 | 282 | CSSRULES; |
283 | 283 | |
284 | 284 | } |
285 | - private function ___getForWP38OrBelow(){ |
|
285 | + private function ___getForWP38OrBelow() { |
|
286 | 286 | if ( version_compare( $GLOBALS[ 'wp_version' ], '3.8', '>=' ) ) { |
287 | 287 | return ''; |
288 | 288 | } |