@@ -167,7 +167,7 @@ |
||
167 | 167 | return ''; |
168 | 168 | |
169 | 169 | } |
170 | - /** |
|
170 | + /** |
|
171 | 171 | * Sets the mail content type to HTML. |
172 | 172 | * @since 3.3.0 |
173 | 173 | * @since 3.4.2 Moved from the validation class. |
@@ -51,7 +51,7 @@ |
||
51 | 51 | */ |
52 | 52 | public function get() { |
53 | 53 | |
54 | - // Apply filters to modify the in-page tab array. |
|
54 | + // Apply filters to modify the in-page tab array. |
|
55 | 55 | $_aInPageTabs = $this->addAndApplyFilter( |
56 | 56 | $this->oFactory, // caller object |
57 | 57 | "tabs_{$this->oFactory->oProp->sClassName}_{$this->sPageSlug}", // filter name |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | $_sMaingPluginFileName = 'admin-page-framework-loader.php'; |
32 | 32 | if ( file_exists( dirname( __FILE__ ). '/' . $_sMaingPluginFileName ) ) { |
33 | - include( $_sMaingPluginFileName ); |
|
33 | + include( $_sMaingPluginFileName ); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | if ( class_exists( 'AdminPageFrameworkLoader_Registry' ) ) : |
@@ -163,7 +163,7 @@ |
||
163 | 163 | */ |
164 | 164 | public function validate( $aInput, $aOldInput, $oFactory, $aSubmit ) { |
165 | 165 | |
166 | - // Local variables |
|
166 | + // Local variables |
|
167 | 167 | $_bIsValid = true; |
168 | 168 | $_aErrors = array(); |
169 | 169 |
@@ -9,12 +9,12 @@ |
||
9 | 9 | * @since 3.5.0 |
10 | 10 | */ |
11 | 11 | |
12 | - /** |
|
13 | - * |
|
14 | - * |
|
15 | - * @action do admin_page_framework_loader_action_before_loading_demo |
|
16 | - * @action do admin_page_framework_loader_action_after_loading_demo |
|
17 | - */ |
|
12 | + /** |
|
13 | + * |
|
14 | + * |
|
15 | + * @action do admin_page_framework_loader_action_before_loading_demo |
|
16 | + * @action do admin_page_framework_loader_action_after_loading_demo |
|
17 | + */ |
|
18 | 18 | class AdminPageFrameworkLoader_Demo { |
19 | 19 | |
20 | 20 | public function __construct() { |
@@ -556,7 +556,7 @@ |
||
556 | 556 | * @return string The generated section tab list as HTML. |
557 | 557 | */ |
558 | 558 | private function _getSectionTabList( $sSectionTabSlug, array $aSectionTabList ) { |
559 | - return $sSectionTabSlug |
|
559 | + return $sSectionTabSlug |
|
560 | 560 | ? "<ul class='admin-page-framework-section-tabs nav-tab-wrapper'>" |
561 | 561 | . implode( PHP_EOL, $aSectionTabList ) |
562 | 562 | . "</ul>" |
@@ -158,7 +158,7 @@ |
||
158 | 158 | . $this->getFrameworkNameVersion() |
159 | 159 | . ' (' |
160 | 160 | . $this->oMsg->get( 'debug_info_will_be_disabled' ) |
161 | - . ')' |
|
161 | + . ')' |
|
162 | 162 | . '</span>', |
163 | 163 | 'attributes' => array( |
164 | 164 | 'container' => array( |
@@ -250,20 +250,20 @@ |
||
250 | 250 | } |
251 | 251 | |
252 | 252 | /** |
253 | - * Adds the given link into the menu on the left sidebar of the administration panel. |
|
254 | - * |
|
255 | - * @since 2.0.0 |
|
256 | - * @since 3.0.0 Changed the scope to public from protected. |
|
257 | - * @since 3.5.0 Changed the scope to public as it was still protected. |
|
258 | - * @param string the menu title. |
|
259 | - * @param string the URL linked to the menu. |
|
260 | - * @param string (optional) the <a href="http://codex.wordpress.org/Roles_and_Capabilities" target="_blank">access level</a>. |
|
261 | - * @param string (optional) the order number. The larger it is, the lower the position it gets. |
|
262 | - * @param string (optional) if set to false, the menu title will not be listed in the tab navigation menu at the top of the page. |
|
263 | - * @access public |
|
264 | - * @return void |
|
265 | - * @internal |
|
266 | - */ |
|
253 | + * Adds the given link into the menu on the left sidebar of the administration panel. |
|
254 | + * |
|
255 | + * @since 2.0.0 |
|
256 | + * @since 3.0.0 Changed the scope to public from protected. |
|
257 | + * @since 3.5.0 Changed the scope to public as it was still protected. |
|
258 | + * @param string the menu title. |
|
259 | + * @param string the URL linked to the menu. |
|
260 | + * @param string (optional) the <a href="http://codex.wordpress.org/Roles_and_Capabilities" target="_blank">access level</a>. |
|
261 | + * @param string (optional) the order number. The larger it is, the lower the position it gets. |
|
262 | + * @param string (optional) if set to false, the menu title will not be listed in the tab navigation menu at the top of the page. |
|
263 | + * @access public |
|
264 | + * @return void |
|
265 | + * @internal |
|
266 | + */ |
|
267 | 267 | public function addSubMenuLink( array $aSubMenuLink ) { |
268 | 268 | |
269 | 269 | // If required keys are not set, return. |
@@ -255,8 +255,8 @@ discard block |
||
255 | 255 | 'href' => empty( $aArguments[ 'disabled' ] ) |
256 | 256 | ? null |
257 | 257 | : '#TB_inline?width=' . $aArguments[ 'disabled' ][ 'box_width' ] |
258 | - . '&height=' . $aArguments[ 'disabled' ][ 'box_height' ] |
|
259 | - . '&inlineId=' . 'repeatable_field_disabled_' . $sFieldsContainerID, |
|
258 | + . '&height=' . $aArguments[ 'disabled' ][ 'box_height' ] |
|
259 | + . '&inlineId=' . 'repeatable_field_disabled_' . $sFieldsContainerID, |
|
260 | 260 | ); |
261 | 261 | return $this->getAttributes( $_sPlusButtonAttributes ); |
262 | 262 | } |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | private function ___getRemvoeButtonAttribtes( $sFieldsContainerID, $sSmallButtonSelector, $iFieldCount ) { |
269 | 269 | $_aMinusButtonAttributes = array( |
270 | 270 | 'class' => 'repeatable-field-remove-button button-secondary repeatable-field-button button' |
271 | - . $sSmallButtonSelector, |
|
271 | + . $sSmallButtonSelector, |
|
272 | 272 | 'title' => $this->oMsg->get( 'remove' ), |
273 | 273 | 'style' => $iFieldCount <= 1 |
274 | 274 | ? 'visibility: hidden' |