Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Code Improvement:

* Lose EOF ?>.
* Clean up EOF newlines.
* Fixes #1850.

git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@3964 9866e705-20ec-0310-96e7-cbb4277adcfb
  • Loading branch information...
commit 507d3f727b7b7ad1f99b30370a0325269456ea71 1 parent 4978581
johnjamesjacoby authored
Showing with 0 additions and 97 deletions.
  1. +0 −2  bbp-admin/bbp-actions.php
  2. +0 −2  bbp-admin/bbp-admin.php
  3. +0 −2  bbp-admin/bbp-converter.php
  4. +0 −2  bbp-admin/bbp-forums.php
  5. +0 −2  bbp-admin/bbp-functions.php
  6. +0 −2  bbp-admin/bbp-metaboxes.php
  7. +0 −2  bbp-admin/bbp-replies.php
  8. +0 −2  bbp-admin/bbp-settings.php
  9. +0 −2  bbp-admin/bbp-tools.php
  10. +0 −2  bbp-admin/bbp-topics.php
  11. +0 −2  bbp-admin/bbp-users.php
  12. +0 −1  bbp-admin/converters/Example.php
  13. +0 −1  bbp-admin/converters/Invision.php
  14. +0 −2  bbp-admin/converters/bbPress1.php
  15. +0 −2  bbp-admin/converters/index.php
  16. +0 −2  bbp-admin/converters/phpBB.php
  17. +0 −1  bbp-admin/converters/vBulletin.php
  18. +0 −2  bbp-admin/index.php
  19. +0 −2  bbp-includes/bbp-common-functions.php
  20. +0 −2  bbp-includes/bbp-common-template.php
  21. +0 −2  bbp-includes/bbp-core-actions.php
  22. +0 −2  bbp-includes/bbp-core-caps.php
  23. +0 −2  bbp-includes/bbp-core-classes.php
  24. +0 −2  bbp-includes/bbp-core-filters.php
  25. +0 −2  bbp-includes/bbp-core-functions.php
  26. +0 −2  bbp-includes/bbp-core-options.php
  27. +0 −2  bbp-includes/bbp-core-shortcodes.php
  28. +0 −2  bbp-includes/bbp-core-update.php
  29. +0 −2  bbp-includes/bbp-core-widgets.php
  30. +0 −2  bbp-includes/bbp-extend-akismet.php
  31. +0 −2  bbp-includes/bbp-extend-buddypress.php
  32. +0 −2  bbp-includes/bbp-forum-functions.php
  33. +0 −2  bbp-includes/bbp-forum-template.php
  34. +0 −2  bbp-includes/bbp-reply-functions.php
  35. +0 −2  bbp-includes/bbp-reply-template.php
  36. +0 −2  bbp-includes/bbp-template-functions.php
  37. +0 −2  bbp-includes/bbp-template-loader.php
  38. +0 −2  bbp-includes/bbp-theme-compatibility.php
  39. +0 −2  bbp-includes/bbp-topic-functions.php
  40. +0 −2  bbp-includes/bbp-topic-template.php
  41. +0 −2  bbp-includes/bbp-user-functions.php
  42. +0 −2  bbp-includes/bbp-user-options.php
  43. +0 −2  bbp-includes/bbp-user-template.php
  44. +0 −2  bbp-includes/index.php
  45. +0 −2  bbp-languages/index.php
  46. +0 −2  bbp-theme-compat/bbpress-functions.php
  47. +0 −2  bbp-themes/bbp-twentyten/bbpress-functions.php
  48. +0 −2  bbp-themes/index.php
  49. +0 −2  bbpress.php
  50. +0 −2  index.php
