Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/08/2013 03:24:24 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Remove stripslashes_deep() copy-pasta in bp-notifications-template.php. See #5148.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-notifications/bp-notifications-template.php

    r7523 r7524  
    432432         */
    433433        function bp_get_the_notification_item_id() {
    434                 return apply_filters( 'bp_get_the_notification_item_id', stripslashes_deep( buddypress()->notifications->query_loop->notification->item_id ) );
     434                return apply_filters( 'bp_get_the_notification_item_id', buddypress()->notifications->query_loop->notification->item_id );
    435435        }
    436436
     
    451451         */
    452452        function bp_get_the_notification_secondary_item_id() {
    453                 return apply_filters( 'bp_get_the_notification_secondary_item_id', stripslashes_deep( buddypress()->notifications->query_loop->notification->secondary_item_id ) );
     453                return apply_filters( 'bp_get_the_notification_secondary_item_id', buddypress()->notifications->query_loop->notification->secondary_item_id );
    454454        }
    455455
     
    470470         */
    471471        function bp_get_the_notification_component_name() {
    472                 return apply_filters( 'bp_get_the_notification_component_name', stripslashes_deep( buddypress()->notifications->query_loop->notification->component_name ) );
     472                return apply_filters( 'bp_get_the_notification_component_name', buddypress()->notifications->query_loop->notification->component_name );
    473473        }
    474474
     
    489489         */
    490490        function bp_get_the_notification_component_action() {
    491                 return apply_filters( 'bp_get_the_notification_component_action', stripslashes_deep( buddypress()->notifications->query_loop->notification->component_action ) );
     491                return apply_filters( 'bp_get_the_notification_component_action', buddypress()->notifications->query_loop->notification->component_action );
    492492        }
    493493
     
    508508         */
    509509        function bp_get_the_notification_date_notified() {
    510                 return apply_filters( 'bp_get_the_notification_date_notified', stripslashes_deep( buddypress()->notifications->query_loop->notification->date_notified ) );
     510                return apply_filters( 'bp_get_the_notification_date_notified', buddypress()->notifications->query_loop->notification->date_notified );
    511511        }
    512512
Note: See TracChangeset for help on using the changeset viewer.