Make WordPress Core

Ticket #39193: 39193.patch

File 39193.patch, 1.3 KB (added by ramiy, 9 years ago)
  • wp-admin/edit-comments.php

     
    9595                 * @param string $doaction     The action being taken.
    9696                 * @param array  $items        The items to take the action on.
    9797                 */
    98                 $redirect_to = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $comment_ids );
     98        $redirect_to = apply_filters( "handle_bulk_actions-{get_current_screen()->id}", $redirect_to, $doaction, $comment_ids );
    9999        }
    100100
    101101        wp_defer_comment_counting( false );
  • wp-admin/network/site-themes.php

     
    137137                                 * @param array  $items        The items to take the action on.
    138138                                 * @param int    $site_id      The site id.
    139139                                 */
    140                                 $referer = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $referer, $action, $themes, $id );
     140                                $referer = apply_filters( "handle_network_bulk_actions-{get_current_screen()->id}", $referer, $action, $themes, $id );
    141141                        } else {
    142142                                $action = 'error';
    143143                                $n = 'none';