@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * |
26 | 26 | * Only one depth at a time will be parsed. |
27 | 27 | */ |
28 | - public $iNestedDepth = 0; |
|
28 | + public $iNestedDepth = 0; |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * Stores the generated section tab slugs. |
@@ -121,11 +121,11 @@ discard block |
||
121 | 121 | $_aFieldsBySectionTab = array(); |
122 | 122 | $_iIndex = 0; |
123 | 123 | |
124 | - foreach( $aSectionsets as $_sSectionPath => $_aSectionset ) { |
|
124 | + foreach ( $aSectionsets as $_sSectionPath => $_aSectionset ) { |
|
125 | 125 | |
126 | 126 | // If no fields for the section, no need to add the section |
127 | 127 | // unless the custom sectionset output is defined. |
128 | - if ( ! isset( $aFieldsets[ $_sSectionPath ] ) && ! $this->_isCustomContentSet( $_aSectionset ) ) { |
|
128 | + if ( !isset( $aFieldsets[ $_sSectionPath ] ) && !$this->_isCustomContentSet( $_aSectionset ) ) { |
|
129 | 129 | continue; |
130 | 130 | } |
131 | 131 | |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | $_sSectionTaqbSlug = $this->getAOrB( |
138 | 138 | $_aSectionset[ 'section_tab_slug' ], |
139 | 139 | $_aSectionset[ 'section_tab_slug' ], |
140 | - '_default_' . $this->iNestedDepth . '_' . ( ++$_iIndex ) |
|
140 | + '_default_'.$this->iNestedDepth.'_'.( ++$_iIndex ) |
|
141 | 141 | ); |
142 | 142 | $_aSectionsBySectionTab[ $_sSectionTaqbSlug ][ $_sSectionPath ] = $_aSectionset; |
143 | 143 | $_aFieldsBySectionTab[ $_sSectionTaqbSlug ][ $_sSectionPath ] = $this->getElement( |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | * @since 3.7.0 Moved from `AdminPageFramework_FormPart_Table`. |
159 | 159 | * @return boolean True if a custom content value is set. |
160 | 160 | */ |
161 | - private function _isCustomContentSet( array $aSectionset, array $aKeys=array( 'content' ) ) { |
|
161 | + private function _isCustomContentSet( array $aSectionset, array $aKeys = array( 'content' ) ) { |
|
162 | 162 | return isset( $aSectionset[ 'content' ] ); |
163 | 163 | // @deprecated |
164 | 164 | // foreach( $aKeys as $_sKey ) { |
@@ -215,7 +215,7 @@ |
||
215 | 215 | $aField[ '_structure_type' ], |
216 | 216 | array( 'widget', 'post_meta_box', 'page_meta_box' ) |
217 | 217 | ) |
218 | - ){ |
|
218 | + ) { |
|
219 | 219 | return "<span class='title-colon'>:</span>" ; |
220 | 220 | } |
221 | 221 |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | |
70 | 70 | $aField = $this->aFieldset; |
71 | 71 | |
72 | - if ( ! $aField[ 'show_title_column' ] ) { |
|
72 | + if ( !$aField[ 'show_title_column' ] ) { |
|
73 | 73 | return ''; |
74 | 74 | } |
75 | 75 | |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | 'for' => $_oInputTagIDGenerator->get(), |
84 | 84 | ); |
85 | 85 | $_sOutput .= $aField[ 'title' ] |
86 | - ? "<label " . $this->getAttributes( $_aLabelAttributes ) . "'>" |
|
86 | + ? "<label ".$this->getAttributes( $_aLabelAttributes )."'>" |
|
87 | 87 | . "<a id='{$aField[ 'field_id' ]}'></a>" // to allow the browser to link to the element. |
88 | 88 | . "<span title='" |
89 | 89 | . esc_attr( |
@@ -113,12 +113,12 @@ discard block |
||
113 | 113 | */ |
114 | 114 | private function _getFieldOutputsInFieldTitleAreaFromNestedFields( $aField ) { |
115 | 115 | |
116 | - if ( ! $this->hasNestedFields( $aField ) ) { |
|
116 | + if ( !$this->hasNestedFields( $aField ) ) { |
|
117 | 117 | return ''; |
118 | 118 | } |
119 | 119 | |
120 | 120 | $_sOutput = ''; |
121 | - foreach( $aField[ 'content' ] as $_aNestedField ) { |
|
121 | + foreach ( $aField[ 'content' ] as $_aNestedField ) { |
|
122 | 122 | |
123 | 123 | if ( 'field_title' !== $_aNestedField[ 'placement' ] ) { |
124 | 124 | continue; |
@@ -126,13 +126,13 @@ discard block |
||
126 | 126 | |
127 | 127 | $_oFieldset = new AdminPageFramework_Form_View___Fieldset( |
128 | 128 | $_aNestedField, |
129 | - $this->aSavedData, // passed by reference. @todo: examine why it needs to be passed by reference. |
|
129 | + $this->aSavedData, // passed by reference. @todo: examine why it needs to be passed by reference. |
|
130 | 130 | $this->aFieldErrors, |
131 | 131 | $this->aFieldTypeDefinitions, |
132 | 132 | $this->oMsg, |
133 | 133 | $this->aCallbacks // field output element callables. |
134 | 134 | ); |
135 | - $_sOutput .= $_oFieldset->get(); // field output |
|
135 | + $_sOutput .= $_oFieldset->get(); // field output |
|
136 | 136 | |
137 | 137 | } |
138 | 138 | return $_sOutput; |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | * @since 3.7.0 |
145 | 145 | */ |
146 | 146 | private function _getToolTip( $asTip, $sElementID ) { |
147 | - $_oToolTip = new AdminPageFramework_Form_View___ToolTip( |
|
147 | + $_oToolTip = new AdminPageFramework_Form_View___ToolTip( |
|
148 | 148 | $asTip, |
149 | 149 | $sElementID |
150 | 150 | ); |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | */ |
158 | 158 | private function _getTitleColon( $aField ) { |
159 | 159 | |
160 | - if ( ! isset( $aField[ 'title' ] ) || '' === $aField[ 'title' ] ) { |
|
160 | + if ( !isset( $aField[ 'title' ] ) || '' === $aField[ 'title' ] ) { |
|
161 | 161 | return ''; |
162 | 162 | } |
163 | 163 | if ( |
@@ -165,8 +165,8 @@ discard block |
||
165 | 165 | $aField[ '_structure_type' ], |
166 | 166 | array( 'widget', 'post_meta_box', 'page_meta_box' ) |
167 | 167 | ) |
168 | - ){ |
|
169 | - return "<span class='title-colon'>:</span>" ; |
|
168 | + ) { |
|
169 | + return "<span class='title-colon'>:</span>"; |
|
170 | 170 | } |
171 | 171 | |
172 | 172 | } |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | $_aParameters = func_get_args() + array( |
34 | 34 | $this->aFieldset, |
35 | - $this->aSavedData, // passed by reference. @todo: examine why it needs to be passed by reference. |
|
35 | + $this->aSavedData, // passed by reference. @todo: examine why it needs to be passed by reference. |
|
36 | 36 | $this->aFieldErrors, |
37 | 37 | $this->aFieldTypeDefinitions, |
38 | 38 | $this->aCallbacks, // field output element callables. |
@@ -60,14 +60,14 @@ discard block |
||
60 | 60 | |
61 | 61 | $aFieldset = $this->aFieldset; |
62 | 62 | |
63 | - if ( ! $this->isNormalPlacement( $aFieldset ) ) { |
|
63 | + if ( !$this->isNormalPlacement( $aFieldset ) ) { |
|
64 | 64 | return ''; |
65 | 65 | } |
66 | 66 | |
67 | - $_oFieldrowAttribute = new AdminPageFramework_Form_View___Attribute_Fieldrow( |
|
67 | + $_oFieldrowAttribute = new AdminPageFramework_Form_View___Attribute_Fieldrow( |
|
68 | 68 | $aFieldset, |
69 | 69 | array( |
70 | - 'id' => 'fieldrow-' . $aFieldset[ 'tag_id' ], |
|
70 | + 'id' => 'fieldrow-'.$aFieldset[ 'tag_id' ], |
|
71 | 71 | 'valign' => 'top', |
72 | 72 | 'class' => 'admin-page-framework-fieldrow', |
73 | 73 | ) |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | return $this->_getFieldByContainer( |
77 | 77 | $aFieldset, |
78 | 78 | array( |
79 | - 'open_container' => "<tr " . $_oFieldrowAttribute->get() . ">", |
|
79 | + 'open_container' => "<tr ".$_oFieldrowAttribute->get().">", |
|
80 | 80 | 'close_container' => "</tr>", |
81 | 81 | 'open_title' => "<th>", |
82 | 82 | 'close_title' => "</th>", |
@@ -125,13 +125,13 @@ discard block |
||
125 | 125 | $this->aCallbacks, |
126 | 126 | $this->oMsg |
127 | 127 | ); |
128 | - $_aOutput = array(); |
|
128 | + $_aOutput = array(); |
|
129 | 129 | if ( $aFieldset[ 'show_title_column' ] ) { |
130 | - $_aOutput[] = $aOpenCloseTags[ 'open_title' ] |
|
130 | + $_aOutput[ ] = $aOpenCloseTags[ 'open_title' ] |
|
131 | 131 | . $_oFieldTitle->get() |
132 | 132 | . $aOpenCloseTags[ 'close_title' ]; |
133 | 133 | } |
134 | - $_aOutput[] = $aOpenCloseTags[ 'open_main' ] |
|
134 | + $_aOutput[ ] = $aOpenCloseTags[ 'open_main' ] |
|
135 | 135 | // . call_user_func_array( $hfCallback, array( $aFieldset ) ) |
136 | 136 | . $this->getFieldsetOutput( $aFieldset ) |
137 | 137 | . $aOpenCloseTags[ 'close_main' ]; |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | $_aParameters = func_get_args() + array( |
33 | 33 | $this->aFieldset, |
34 | - $this->aSavedData, // passed by reference. @todo: examine why it needs to be passed by reference. |
|
34 | + $this->aSavedData, // passed by reference. @todo: examine why it needs to be passed by reference. |
|
35 | 35 | $this->aFieldErrors, |
36 | 36 | $this->aFieldTypeDefinitions, |
37 | 37 | $this->aCallbacks, // field output element callables. |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | |
60 | 60 | $aFieldset = $this->aFieldset; |
61 | 61 | |
62 | - if ( ! $this->isNormalPlacement( $aFieldset ) ) { |
|
62 | + if ( !$this->isNormalPlacement( $aFieldset ) ) { |
|
63 | 63 | return ''; |
64 | 64 | } |
65 | 65 | |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | return $this->_getFieldByContainer( |
71 | 71 | $aFieldset, |
72 | 72 | array( |
73 | - 'open_main' => "<div " . $_oFieldrowAttribute->get() . ">", |
|
73 | + 'open_main' => "<div ".$_oFieldrowAttribute->get().">", |
|
74 | 74 | 'close_main' => "</div>", |
75 | 75 | ) |
76 | 76 | ); |
@@ -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 ( ! $_aFieldset[ 'if' ] ) { |
|
79 | + if ( !$_aFieldset[ 'if' ] ) { |
|
80 | 80 | continue; |
81 | 81 | } |
82 | 82 |
@@ -37,7 +37,7 @@ |
||
37 | 37 | '', |
38 | 38 | "|{$this->sIndex}" |
39 | 39 | ); |
40 | - return $this->_getFiltered( $this->_getFlatFieldName() . $_sIndex ); |
|
40 | + return $this->_getFiltered( $this->_getFlatFieldName().$_sIndex ); |
|
41 | 41 | |
42 | 42 | } |
43 | 43 |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * @return string |
40 | 40 | */ |
41 | 41 | public function getModel() { |
42 | - return $this->get() . '__' . $this->sIndexMark; |
|
42 | + return $this->get().'__'.$this->sIndexMark; |
|
43 | 43 | } |
44 | 44 | /** |
45 | 45 | * @since 3.6.0 |
@@ -49,17 +49,17 @@ discard block |
||
49 | 49 | |
50 | 50 | // 3.8.0+ |
51 | 51 | if ( $this->aArguments[ '_parent_tag_id' ] ) { |
52 | - return $this->aArguments[ '_parent_tag_id' ] . '_' . $this->aArguments[ 'field_id' ]; |
|
52 | + return $this->aArguments[ '_parent_tag_id' ].'_'.$this->aArguments[ 'field_id' ]; |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | $_sSectionIndex = isset( $this->aArguments[ '_section_index' ] ) |
56 | - ? '__' . $this->aArguments[ '_section_index' ] |
|
56 | + ? '__'.$this->aArguments[ '_section_index' ] |
|
57 | 57 | : ''; |
58 | 58 | $_sSectionPart = implode( '_', $this->aArguments[ '_section_path_array' ] ); |
59 | 59 | $_sFieldPart = implode( '_', $this->aArguments[ '_field_path_array' ] ); |
60 | 60 | |
61 | 61 | return $this->_isSectionSet() |
62 | - ? $_sSectionPart . $_sSectionIndex . '_' . $_sFieldPart |
|
62 | + ? $_sSectionPart.$_sSectionIndex.'_'.$_sFieldPart |
|
63 | 63 | : $_sFieldPart; |
64 | 64 | |
65 | 65 | } |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * @since 2.1.0 |
54 | 54 | * @internal |
55 | 55 | */ |
56 | - protected function _setHelpTab( $sID, $sTitle, $aContents, $aSideBarContents=array() ) { |
|
56 | + protected function _setHelpTab( $sID, $sTitle, $aContents, $aSideBarContents = array() ) { |
|
57 | 57 | |
58 | 58 | if ( empty( $aContents ) ) { |
59 | 59 | return; |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | ) |
71 | 71 | ); |
72 | 72 | |
73 | - if ( ! empty( $aSideBarContents ) ) { |
|
73 | + if ( !empty( $aSideBarContents ) ) { |
|
74 | 74 | $this->_oScreen->set_help_sidebar( implode( PHP_EOL, $aSideBarContents ) ); |
75 | 75 | } |
76 | 76 | |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | * @internal |
83 | 83 | */ |
84 | 84 | protected function _formatHelpDescription( $sHelpDescription ) { |
85 | - return "<div class='contextual-help-description'>" . $sHelpDescription . "</div>"; |
|
85 | + return "<div class='contextual-help-description'>".$sHelpDescription."</div>"; |
|
86 | 86 | } |
87 | 87 | |
88 | 88 | |
@@ -106,10 +106,10 @@ discard block |
||
106 | 106 | * @remark This method just adds the given text into the class property. The actual registration will be performed with the <em>replyToRegisterHelpTabTextForMetaBox()</em> method. |
107 | 107 | * @internal |
108 | 108 | */ |
109 | - public function _addHelpText( $sHTMLContent, $sHTMLSidebarContent="" ) { |
|
109 | + public function _addHelpText( $sHTMLContent, $sHTMLSidebarContent = "" ) { |
|
110 | 110 | |
111 | - $this->oProp->aHelpTabText[] = "<div class='contextual-help-description'>" . $sHTMLContent . "</div>"; |
|
112 | - $this->oProp->aHelpTabTextSide[] = "<div class='contextual-help-description'>" . $sHTMLSidebarContent . "</div>"; |
|
111 | + $this->oProp->aHelpTabText[ ] = "<div class='contextual-help-description'>".$sHTMLContent."</div>"; |
|
112 | + $this->oProp->aHelpTabTextSide[ ] = "<div class='contextual-help-description'>".$sHTMLSidebarContent."</div>"; |
|
113 | 113 | |
114 | 114 | } |
115 | 115 | |
@@ -125,9 +125,9 @@ discard block |
||
125 | 125 | * @remark This method just adds the given text into the class property. The actual registration will be performed with the `replyToRegisterHelpTabTextForMetaBox()` method. |
126 | 126 | * @internal |
127 | 127 | */ |
128 | - public function _addHelpTextForFormFields( $sFieldTitle, $sHelpText, $sHelpTextSidebar="" ) { |
|
128 | + public function _addHelpTextForFormFields( $sFieldTitle, $sHelpText, $sHelpTextSidebar = "" ) { |
|
129 | 129 | $this->_addHelpText( |
130 | - "<span class='contextual-help-tab-title'>" . $sFieldTitle . "</span> - " . PHP_EOL |
|
130 | + "<span class='contextual-help-tab-title'>".$sFieldTitle."</span> - ".PHP_EOL |
|
131 | 131 | . $sHelpText, |
132 | 132 | $sHelpTextSidebar |
133 | 133 | ); |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | public function _replyToRegisterHelpTabText() { |
146 | 146 | |
147 | 147 | // Check if the currently loaded page is of meta box page. |
148 | - if ( ! $this->oProp->oCaller->isInThePage() ) { |
|
148 | + if ( !$this->oProp->oCaller->isInThePage() ) { |
|
149 | 149 | return false; |
150 | 150 | } |
151 | 151 |
@@ -25,9 +25,9 @@ discard block |
||
25 | 25 | /** |
26 | 26 | * Sets up hooks and properties. |
27 | 27 | */ |
28 | - public function __construct( $oProp, $oMsg=null ) { |
|
28 | + public function __construct( $oProp, $oMsg = null ) { |
|
29 | 29 | |
30 | - if ( ! $this->_isLoadable( $oProp ) ) { |
|
30 | + if ( !$this->_isLoadable( $oProp ) ) { |
|
31 | 31 | return; |
32 | 32 | } |
33 | 33 | |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | // Add an action link in the plugin listing page |
40 | 40 | if ( $this->_shouldSetPluginActionLinks() ) { |
41 | 41 | add_filter( |
42 | - 'plugin_action_links_' . plugin_basename( $this->oProp->aScriptInfo[ 'sPath' ] ), |
|
42 | + 'plugin_action_links_'.plugin_basename( $this->oProp->aScriptInfo[ 'sPath' ] ), |
|
43 | 43 | array( $this, '_replyToAddSettingsLinkInPluginListingPage' ), |
44 | 44 | 20 // set a lower priority so that the link will be embedded at the beginning ( the most left hand side ). |
45 | 45 | ); |
@@ -54,13 +54,13 @@ discard block |
||
54 | 54 | * @return boolean |
55 | 55 | */ |
56 | 56 | private function _isLoadable( $oProp ) { |
57 | - if ( ! $oProp->bIsAdmin ) { |
|
57 | + if ( !$oProp->bIsAdmin ) { |
|
58 | 58 | return false; |
59 | 59 | } |
60 | 60 | if ( $oProp->bIsAdminAjax ) { |
61 | 61 | return false; |
62 | 62 | } |
63 | - return ! $this->hasBeenCalled( 'links_' . $oProp->sClassName ); |
|
63 | + return !$this->hasBeenCalled( 'links_'.$oProp->sClassName ); |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |
@@ -84,11 +84,11 @@ discard block |
||
84 | 84 | protected function _shouldSetPluginActionLinks() { |
85 | 85 | |
86 | 86 | // It is possible that the sub-objects are not set when the class is considered not loadable. |
87 | - if ( ! isset( $this->oProp ) ) { |
|
87 | + if ( !isset( $this->oProp ) ) { |
|
88 | 88 | return false; |
89 | 89 | } |
90 | 90 | |
91 | - if ( ! in_array( $this->oProp->sPageNow, array( 'plugins.php' ) ) ) { |
|
91 | + if ( !in_array( $this->oProp->sPageNow, array( 'plugins.php' ) ) ) { |
|
92 | 92 | return false; |
93 | 93 | } |
94 | 94 | return 'plugin' === $this->oProp->aScriptInfo[ 'sType' ]; |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | array( |
156 | 156 | 'href' => $aScriptInfo[ 'sURI' ], |
157 | 157 | 'target' => '_blank', |
158 | - 'title' => $aScriptInfo[ 'sName' ] . $_sVersion . $_sDescription |
|
158 | + 'title' => $aScriptInfo[ 'sName' ].$_sVersion.$_sDescription |
|
159 | 159 | ), |
160 | 160 | $aScriptInfo[ 'sName' ] |
161 | 161 | ) |
@@ -177,13 +177,13 @@ discard block |
||
177 | 177 | $_sAuthorInfo = $this->getAOrB( |
178 | 178 | empty( $aScriptInfo[ 'sAuthor' ] ), |
179 | 179 | $_sAuthorInfo, |
180 | - ' by ' . $_sAuthorInfo |
|
180 | + ' by '.$_sAuthorInfo |
|
181 | 181 | ); |
182 | 182 | |
183 | 183 | // Enclosing the output in a span tag as the outer element is a '<p>' tag. So this cannot be div. |
184 | 184 | // 3.5.7+ Added the class attribute for acceptance testing |
185 | 185 | return "<span class='apf-script-info'>" |
186 | - . $_sPluginInfo . $_sAuthorInfo |
|
186 | + . $_sPluginInfo.$_sAuthorInfo |
|
187 | 187 | . "</span>"; |
188 | 188 | |
189 | 189 | } |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | array( |
215 | 215 | 'href' => $aScriptInfo[ 'sURI' ], |
216 | 216 | 'target' => '_blank', |
217 | - 'title' => $aScriptInfo[ 'sName' ] . $_sVersion . $_sDescription, |
|
217 | + 'title' => $aScriptInfo[ 'sName' ].$_sVersion.$_sDescription, |
|
218 | 218 | ), |
219 | 219 | $aScriptInfo[ 'sName' ] |
220 | 220 | ) |
@@ -224,16 +224,16 @@ discard block |
||
224 | 224 | // 3.5.7+ added the 'apf-credit' class attribute for acceptance testing |
225 | 225 | // 3.7.0+ added the footer-thankyou id attribute. |
226 | 226 | return "<span class='apf-credit' id='footer-thankyou'>" |
227 | - . $this->oMsg->get( 'powered_by' ) . ' ' |
|
227 | + . $this->oMsg->get( 'powered_by' ).' ' |
|
228 | 228 | . $_sLibraryInfo |
229 | 229 | . ", " |
230 | - . $this->oMsg->get( 'and' ) . ' ' |
|
230 | + . $this->oMsg->get( 'and' ).' ' |
|
231 | 231 | . $this->getHTMLTag( |
232 | 232 | 'a', |
233 | 233 | array( |
234 | 234 | 'href' => 'https://wordpress.org', |
235 | 235 | 'target' => '_blank', |
236 | - 'title' => 'WordPress ' . $GLOBALS[ 'wp_version' ] |
|
236 | + 'title' => 'WordPress '.$GLOBALS[ 'wp_version' ] |
|
237 | 237 | ), |
238 | 238 | 'WordPress' |
239 | 239 | ) |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | */ |
250 | 250 | protected function _setFooterHooks() { |
251 | 251 | |
252 | - add_filter( 'admin_footer_text' , array( $this, '_replyToAddInfoInFooterLeft' ) ); |
|
252 | + add_filter( 'admin_footer_text', array( $this, '_replyToAddInfoInFooterLeft' ) ); |
|
253 | 253 | add_filter( 'update_footer', array( $this, '_replyToAddInfoInFooterRight' ), 11 ); |
254 | 254 | |
255 | 255 | } |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | * @callback filter admin_footer_text |
262 | 262 | * @internal |
263 | 263 | */ |
264 | - public function _replyToAddInfoInFooterLeft( $sLinkHTML='' ) { |
|
264 | + public function _replyToAddInfoInFooterLeft( $sLinkHTML = '' ) { |
|
265 | 265 | |
266 | 266 | $sLinkHTML = empty( $this->oProp->aScriptInfo[ 'sName' ] ) |
267 | 267 | ? $sLinkHTML |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | |
270 | 270 | return $this->addAndApplyFilters( |
271 | 271 | $this->oProp->oCaller, |
272 | - 'footer_left_' . $this->oProp->sClassName, |
|
272 | + 'footer_left_'.$this->oProp->sClassName, |
|
273 | 273 | $sLinkHTML |
274 | 274 | ); |
275 | 275 | |
@@ -282,10 +282,10 @@ discard block |
||
282 | 282 | * @callback filter admin_footer_text |
283 | 283 | * @internal |
284 | 284 | */ |
285 | - public function _replyToAddInfoInFooterRight( $sLinkHTML='' ) { |
|
285 | + public function _replyToAddInfoInFooterRight( $sLinkHTML = '' ) { |
|
286 | 286 | return $this->addAndApplyFilters( |
287 | 287 | $this->oProp->oCaller, |
288 | - 'footer_right_' . $this->oProp->sClassName, |
|
288 | + 'footer_right_'.$this->oProp->sClassName, |
|
289 | 289 | $this->oProp->aFooterInfo[ 'sRight' ] |
290 | 290 | ); |
291 | 291 | } |