Changeset 30662
- Timestamp:
- 11/30/2014 09:22:07 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-signup.php
r30546 r30662 300 300 * @since MU 301 301 * 302 * @return bool True if blog signup was validated, false if error 302 * @return null|boolean True if blog signup was validated, false if error. 303 * The function halts all execution if the user is not logged in. 303 304 */ 304 305 function validate_another_blog_signup() { 305 306 global $wpdb, $blogname, $blog_title, $errors, $domain, $path; 306 307 $current_user = wp_get_current_user(); 307 if ( ! is_user_logged_in() )308 if ( ! is_user_logged_in() ) { 308 309 die(); 310 } 309 311 310 312 $result = validate_blog_form(); -
trunk/src/wp-trackback.php
r25616 r30662 21 21 * @since 0.71 22 22 * 23 * @param int|bool$error Whether there was an error.24 * Default '0'. Accepts '0' or '1'.25 * @param string 23 * @param mixed $error Whether there was an error. 24 * Default '0'. Accepts '0' or '1', true or false. 25 * @param string $error_message Error message if an error occurred. 26 26 */ 27 27 function trackback_response($error = 0, $error_message = '') {
Note: See TracChangeset
for help on using the changeset viewer.