File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,12 +186,14 @@ protected function get_views() {
186186
187187 $ display_tabs = array ();
188188 foreach ( (array ) $ tabs as $ action => $ text ) {
189- $ current_link_attributes = ( $ action === $ tab ) ? ' class="current" aria-current="page" ' : '' ;
190- $ href = self_admin_url ( 'theme-install.php?tab= ' . $ action );
191- $ display_tabs [ 'theme-install- ' . $ action ] = "<a href=' $ href' $ current_link_attributes> $ text</a> " ;
189+ $ display_tabs [ 'theme-install- ' . $ action ] = array (
190+ 'url ' => self_admin_url ( 'theme-install.php?tab= ' . $ action ),
191+ 'label ' => $ text ,
192+ 'current ' => ( $ action === $ tab ) ? ' class="current" aria-current="page" ' : '' ,
193+ );
192194 }
193195
194- return $ display_tabs ;
196+ return $ this -> get_admin_status_links ( $ display_tabs ) ;
195197 }
196198
197199 /**
You can’t perform that action at this time.
0 commit comments