View
2  bbp-admin/bbp-actions.php
@@ -186,5 +186,3 @@ function bbp_register_admin_style() {
function bbp_register_admin_settings() {
do_action( 'bbp_register_admin_settings' );
}
-
-?>
View
2  bbp-admin/bbp-admin.php
@@ -936,5 +936,3 @@ function bbp_admin() {
bbpress()->admin->converter = new BBP_Converter();
}
-
-?>
View
2  bbp-admin/bbp-converter.php
@@ -1270,5 +1270,3 @@ function bbp_new_converter( $platform ) {
return null;
}
}
-
-?>
View
2  bbp-admin/bbp-forums.php
@@ -589,5 +589,3 @@ function updated_messages( $messages ) {
function bbp_admin_forums() {
bbpress()->admin->forums = new BBP_Forums_Admin();
}
-
-?>
View
2  bbp-admin/bbp-functions.php
@@ -210,5 +210,3 @@ function bbp_get_tools_admin_tabs( $active_tab = '' ) {
// Output the tabs
return $tabs_html;
}
-
-?>
View
2  bbp-admin/bbp-metaboxes.php
@@ -486,5 +486,3 @@ function bbp_author_metabox() {
do_action( 'bbp_author_metabox', $post_id );
}
-
-?>
View
2  bbp-admin/bbp-replies.php
@@ -968,5 +968,3 @@ function updated_messages( $messages ) {
function bbp_admin_replies() {
bbpress()->admin->replies = new BBP_Replies_Admin();
}
-
-?>
View
2  bbp-admin/bbp-settings.php
@@ -1088,5 +1088,3 @@ function bbp_form_slug_conflict_check( $slug, $default ) {
<?php endif;
}
}
-
-?>
View
2  bbp-admin/bbp-tools.php
@@ -934,5 +934,3 @@ function bbp_admin_reset_handler() {
}
}
}
-
-?>
View
2  bbp-admin/bbp-topics.php
@@ -1039,5 +1039,3 @@ function updated_messages( $messages ) {
function bbp_admin_topics() {
bbpress()->admin->topics = new BBP_Topics_Admin();
}
-
-?>
View
2  bbp-admin/bbp-users.php
@@ -110,5 +110,3 @@ function user_profile_forums( $profileuser ) { }
function bbp_users_admin() {
bbpress()->admin->users = new BBP_Users_Admin();
}
-
-?>
View
1  bbp-admin/converters/Example.php
@@ -330,4 +330,3 @@ public function authenticate_pass( $password, $serialized_pass )
return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) );
}
}
-?>
View
1  bbp-admin/converters/Invision.php
@@ -361,4 +361,3 @@ public function to_char( $input )
return $output;
}
}
-?>
View
2  bbp-admin/converters/bbPress1.php
@@ -526,5 +526,3 @@ public function authenticate_pass( $password, $serialized_pass ) {
return false;
}
}
-
-?>
View
2  bbp-admin/converters/index.php
@@ -3,5 +3,3 @@
/**
* Do not modify the files in this folder.
*/
-
-?>
View
2  bbp-admin/converters/phpBB.php
@@ -536,5 +536,3 @@ private function _hash_encode64($input, $count, &$itoa64) {
}
}
-
-?>
View
1  bbp-admin/converters/vBulletin.php
@@ -338,4 +338,3 @@ public function authenticate_pass( $password, $serialized_pass )
return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) );
}
}
-?>
View
2  bbp-admin/index.php
@@ -3,5 +3,3 @@
/**
* Do not modify the files in this folder.
*/
-
-?>
View
2  bbp-includes/bbp-common-functions.php
@@ -1626,5 +1626,3 @@ function bbp_set_404() {
$wp_query->set_404();
}
-
-?>
View
2  bbp-includes/bbp-common-template.php
@@ -2166,5 +2166,3 @@ function bbp_title( $title = '', $sep = '&raquo;', $seplocation = '' ) {
// Filter and return
return apply_filters( 'bbp_title', $title, $sep, $seplocation );
}
-
-?>
View
2  bbp-includes/bbp-core-actions.php
@@ -538,5 +538,3 @@ function bbp_setup_theme() {
function bbp_after_setup_theme() {
do_action( 'bbp_after_setup_theme' );
}
-
-?>
View
2  bbp-includes/bbp-core-caps.php
@@ -718,5 +718,3 @@ function bbp_current_user_can_see( $component = '' ) {
return (bool) apply_filters( 'bbp_current_user_can_see', (bool) $retval, $component );
}
-
-?>
View
2  bbp-includes/bbp-core-classes.php
@@ -378,5 +378,3 @@ public function start_el( &$output, $_post, $depth, $args ) {
}
endif; // class_exists check
-
-?>
View
2  bbp-includes/bbp-core-filters.php
@@ -293,5 +293,3 @@ function _bbp_has_replies_query( $args = array() ) {
return apply_filters( 'bbp_has_replies_query', $args );
}
add_filter( 'bbp_after_has_replies_parse_args', '_bbp_has_replies_query' );
-
-?>
View
2  bbp-includes/bbp-core-functions.php
@@ -405,5 +405,3 @@ function bbp_get_edit_rewrite_id() {
function bbp_get_view_rewrite_id() {
return bbpress()->view_id;
}
-
-?>
View
2  bbp-includes/bbp-core-options.php
@@ -462,5 +462,3 @@ function bbp_get_view_slug( $default = 'view' ) {
function bbp_get_config_location( $default = '' ) {
return apply_filters( 'bbp_get_config_location', get_option( 'bb-config-location', $default ) );
}
-
-?>
View
2  bbp-includes/bbp-core-shortcodes.php
@@ -799,5 +799,3 @@ public function display_topics_of_tag_query( $args = array() ) {
function bbp_register_shortcodes() {
bbpress()->shortcodes = new BBP_Shortcodes();
}
-
-?>
View
2  bbp-includes/bbp-core-update.php
@@ -209,5 +209,3 @@ function bbp_create_initial_content( $args = array() ) {
'reply_id' => $reply_id
);
}
-
-?>
View
2  bbp-includes/bbp-core-widgets.php
@@ -818,5 +818,3 @@ public function form( $instance ) {
<?php
}
}
-
-?>
View
2  bbp-includes/bbp-extend-akismet.php
@@ -696,5 +696,3 @@ function bbp_setup_akismet() {
// Instantiate Akismet for bbPress
bbpress()->extend->akismet = new BBP_Akismet();
}
-
-?>
View
2  bbp-includes/bbp-extend-buddypress.php
@@ -2143,5 +2143,3 @@ function bbp_remove_forum_id_from_all_groups( $forum_id = 0 ) {
bbp_remove_forum_id_from_group( $forum_id, $group_id );
}
}
-
-?>
View
2  bbp-includes/bbp-forum-functions.php
@@ -2199,5 +2199,3 @@ function bbp_untrashed_forum( $forum_id = 0 ) {
do_action( 'bbp_untrashed_forum', $forum_id );
}
-
-?>
View
2  bbp-includes/bbp-forum-template.php
@@ -2338,5 +2338,3 @@ function bbp_get_forum_replies_feed_link( $forum_id = 0 ) {
return apply_filters( 'bbp_get_forum_replies_feed_link', $link, $url, $forum_id );
}
-
-?>
View
2  bbp-includes/bbp-reply-functions.php
@@ -1598,5 +1598,3 @@ function bbp_get_reply_position_raw( $reply_id = 0, $topic_id = 0 ) {
return $reply_position;
}
-
-?>
View
2  bbp-includes/bbp-reply-template.php
@@ -1979,5 +1979,3 @@ function bbp_get_form_reply_edit_reason() {
return apply_filters( 'bbp_get_form_reply_edit_reason', esc_attr( $reply_edit_reason ) );
}
-
-?>
View
2  bbp-includes/bbp-template-functions.php
@@ -351,5 +351,3 @@ function bbp_parse_query( $posts_query ) {
$posts_query->set( 'posts_per_page', bbp_get_topics_per_page() );
}
}
-
-?>
View
2  bbp-includes/bbp-template-loader.php
@@ -420,5 +420,3 @@ function bbp_get_theme_compat_templates() {
);
return bbp_get_query_template( 'bbpress', $templates );
}
-
-?>
View
2  bbp-includes/bbp-theme-compatibility.php
@@ -1037,5 +1037,3 @@ function bbp_force_comment_status( $open, $post_id = 0 ) {
// Allow override of the override
return apply_filters( 'bbp_force_comment_status', $retval, $open, $post_id, $post_type );
}
-
-?>
View
2  bbp-includes/bbp-topic-functions.php
@@ -3184,5 +3184,3 @@ function bbp_check_topic_tag_edit() {
exit();
}
}
-
-?>
View
2  bbp-includes/bbp-topic-template.php
@@ -3497,5 +3497,3 @@ function bbp_get_form_topic_edit_reason() {
return apply_filters( 'bbp_get_form_topic_edit_reason', esc_attr( $topic_edit_reason ) );
}
-
-?>
View
2  bbp-includes/bbp-user-functions.php
@@ -1401,5 +1401,3 @@ function bbp_check_user_edit() {
exit();
}
}
-
-?>
View
2  bbp-includes/bbp-user-options.php
@@ -279,5 +279,3 @@ function bbp_get_user_last_posted( $user_id = 0 ) {
return apply_filters( 'bbp_get_user_last_posted', $time, $user_id );
}
-
-?>
View
2  bbp-includes/bbp-user-template.php
@@ -1529,5 +1529,3 @@ function bbp_current_user_can_access_create_reply_form() {
// Allow access to be filtered
return (bool) apply_filters( 'bbp_current_user_can_access_create_reply_form', (bool) $retval );
}
-
-?>
View
2  bbp-includes/index.php
@@ -3,5 +3,3 @@
/**
* Do not modify the files in this folder.
*/
-
-?>
View
2  bbp-languages/index.php
@@ -5,5 +5,3 @@
*
* Keep custom bbPress translations in /wp-content/languages/bbpress/
*/
-
-?>
View
2  bbp-theme-compat/bbpress-functions.php
@@ -360,5 +360,3 @@ public function ajax_subscription() {
}
new BBP_Default();
endif;
-
-?>
View
2  bbp-themes/bbp-twentyten/bbpress-functions.php
@@ -305,5 +305,3 @@ public function ajax_subscription() {
}
new BBP_Twenty_Ten();
endif;
-
-?>
View
2  bbp-themes/index.php
@@ -5,5 +5,3 @@
*
* Keep custom bbPress themes in /wp-content/themes/
*/
-
-?>
View
2  bbpress.php
@@ -911,5 +911,3 @@ function bbpress() {
}
endif; // class_exists check
-
-?>
View
2  index.php
@@ -3,5 +3,3 @@
/**
* Do not modify the files in this folder.
*/
-
-?>
Please sign in to comment.
Something went wrong with that request. Please try again.