diff --git a/404.php b/404.php index 89bfeac83..1e92fc29d 100644 --- a/404.php +++ b/404.php @@ -14,7 +14,6 @@ * Display the Recent Posts widget * * @since 0.5.5 - * @link http://jira.inn.org/browse/WE-103 * @link https://codex.wordpress.org/Function_Reference/the_widget */ if ( class_exists( 'largo_recent_posts_widget' ) ) { diff --git a/inc/dashboard.php b/inc/dashboard.php index a16f003a0..93a77d35f 100644 --- a/inc/dashboard.php +++ b/inc/dashboard.php @@ -8,90 +8,90 @@ // cleanup the wordpress dashboard and add a few of our own widgets function largo_dashboard_widgets_member() { - global $wp_meta_boxes; + global $wp_meta_boxes; - unset( - $wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins'], - $wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary'], - $wp_meta_boxes['dashboard']['side']['core']['dashboard_primary'], - $wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links'], - $wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments'], - $wp_meta_boxes['dashboard']['side']['core']['dashboard_recent_drafts'], - $wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press'] - ); + unset( + $wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins'], + $wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary'], + $wp_meta_boxes['dashboard']['side']['core']['dashboard_primary'], + $wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links'], + $wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments'], + $wp_meta_boxes['dashboard']['side']['core']['dashboard_recent_drafts'], + $wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press'] + ); - wp_add_dashboard_widget( 'dashboard_quick_links', __( 'Project Largo Help', 'largo' ), 'largo_dashboard_quick_links' ); + wp_add_dashboard_widget( 'dashboard_quick_links', __( 'Project Largo Help', 'largo' ), 'largo_dashboard_quick_links' ); - wp_add_dashboard_widget( 'dashboard_member_news', __( 'Recent Stories from INN Members', 'largo' ), 'largo_dashboard_member_news' ); - $my_widget = $wp_meta_boxes['dashboard']['normal']['core']['dashboard_member_news']; - unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_member_news']); - $wp_meta_boxes['dashboard']['side']['core']['dashboard_member_news'] = $my_widget; + wp_add_dashboard_widget( 'dashboard_member_news', __( 'Recent Stories from INN Members', 'largo' ), 'largo_dashboard_member_news' ); + $my_widget = $wp_meta_boxes['dashboard']['normal']['core']['dashboard_member_news']; + unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_member_news']); + $wp_meta_boxes['dashboard']['side']['core']['dashboard_member_news'] = $my_widget; - wp_add_dashboard_widget( 'dashboard_network_news', __( 'INN Network News', 'largo' ), 'largo_dashboard_network_news' ); - $my_widget = $wp_meta_boxes['dashboard']['normal']['core']['dashboard_network_news']; - unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_network_news']); - $wp_meta_boxes['dashboard']['side']['core']['dashboard_network_news'] = $my_widget; + wp_add_dashboard_widget( 'dashboard_network_news', __( 'INN Network News', 'largo' ), 'largo_dashboard_network_news' ); + $my_widget = $wp_meta_boxes['dashboard']['normal']['core']['dashboard_network_news']; + unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_network_news']); + $wp_meta_boxes['dashboard']['side']['core']['dashboard_network_news'] = $my_widget; } // we'll still clean things up a bit for non INN members function largo_dashboard_widgets_nonmember() { - global $wp_meta_boxes; + global $wp_meta_boxes; - unset( - $wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins'], - $wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary'], - $wp_meta_boxes['dashboard']['side']['core']['dashboard_primary'], - $wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links'], - $wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments'] - ); + unset( + $wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins'], + $wp_meta_boxes['dashboard']['side']['core']['dashboard_secondary'], + $wp_meta_boxes['dashboard']['side']['core']['dashboard_primary'], + $wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links'], + $wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments'] + ); - wp_add_dashboard_widget( 'dashboard_quick_links', __( 'Project Largo Help', 'largo' ), 'largo_dashboard_quick_links' ); + wp_add_dashboard_widget( 'dashboard_quick_links', __( 'Project Largo Help', 'largo' ), 'largo_dashboard_quick_links' ); - wp_add_dashboard_widget( 'dashboard_network_news', __( 'INN Network News', 'largo' ), 'largo_dashboard_network_news' ); - $my_widget = $wp_meta_boxes['dashboard']['normal']['core']['dashboard_network_news']; - unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_network_news']); - $wp_meta_boxes['dashboard']['side']['core']['dashboard_network_news'] = $my_widget; + wp_add_dashboard_widget( 'dashboard_network_news', __( 'INN Network News', 'largo' ), 'largo_dashboard_network_news' ); + $my_widget = $wp_meta_boxes['dashboard']['normal']['core']['dashboard_network_news']; + unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_network_news']); + $wp_meta_boxes['dashboard']['side']['core']['dashboard_network_news'] = $my_widget; } // custom dashboard widgets for INN members function largo_dashboard_network_news() { - echo '
"; + echo ' "; } function largo_dashboard_member_news() { - echo ' "; + echo ' "; } function largo_dashboard_quick_links() { - echo ' - - '; + echo ' + + '; } // add the largo logo to the login page @@ -246,12 +246,12 @@ function largo_dash_admin_menu( $wp_admin_bar ) { // add a credit line to the admin footer function largo_admin_footer_text( $default_text ) { - return ' '; + return ' '; } add_filter( 'admin_footer_text', 'largo_admin_footer_text' ); // remove the links menu item function largo_admin_menu() { - remove_menu_page('link-manager.php'); + remove_menu_page('link-manager.php'); } add_action( 'admin_menu', 'largo_admin_menu' ); diff --git a/inc/post-tags.php b/inc/post-tags.php index 00e00f098..58d13096d 100644 --- a/inc/post-tags.php +++ b/inc/post-tags.php @@ -802,7 +802,6 @@ function largo_post_metadata( $post_id, $echo = TRUE ) { * * @since 0.5.4 * @link https://github.com/INN/Largo/issues/961 - * @link http://jira.inn.org/browse/VO-10 * @see largo_floating_social_button_width_json */ if ( ! function_exists( 'largo_floating_social_buttons' ) ) { diff --git a/readme.md b/readme.md index 31e902134..a9e45ddf5 100644 --- a/readme.md +++ b/readme.md @@ -28,7 +28,7 @@ The project extends work done by [NPR's Project Argo](http://argoproject.org/). **Documentation** and more information at: [largoproject.org](http://largoproject.org) -**Support** is available [via our helpdesk system](http://jira.inn.org/servicedesk/customer/portal/4) or by emailing [support@largoproject.org](mailto:support@largoproject.org). +**Support** is available [via our helpdesk system](http://support.largoproject.org/) or by emailing [support@largoproject.org](mailto:support@largoproject.org). **Current version:** v0.5.4 diff --git a/series-landing.php b/series-landing.php index 18cb4b0b4..3c841852b 100644 --- a/series-landing.php +++ b/series-landing.php @@ -175,7 +175,6 @@ /* * custom footer html * If we don't reset the post meta here, then the footer HTML is from the wrong post. This doesn't mess with LMP, because it happens after LMP is enqueued in the main column. - * @link http://jira.inn.org/browse/HELPDESK-590 */ wp_reset_postdata(); if ( 'custom' == $opt['footer_style']) {