Ticket #8890: 8890.6.patch
| File 8890.6.patch, 2.1 KB (added by , 3 years ago) |
|---|
-
bp-notifications-adminbar.php
17 17 * 18 18 * @since 1.9.0 19 19 * 20 * @ paramWP_Admin_Bar $wp_admin_bar WordPress object implementing a Toolbar API, passed by reference.20 * @global WP_Admin_Bar $wp_admin_bar WordPress object implementing a Toolbar API, passed by reference. 21 21 * 22 22 * @return bool 23 23 */ -
bp-notifications-functions.php
777 777 * 778 778 * @since 2.3.0 779 779 * 780 * @global wpdb $wpdb WordPress database object.781 *782 780 * @param int $notification_id ID of the notification item whose metadata is being deleted. 783 781 * @param string $meta_key Optional. The key of the metadata being deleted. If 784 782 * omitted, all metadata associated with the notification -
classes/class-bp-notifications-notification.php
915 915 * @param array $data Array of notification data to update. 916 916 * @param array $where The WHERE params to use to specify the item IDs to update. 917 917 * @return int|false The number of updated rows. False on error. 918 * 919 * @global wpdb $wpdb WordPress database object. 918 920 */ 919 921 public static function update_id_list( $field, $items = array(), $data = array(), $where = array() ) { 920 922 global $wpdb; … … 1012 1014 * @param int[] $items The list of items to delete. 1013 1015 * @param array $args The WHERE arguments to use to specify the item IDs to delete. 1014 1016 * @return int|false The number of deleted rows. False on error. 1017 * 1018 * @global wpdb $wpdb WordPress database object. 1015 1019 */ 1016 1020 public static function delete_by_id_list( $field, $items = array(), $args = array() ) { 1017 1021 global $wpdb;