Skip to content

Commit

Permalink
Merge pull request #184 from PRX/fix/hp-admin-link-again
Browse files Browse the repository at this point in the history
fix(hp-link): take 2
  • Loading branch information
brandonhundt authored Apr 8, 2024
2 parents 9d74b39 + ac9a967 commit 7eed6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-content/themes/the-world/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ function tw_remove_core_block_patterns() {
* @uses add_menu_page() Add links to the menu.
*/
function tw_add_edit_homepage_menu_link() {
add_menu_page( 'tw_edit_homepage_link', 'The World Homepage', 'publish_posts', '/wp-admin/term.php?taxonomy=program&tag_ID=12270&post_type=post', '', 'dashicons-admin-site-alt3', 8 );
add_menu_page( 'tw_edit_homepage_link', 'The World Homepage', 'publish_posts', '/term.php?taxonomy=program&tag_ID=12270&post_type=post', '', 'dashicons-admin-site-alt3', 8 );
}
endif;
add_action( 'admin_menu', 'tw_add_edit_homepage_menu_link' );

0 comments on commit 7eed6d2

Please sign in to comment.