Making WordPress.org

Ticket #6654: 6654.patch

File 6654.patch, 8.7 KB (added by viralsampat, 21 months ago)

I have checked above mentioned issue and founds few more files. I have applied its patch.

  • public_html/wp-content/plugins/bbpress-org/tools.php

     
    66 * @author johnjamesjacoby
    77 * @since 1.0.4
    88 * @return If not spamming a user
     9 *
     10 * @global wpdb $wpdb WordPress database object.
    911 */
    1012function bbporg_make_user_spammer() {
    1113
  • public_html/wp-content/plugins/buddypress-org/extensions.php

     
    3333
    3434/** User Search ***************************************************************/
    3535
     36/**
     37 * @global BuddyPress $bp BuddyPress global settings
     38 */
    3639function bporg_users_count_sql( $query, $search_terms ) {
    3740        global $bp;
    3841
     
    4043}
    4144add_filter( 'bp_core_search_users_count_sql', 'bporg_users_count_sql', 10, 2 );
    4245
     46/**
     47 * @global BuddyPress $bp BuddyPress global settings
     48 */
    4349function bporg_users_sql( $query, $search_terms, $pag_sql ) {
    4450        global $bp;
    4551
     
    166172        add_action( 'init', 'bporg_redirect', 1 ); // before bp_init
    167173}
    168174
     175/**
     176 * @global BuddyPress $bp BuddyPress global settings
     177 */
    169178function bporg_insert_at_mention( $content, $activity_obj ) {
    170179        global $bp;
    171180
     
    179188}
    180189add_filter( 'bp_activity_content_before_save', 'bporg_insert_at_mention', 10, 2 );
    181190
     191/**
     192 * @global BuddyPress $bp BuddyPress global settings
     193 */
    182194function bporg_activity_with_others_filter( $qs ) {
    183195        global $bp;
    184196
     
    196208}
    197209//add_filter( 'bp_ajax_querystring', 'bporg_activity_with_others_filter', 11 );
    198210
     211/**
     212 * @global BuddyPress $bp BuddyPress global settings
     213 */
    199214function bporg_fix_activity_redirect( $redirect, $activity ) {
    200215        global $bp;
    201216
  • public_html/wp-content/plugins/buddypress-org/toolbar.php

     
    331331 *
    332332 * @since BuddyPress (1.6)
    333333 * @todo Deprecate WP 3.2 Toolbar compatibility when we drop 3.2 support
     334 *
     335* @global $bp.
    334336 */
    335337function bporg_admin_bar_my_account_menu( $wp_admin_bar ) {
    336338        global $bp;
  • public_html/wp-content/themes/bb-base/functions-codex.php

     
    399399         * @since February 6, 2012
    400400         * @deprecated November 29, 2014
    401401         * @return Bail under certain conditions
     402         * @global $current_user.
     403         * @global $wp_roles.
    402404         */
    403405        public function autorole() {
    404406
  • public_html/wp-content/themes/codex-bbpress-org/footer.php

     
    1111
    1212                                                <?php
    1313
     14                                                /**
     15                                                 * @global $codex_contributors.
     16                                                 */
    1417                                                global $codex_contributors;
    1518
    1619                                                if ( count( $codex_contributors ) ) : ?>
  • public_html/wp-content/themes/codex-bbpress-org/front-page.php

     
    8989        </div>
    9090
    9191                <?php
     92                        /**
     93                         * @global WP_Post $post Global post object.
     94                         * @global $codex_contributors.
     95                         */
    9296                        global $post;
    9397
    9498                        $args         = array( 'order' => 'ASC', );
  • public_html/wp-content/themes/codex-bbpress-org/page.php

     
    2020                                <hr class="hidden" />
    2121
    2222<?php
     23        /**
     24         * @global WP_Post $post Global post object.
     25         * @global $codex_contributors.
     26         */
    2327        global $post;
    2428
    2529        $args         = array( 'order' => 'ASC', );
  • public_html/wp-content/themes/codex-bbpress-org/sidebar.php

     
    1212                </div>
    1313
    1414                <?php endif;
    15 
     15                /**
     16                 * @global WP_Post $post Global post object.
     17                 *
     18                 */
    1619                global $post;
    1720
    1821                $show_related = true;
  • public_html/wp-content/themes/codex-buddypress-org/activity-entry.php

     
    1 <?php /* This template is used by activity-loop.php and AJAX functions to show each activity */ ?>
     1<?php /* This template is used by activity-loop.php and AJAX functions to show each activity */
    22
     3/**
     4 * @global $activities_template.
     5 *
     6 */
     7
     8?>
     9
    310<?php do_action( 'bp_before_activity_entry' ) ?>
    411
    512<li class="<?php bp_activity_css_class() ?>" id="activity-<?php bp_activity_id() ?>">
  • public_html/wp-content/themes/codex-buddypress-org/footer.php

     
    1616                        <h3 class="title">Article Contributors</h3>
    1717
    1818                        <?php
    19 
     19                        /**
     20                         * @global WP_Post $post Global post object.
     21                         * @global $codex_contributors.
     22                         */
    2023                        global $codex_contributors, $post;
    2124
    2225                        if ( count( $codex_contributors ) ) {
  • public_html/wp-content/themes/codex-buddypress-org/front-page.php

     
    8989        </div>
    9090
    9191                <?php
     92                        /**
     93                         * @global WP_Post $post Global post object.
     94                         * @global $codex_contributors.
     95                         */
    9296                        global $post;
    9397
    9498                        $args         = array( 'order' => 'ASC', );
  • public_html/wp-content/themes/codex-buddypress-org/page.php

     
    2121<hr class="hidden" />
    2222
    2323<?php
     24
     25        /**
     26         * @global WP_Post $post Global post object.
     27         * @global $codex_contributors.
     28         */
     29
    2430        global $post;
    2531
    2632        $args         = array( 'order' => 'ASC', );
  • public_html/wp-content/themes/codex-buddypress-org/sidebar.php

     
    7272        </div>
    7373
    7474
    75         <?php if ( is_tax() ) {
     75        <?php
     76       
     77        /**
     78         * @global $codex_contributors.
     79         */
     80        if ( is_tax() ) {
    7681                global $codex_contributors;
    7782
    7883                if ( !empty( $codex_contributors ) ) {
  • public_html/wp-content/themes/codex-buddypress-org/widgets/inbox.php

     
    44                parent::__construct( false, $name = __( 'Inbox', 'bporg' ) );
    55        }
    66
     7        /**
     8         * @global BuddyPress $bp BuddyPress global settings
     9         */
    710        function widget( $args, $instance ) {
    811                global $bp;
    912
  • public_html/wp-content/themes/codex-buddypress-org/widgets/login.php

     
    44                parent::__construct( false, $name = __( "Login Form", 'bporg' ) );
    55        }
    66
     7        /**
     8         * @global BuddyPress $bp BuddyPress global settings
     9         */
    710        function widget( $args, $instance ) {
    811                global $bp;
    912