Changeset 38957
- Timestamp:
- 10/26/2016 02:36:06 PM (8 years ago)
- Location:
- trunk/src/wp-admin/network
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-themes.php
r38824 r38957 133 133 * @since 4.7.0 134 134 * 135 * @param string $re fererThe redirect URL.136 * @param string $action The action being taken.137 * @param array $ themes The themes to take the action on.138 * @param int $site_id The current site id135 * @param string $redirect_url The redirect URL. 136 * @param string $action The action being taken. 137 * @param array $items The items to take the action on. 138 * @param int $site_id The site id. 139 139 */ 140 $referer = apply_filters( 'handle_ 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 ); 141 141 } else { 142 142 $action = 'error'; -
trunk/src/wp-admin/network/site-users.php
r38824 r38957 171 171 check_admin_referer( 'bulk-users' ); 172 172 $userids = $_REQUEST['users']; 173 /** 174 * Fires when a custom bulk action should be handled. 175 * 176 * The redirect link should be modified with success or failure feedback 177 * from the action to be used to display feedback to the user. 178 * 179 * @since 4.7.0 180 * 181 * @param string $referer The redirect URL. 182 * @param string $action The action being taken. 183 * @param array $userids The users to take the action on. 184 * @param int $id The id of the current site 185 */ 186 $referer = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $referer, $action, $userids, $id ); 173 /** This action is documented in wp-admin/network/site-themes.php */ 174 $referer = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $referer, $action, $userids, $id ); 187 175 $update = $action; 188 176 break; -
trunk/src/wp-admin/network/sites.php
r38824 r38957 161 161 $redirect_to = wp_get_referer(); 162 162 $blogs = (array) $_POST['allblogs']; 163 /** 164 * Fires when a custom bulk action should be handled. 165 * 166 * The redirect link should be modified with success or failure feedback 167 * from the action to be used to display feedback to the user. 168 * 169 * @since 4.7.0 170 * 171 * @param string $redirect_to The redirect URL. 172 * @param string $doaction The action being taken. 173 * @param array $blogs The blogs to take the action on. 174 * @param int $site_id The current site id. 175 */ 176 $redirect_to = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $blogs, $id ); 163 /** This action is documented in wp-admin/network/site-themes.php */ 164 $redirect_to = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $blogs, $id ); 177 165 wp_safe_redirect( $redirect_to ); 178 166 exit(); -
trunk/src/wp-admin/network/themes.php
r38721 r38957 201 201 check_admin_referer( 'bulk-themes' ); 202 202 203 /** 204 * Fires when a custom bulk action should be handled. 205 * 206 * The redirect link should be modified with success or failure feedback 207 * from the action to be used to display feedback to the user. 208 * 209 * @since 4.7.0 210 * 211 * @param string $referer The redirect URL. 212 * @param string $action The action being taken. 213 * @param array $themes The themes to take the action on. 214 */ 215 $referer = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $referer, $action, $themes ); 203 /** This action is documented in wp-admin/network/site-themes.php */ 204 $referer = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $referer, $action, $themes ); 216 205 217 206 wp_safe_redirect( $referer ); -
trunk/src/wp-admin/network/users.php
r38814 r38957 95 95 96 96 $user_ids = (array) $_POST['allusers']; 97 /** 98 * Fires when a custom bulk action should be handled. 99 * 100 * The sendback link should be modified with success or failure feedback 101 * from the action to be used to display feedback to the user. 102 * 103 * @since 4.7.0 104 * 105 * @param string $sendback The redirect URL. 106 * @param string $doaction The action being taken. 107 * @param array $user_ids The users to take the action on. 108 */ 109 $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $user_ids ); 97 /** This action is documented in wp-admin/network/site-themes.php */ 98 $sendback = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $user_ids ); 110 99 111 100 wp_safe_redirect( $sendback );
Note: See TracChangeset
for help on using the changeset viewer.