Rename About tab to Read Me and display README.md content

This commit is contained in:
Marcus Quinn
2025-03-24 21:37:09 +00:00
parent e83dbcfff7
commit a2b7ba6d72
6 changed files with 69 additions and 69 deletions

View File

@ -250,8 +250,8 @@ class WP_Allstars_Admin_Manager {
<a href="?page=wp-allstars&tab=tools" class="nav-tab <?php echo $active_tab === 'tools' ? 'nav-tab-active' : ''; ?>">
<?php esc_html_e('Tools', 'wp-allstars'); ?>
</a>
<a href="?page=wp-allstars&tab=about" class="nav-tab <?php echo $active_tab === 'about' ? 'nav-tab-active' : ''; ?>">
<?php esc_html_e('About', 'wp-allstars'); ?>
<a href="?page=wp-allstars&tab=readme" class="nav-tab <?php echo $active_tab === 'readme' ? 'nav-tab-active' : ''; ?>">
<?php esc_html_e('Read Me', 'wp-allstars'); ?>
</a>
</h2>
@ -291,8 +291,8 @@ class WP_Allstars_Admin_Manager {
WP_Allstars_Tools_Manager::display_tab_content();
break;
case 'about':
WP_Allstars_About_Manager::display_tab_content();
case 'readme':
WP_Allstars_Readme_Manager::display_tab_content();
break;
}
?>