Ticket #45317: 45317.3.diff
| File 45317.3.diff, 35.9 KB (added by , 7 years ago) |
|---|
-
src/js/_enqueues/admin/edit-comments.js
536 536 // the comment is currently pending 537 537 } else if ( unapproved ) { 538 538 pendingDiff = -1; 539 // the comment was in the trash539 // the comment was in the Trash 540 540 } else if ( trashed ) { 541 541 trashDiff = -1; 542 542 } … … 578 578 } else if ( spammed ) { 579 579 spamDiff = -1; 580 580 } 581 // you can't trash an item on the trash screen581 // you can't trash an item on the Trash screen 582 582 trashDiff = 1; 583 583 584 584 // user clicked "Restore" … … 594 594 pendingDiff = 1; 595 595 } 596 596 } 597 // you can't go from trash to spam598 // you can untrash on the trash screen597 // you can't go from Trash to spam 598 // you can untrash on the Trash screen 599 599 trashDiff = -1; 600 600 601 601 // User clicked "Approve" -
src/js/_enqueues/wp/customize/widgets.js
1859 1859 removedControl.container.remove(); 1860 1860 } 1861 1861 1862 // Move widget to inactive widgets sidebar ( move it to trash) if has been previously saved1862 // Move widget to inactive widgets sidebar (Move it to Trash) if has been previously saved 1863 1863 // This prevents the inactive widgets sidebar from overflowing with throwaway widgets 1864 1864 if ( api.Widgets.savedWidgetIds[removedWidgetId] ) { 1865 1865 inactiveWidgets = api.value( 'sidebars_widgets[wp_inactive_widgets]' )().slice(); -
src/js/media/views/attachment/details.js
120 120 }, 121 121 122 122 /** 123 * Sets the trash state on an attachment, or destroys the model itself.123 * Sets the Trash state on an attachment, or destroys the model itself. 124 124 * 125 125 * If the mediaTrash setting is set to true, trashes the attachment. 126 126 * Otherwise, the model itself is destroyed. … … 138 138 139 139 this.getFocusableElements(); 140 140 141 // When in the Media Library and the Media trash is enabled.141 // When in the Media Library and the Media Trash is enabled. 142 142 if ( wp.media.view.settings.mediaTrash && 143 143 'edit-metadata' === this.controller.content.mode() ) { 144 144 -
src/wp-admin/admin.php
93 93 94 94 auth_redirect(); 95 95 96 // Schedule trash collection96 // Schedule Trash collection 97 97 if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() ) { 98 98 wp_schedule_event( time(), 'daily', 'wp_scheduled_delete' ); 99 99 } -
src/wp-admin/edit.php
81 81 } 82 82 83 83 if ( 'delete_all' === $doaction ) { 84 // Prepare for deletion of all posts with a specified post status (i.e. Empty trash).84 // Prepare for deletion of all posts with a specified post status (i.e. Empty Trash). 85 85 $post_status = preg_replace( '/[^a-z0-9_-]+/i', '', $_REQUEST['post_status'] ); 86 86 // Validate the post status exists. 87 87 if ( get_post_status_object( $post_status ) ) { … … 240 240 '<ul>' . 241 241 '<li>' . __( '<strong>Edit</strong> takes you to the editing screen for that post. You can also reach that screen by clicking on the post title.' ) . '</li>' . 242 242 '<li>' . __( '<strong>Quick Edit</strong> provides inline access to the metadata of your post, allowing you to update post details without leaving this screen.' ) . '</li>' . 243 '<li>' . __( '<strong>Trash</strong> removes your post from this list and places it in the trash, from which you can permanently delete it.' ) . '</li>' .243 '<li>' . __( '<strong>Trash</strong> removes your post from this list and places it in the Trash, from which you can permanently delete it.' ) . '</li>' . 244 244 '<li>' . __( '<strong>Preview</strong> will show you what your draft post will look like if you publish it. View will take you to your live site to view the post. Which link is available depends on your post’s status.' ) . '</li>' . 245 245 '</ul>', 246 246 ) … … 250 250 'id' => 'bulk-actions', 251 251 'title' => __( 'Bulk Actions' ), 252 252 'content' => 253 '<p>' . __( 'You can also edit or move multiple posts to the trash at once. Select the posts you want to act on using the checkboxes, then select the action you want to take from the Bulk Actions menu and click Apply.' ) . '</p>' .253 '<p>' . __( 'You can also edit or move multiple posts to the Trash at once. Select the posts you want to act on using the checkboxes, then select the action you want to take from the Bulk Actions menu and click Apply.' ) . '</p>' . 254 254 '<p>' . __( 'When using Bulk Edit, you can change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears.' ) . '</p>', 255 255 ) 256 256 ); -
src/wp-admin/includes/ajax-actions.php
716 716 717 717 $r = wp_untrash_comment( $comment ); 718 718 719 if ( ! isset( $_POST['comment_status'] ) || $_POST['comment_status'] != 'trash' ) { // undo trash, not in trash719 if ( ! isset( $_POST['comment_status'] ) || $_POST['comment_status'] != 'trash' ) { // undo trash, not in Trash 720 720 $delta = 1; 721 721 } 722 722 } elseif ( isset( $_POST['spam'] ) && 1 == $_POST['spam'] ) { … … 858 858 } 859 859 860 860 /** 861 * Ajax handler for sending a post to the trash.861 * Ajax handler for sending a post to the Trash. 862 862 * 863 863 * @since 3.1.0 864 864 * … … 894 894 } 895 895 896 896 /** 897 * Ajax handler to restore a post from the trash.897 * Ajax handler to restore a post from the Trash. 898 898 * 899 899 * @since 3.1.0 900 900 * -
src/wp-admin/includes/class-wp-posts-list-table.php
493 493 494 494 /* 495 495 * Return if the post type doesn't have post formats, or there are no posts using formats, 496 * or if we're in the trash.496 * or if we're in the Trash. 497 497 */ 498 498 if ( ! is_object_in_taxonomy( $post_type, 'post_format' ) || ! $used_post_formats || $this->is_trash ) { 499 499 return; -
src/wp-admin/includes/template.php
523 523 } 524 524 525 525 /** 526 * Output 'undo move to trash' text for comments526 * Output 'undo move to Trash' text for comments 527 527 * 528 528 * @since 2.9.0 529 529 */ … … 533 533 <div class="trash-undo-inside"> 534 534 <?php 535 535 /* translators: %s: Comment author, filled by AJAX. */ 536 printf( __( 'Comment by %s moved to the trash.' ), '<strong></strong>' );536 printf( __( 'Comment by %s moved to the Trash.' ), '<strong></strong>' ); 537 537 ?> 538 538 <span class="undo untrash"><a href="#"><?php _e( 'Undo' ); ?></a></span> 539 539 </div> -
src/wp-admin/options-discussion.php
206 206 <tr> 207 207 <th scope="row"><?php _e( 'Comment Blacklist' ); ?></th> 208 208 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Comment Blacklist' ); ?></span></legend> 209 <p><label for="blacklist_keys"><?php _e( 'When a comment contains any of these words in its content, name, URL, email, or IP address, it will be put in the trash. One word or IP address per line. It will match inside words, so “press” will match “WordPress”.' ); ?></label></p>209 <p><label for="blacklist_keys"><?php _e( 'When a comment contains any of these words in its content, name, URL, email, or IP address, it will be put in the Trash. One word or IP address per line. It will match inside words, so “press” will match “WordPress”.' ); ?></label></p> 210 210 <p> 211 211 <textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php echo esc_textarea( get_option( 'blacklist_keys' ) ); ?></textarea> 212 212 </p> -
src/wp-admin/options-privacy.php
101 101 'page_for_privacy_policy', 102 102 sprintf( 103 103 /* translators: URL to Pages Trash. */ 104 __( 'The currently selected Privacy Policy page is in the trash. Please create or select a new Privacy Policy page or <a href="%s">restore the current page</a>.' ),104 __( 'The currently selected Privacy Policy page is in the Trash. Please create or select a new Privacy Policy page or <a href="%s">restore the current page</a>.' ), 105 105 'edit.php?post_status=trash&post_type=page' 106 106 ), 107 107 'error' -
src/wp-admin/upload.php
326 326 if ( ! empty( $_GET['trashed'] ) && absint( $_GET['trashed'] ) ) { 327 327 $trashed = absint( $_GET['trashed'] ); 328 328 if ( 1 == $trashed ) { 329 $message = __( 'Media file moved to the trash.' );329 $message = __( 'Media file moved to the Trash.' ); 330 330 } else { 331 331 /* translators: %s: Number of media files. */ 332 $message = _n( '%s media file moved to the trash.', '%s media files moved to the trash.', $trashed );332 $message = _n( '%s media file moved to the Trash.', '%s media files moved to the Trash.', $trashed ); 333 333 } 334 334 $message = sprintf( $message, number_format_i18n( $trashed ) ); 335 335 $message .= ' <a href="' . esc_url( wp_nonce_url( 'upload.php?doaction=undo&action=untrash&ids=' . ( isset( $_GET['ids'] ) ? $_GET['ids'] : '' ), 'bulk-media' ) ) . '">' . __( 'Undo' ) . '</a>'; … … 339 339 if ( ! empty( $_GET['untrashed'] ) && absint( $_GET['untrashed'] ) ) { 340 340 $untrashed = absint( $_GET['untrashed'] ); 341 341 if ( 1 == $untrashed ) { 342 $message = __( 'Media file restored from the trash.' );342 $message = __( 'Media file restored from the Trash.' ); 343 343 } else { 344 344 /* translators: %s: Number of media files. */ 345 $message = _n( '%s media file restored from the trash.', '%s media files restored from the trash.', $untrashed );345 $message = _n( '%s media file restored from the Trash.', '%s media files restored from the Trash.', $untrashed ); 346 346 } 347 347 $message = sprintf( $message, number_format_i18n( $untrashed ) ); 348 348 $_SERVER['REQUEST_URI'] = remove_query_arg( array( 'untrashed' ), $_SERVER['REQUEST_URI'] ); … … 351 351 $messages[1] = __( 'Media file updated.' ); 352 352 $messages[2] = __( 'Media file permanently deleted.' ); 353 353 $messages[3] = __( 'Error saving media file.' ); 354 $messages[4] = __( 'Media file moved to the trash.' ) . ' <a href="' . esc_url( wp_nonce_url( 'upload.php?doaction=undo&action=untrash&ids=' . ( isset( $_GET['ids'] ) ? $_GET['ids'] : '' ), 'bulk-media' ) ) . '">' . __( 'Undo' ) . '</a>';355 $messages[5] = __( 'Media file restored from the trash.' );354 $messages[4] = __( 'Media file moved to the Trash.' ) . ' <a href="' . esc_url( wp_nonce_url( 'upload.php?doaction=undo&action=untrash&ids=' . ( isset( $_GET['ids'] ) ? $_GET['ids'] : '' ), 'bulk-media' ) ) . '">' . __( 'Undo' ) . '</a>'; 355 $messages[5] = __( 'Media file restored from the Trash.' ); 356 356 357 357 if ( ! empty( $_GET['message'] ) && isset( $messages[ $_GET['message'] ] ) ) { 358 358 $message = $messages[ $_GET['message'] ]; -
src/wp-includes/class-wp-customize-manager.php
2494 2494 $this->dismiss_user_auto_draft_changesets(); 2495 2495 } 2496 2496 2497 // Note that if the changeset status was publish, then it will get set to trash if revisions are not supported.2497 // Note that if the changeset status was publish, then it will get set to Trash if revisions are not supported. 2498 2498 $response['changeset_status'] = $changeset_post->post_status; 2499 2499 if ( $is_publish && 'trash' === $response['changeset_status'] ) { 2500 2500 $response['changeset_status'] = 'publish'; -
src/wp-includes/class-wp-post-type.php
250 250 /** 251 251 * Whether to delete posts of this type when deleting a user. 252 252 * 253 * If true, posts of this type belonging to the user will be moved to trash when then user is deleted.253 * If true, posts of this type belonging to the user will be moved to Trash when then user is deleted. 254 254 * If false, posts of this type belonging to the user will *not* be trashed or deleted. 255 255 * If not set (the default), posts are trashed if post_type_supports( 'author' ). 256 256 * Otherwise posts are not trashed or deleted. Default null. -
src/wp-includes/class-wp-xmlrpc-server.php
3638 3638 /** 3639 3639 * Delete a comment. 3640 3640 * 3641 * By default, the comment will be moved to the trash instead of deleted.3641 * By default, the comment will be moved to the Trash instead of deleted. 3642 3642 * See wp_delete_comment() for more information on this behavior. 3643 3643 * 3644 3644 * @since 2.7.0 -
src/wp-includes/comment.php
1345 1345 /** 1346 1346 * Trashes or deletes a comment. 1347 1347 * 1348 * The comment is moved to trash instead of permanently deleted unless trash is1349 * disabled, item is already in the trash, or $force_delete is true.1348 * The comment is moved to Trash instead of permanently deleted unless Trash is 1349 * disabled, item is already in the Trash, or $force_delete is true. 1350 1350 * 1351 1351 * The post comment count will be updated if the comment was approved and has a 1352 1352 * post ID available. … … 1356 1356 * @global wpdb $wpdb WordPress database abstraction object. 1357 1357 * 1358 1358 * @param int|WP_Comment $comment_id Comment ID or WP_Comment object. 1359 * @param bool $force_delete Whether to bypass trash and force deletion. Default is false.1359 * @param bool $force_delete Whether to bypass Trash and force deletion. Default is false. 1360 1360 * @return bool True on success, false on failure. 1361 1361 */ 1362 1362 function wp_delete_comment( $comment_id, $force_delete = false ) { … … 1426 1426 /** 1427 1427 * Moves a comment to the Trash 1428 1428 * 1429 * If trash is disabled, comment is permanently deleted.1429 * If Trash is disabled, comment is permanently deleted. 1430 1430 * 1431 1431 * @since 2.9.0 1432 1432 * -
src/wp-includes/link-template.php
1445 1445 * 1446 1446 * @param int|WP_Post $id Optional. Post ID or post object. Default is the global `$post`. 1447 1447 * @param string $deprecated Not used. 1448 * @param bool $force_delete Optional. Whether to bypass trash and force deletion. Default false.1448 * @param bool $force_delete Optional. Whether to bypass Trash and force deletion. Default false. 1449 1449 * @return string|void The delete post link URL for the given post. 1450 1450 */ 1451 1451 function get_delete_post_link( $id = 0, $deprecated = '', $force_delete = false ) { … … 1478 1478 * 1479 1479 * @param string $link The delete link. 1480 1480 * @param int $post_id Post ID. 1481 * @param bool $force_delete Whether to bypass the trash and force deletion. Default false.1481 * @param bool $force_delete Whether to bypass the Trash and force deletion. Default false. 1482 1482 */ 1483 1483 return apply_filters( 'get_delete_post_link', wp_nonce_url( $delete_link, "$action-post_{$post->ID}" ), $post->ID, $force_delete ); 1484 1484 } -
src/wp-includes/post.php
1376 1376 * ?{query_var_string}={post_slug} will be valid. 1377 1377 * @type bool $can_export Whether to allow this post type to be exported. Default true. 1378 1378 * @type bool $delete_with_user Whether to delete posts of this type when deleting a user. If true, 1379 * posts of this type belonging to the user will be moved to trash1379 * posts of this type belonging to the user will be moved to Trash 1380 1380 * when then user is deleted. If false, posts of this type belonging 1381 1381 * to the user will *not* be trashed or deleted. If not set (the default), 1382 1382 * posts are trashed if post_type_supports('author'). Otherwise posts … … 1615 1615 * - `view_items` - Label for viewing post type archives. Default is 'View Posts' / 'View Pages'. 1616 1616 * - `search_items` - Label for searching plural items. Default is 'Search Posts' / 'Search Pages'. 1617 1617 * - `not_found` - Label used when no items are found. Default is 'No posts found' / 'No pages found'. 1618 * - `not_found_in_trash` - Label used when no items are in the trash. Default is 'No posts found in Trash' /1618 * - `not_found_in_trash` - Label used when no items are in the Trash. Default is 'No posts found in Trash' / 1619 1619 * 'No pages found in Trash'. 1620 1620 * - `parent_item_colon` - Label used to prefix parents of hierarchical items. Not used on non-hierarchical 1621 1621 * post types. Default is 'Parent Page:'. … … 2897 2897 * it is deleted also. This includes comments, post meta fields, and terms 2898 2898 * associated with the post. 2899 2899 * 2900 * The post or page is moved to trash instead of permanently deleted unless2901 * trash is disabled, item is already in the trash, or $force_delete is true.2900 * The post or page is moved to Trash instead of permanently deleted unless 2901 * Trash is disabled, item is already in the Trash, or $force_delete is true. 2902 2902 * 2903 2903 * @since 1.0.0 2904 2904 * … … 2907 2907 * @see wp_trash_post() 2908 2908 * 2909 2909 * @param int $postid Optional. Post ID. Default 0. 2910 * @param bool $force_delete Optional. Whether to bypass trash and force deletion.2910 * @param bool $force_delete Optional. Whether to bypass Trash and force deletion. 2911 2911 * Default false. 2912 2912 * @return WP_Post|false|null Post data on success, false or null on failure. 2913 2913 */ … … 2937 2937 * 2938 2938 * @param bool $delete Whether to go forward with deletion. 2939 2939 * @param WP_Post $post Post object. 2940 * @param bool $force_delete Whether to bypass the trash.2940 * @param bool $force_delete Whether to bypass the Trash. 2941 2941 */ 2942 2942 $check = apply_filters( 'pre_delete_post', null, $post, $force_delete ); 2943 2943 if ( null !== $check ) { … … 3074 3074 /** 3075 3075 * Move a post or page to the Trash 3076 3076 * 3077 * If trash is disabled, the post or page is permanently deleted.3077 * If Trash is disabled, the post or page is permanently deleted. 3078 3078 * 3079 3079 * @since 2.9.0 3080 3080 * … … 3113 3113 } 3114 3114 3115 3115 /** 3116 * Fires before a post is sent to the trash.3116 * Fires before a post is sent to the Trash. 3117 3117 * 3118 3118 * @since 3.3.0 3119 3119 * … … 3138 3138 wp_trash_post_comments( $post_id ); 3139 3139 3140 3140 /** 3141 * Fires after a post is sent to the trash.3141 * Fires after a post is sent to the Trash. 3142 3142 * 3143 3143 * @since 2.9.0 3144 3144 * … … 3182 3182 } 3183 3183 3184 3184 /** 3185 * Fires before a post is restored from the trash.3185 * Fires before a post is restored from the Trash. 3186 3186 * 3187 3187 * @since 2.9.0 3188 3188 * … … 3209 3209 wp_untrash_post_comments( $post_id ); 3210 3210 3211 3211 /** 3212 * Fires after a post is restored from the trash.3212 * Fires after a post is restored from the Trash. 3213 3213 * 3214 3214 * @since 2.9.0 3215 3215 * … … 3221 3221 } 3222 3222 3223 3223 /** 3224 * Moves comments for a post to the trash.3224 * Moves comments for a post to the Trash. 3225 3225 * 3226 3226 * @since 2.9.0 3227 3227 * … … 3241 3241 $post_id = $post->ID; 3242 3242 3243 3243 /** 3244 * Fires before comments are sent to the trash.3244 * Fires before comments are sent to the Trash. 3245 3245 * 3246 3246 * @since 2.9.0 3247 3247 * … … 3267 3267 clean_comment_cache( array_keys( $statuses ) ); 3268 3268 3269 3269 /** 3270 * Fires after comments are sent to the trash.3270 * Fires after comments are sent to the Trash. 3271 3271 * 3272 3272 * @since 2.9.0 3273 3273 * … … 3280 3280 } 3281 3281 3282 3282 /** 3283 * Restore comments for a post from the trash.3283 * Restore comments for a post from the Trash. 3284 3284 * 3285 3285 * @since 2.9.0 3286 3286 * … … 3306 3306 } 3307 3307 3308 3308 /** 3309 * Fires before comments are restored for a post from the trash.3309 * Fires before comments are restored for a post from the Trash. 3310 3310 * 3311 3311 * @since 2.9.0 3312 3312 * … … 3334 3334 delete_post_meta( $post_id, '_wp_trash_meta_comments_status' ); 3335 3335 3336 3336 /** 3337 * Fires after comments are restored for a post from the trash.3337 * Fires after comments are restored for a post from the Trash. 3338 3338 * 3339 3339 * @since 2.9.0 3340 3340 * … … 5531 5531 * Deletion removes all post meta fields, taxonomy, comments, etc. associated 5532 5532 * with the attachment (except the main post). 5533 5533 * 5534 * The attachment is moved to the trash instead of permanently deleted unless trash5535 * for media is disabled, item is already in the trash, or $force_delete is true.5534 * The attachment is moved to the Trash instead of permanently deleted unless Trash 5535 * for media is disabled, item is already in the Trash, or $force_delete is true. 5536 5536 * 5537 5537 * @since 2.0.0 5538 5538 * … … 5539 5539 * @global wpdb $wpdb WordPress database abstraction object. 5540 5540 * 5541 5541 * @param int $post_id Attachment ID. 5542 * @param bool $force_delete Optional. Whether to bypass trash and force deletion.5542 * @param bool $force_delete Optional. Whether to bypass Trash and force deletion. 5543 5543 * Default false. 5544 5544 * @return WP_Post|false|null Post data on success, false or null on failure. 5545 5545 */ -
src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
99 99 'force' => array( 100 100 'type' => 'boolean', 101 101 'default' => false, 102 'description' => __( 'Whether to bypass trash and force deletion.' ),102 'description' => __( 'Whether to bypass Trash and force deletion.' ), 103 103 ), 104 104 'password' => array( 105 105 'description' => __( 'The password for the parent post of the comment (if the post is password protected).' ), … … 820 820 /** 821 821 * Filters whether a comment can be trashed. 822 822 * 823 * Return false to disable trash support for the post.823 * Return false to disable Trash support for the post. 824 824 * 825 825 * @since 4.7.0 826 826 * -
src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
117 117 'force' => array( 118 118 'type' => 'boolean', 119 119 'default' => false, 120 'description' => __( 'Whether to bypass trash and force deletion.' ),120 'description' => __( 'Whether to bypass Trash and force deletion.' ), 121 121 ), 122 122 ), 123 123 ), … … 810 810 * 811 811 * The dynamic portion of the hook name, `$this->post_type`, refers to the post type slug. 812 812 * 813 * Pass false to disable trash support for the post.813 * Pass false to disable Trash support for the post. 814 814 * 815 815 * @since 4.7.0 816 816 * … … 849 849 } 850 850 851 851 // (Note that internally this falls through to `wp_delete_post` if 852 // the trash is disabled.)852 // the Trash is disabled.) 853 853 $result = wp_trash_post( $id ); 854 854 $post = get_post( $id ); 855 855 $response = $this->prepare_item_for_response( $post, $request ); -
src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
427 427 * 428 428 * @since 4.7.0 429 429 * 430 * @param (mixed) $result The revision object (if it was deleted or moved to the trash successfully)431 * or false (failure). If the revision was moved to the trash, $result represents430 * @param (mixed) $result The revision object (if it was deleted or moved to the Trash successfully) 431 * or false (failure). If the revision was moved to the Trash, $result represents 432 432 * its new state; if it was deleted, $result represents its state before deletion. 433 433 * @param WP_REST_Request $request The request sent to the API. 434 434 */ -
src/wp-includes/script-loader.php
1253 1253 'upload_stopped' => __( 'Upload stopped.' ), 1254 1254 'dismiss' => __( 'Dismiss' ), 1255 1255 'crunching' => __( 'Crunching…' ), 1256 'deleted' => __( ' moved to the trash.' ),1256 'deleted' => __( 'Moved to the Trash.' ), 1257 1257 /* translators: %s: File name. */ 1258 1258 'error_uploading' => __( '“%s” has failed to upload.' ), 1259 1259 ); -
tests/phpunit/data/formatting/whole-posts.php
52 52 Cu bonorum graecis ius. Duo id ancillae probatus. Tota latine pri an. Cum ei iudico semper. Eum in blandit voluptaria. 53 53 54 54 Illud debet vitae ex vis numquam.'), 55 55 56 56 /* DIVIDER */ 57 57 58 58 // based on https://core.trac.wordpress.org/attachment/ticket/29557/ChatTranscript.txt … … 445 445 <p class="triangle-right left">A very significant, if unsurprising update. 446 446 blown away</p> 447 447 <img class="alignleft" src="http://www.example.com/postimages/2013/aarone.jpeg" alt="" width="50" height="50" /> 448 <p class="triangle-right lefttwo">Blown away by the trash can.</p>448 <p class="triangle-right lefttwo">Blown away by the Trash can.</p> 449 449 <img class="alignleft" src="http://www.example.com/postimages/2013/bobm.jpeg" alt="" width="50" height="50" /> 450 450 <p class="triangle-right left">That is one powerful fan.</p> 451 451 <img class="alignright" src="http://www.example.com/postimages/2013/philipmetroid.jpg" alt="" width="50" height="50" /> … … 470 470 <p class="triangle-right right">We\'ll even sell you this case that matches to put your drives into!</p> 471 471 <img class="alignleft" src="http://www.example.com/postimages/2013/bobm.jpeg" alt="" width="50" height="50" /> 472 472 <p class="triangle-right left">For a single drive. 473 Who is going to be the first to mod a real trash can with a RAID array to Thunderbolt?</p>473 Who is going to be the first to mod a real Trash can with a RAID array to Thunderbolt?</p> 474 474 <img class="alignright" src="http://www.example.com/postimages/2013/philipmetroid.jpg" alt="" width="50" height="50" /> 475 475 <p class="triangle-right right">I can\'t wait to see the enclosures people make to go with this device.</p> 476 476 <img class="alignleft" src="http://www.example.com/postimages/2013/aarone.jpeg" alt="" width="50" height="50" /> 477 <p class="triangle-right lefttwo">Row of trash cans daisy chained together.</p>477 <p class="triangle-right lefttwo">Row of Trash cans daisy chained together.</p> 478 478 <img class="alignright" src="http://www.example.com/postimages/2013/philipmetroid.jpg" alt="" width="50" height="50" /> 479 479 <p class="triangle-right right">Packed and built for expansion.</p> 480 480 <img class="alignleft" src="http://www.example.com/postimages/2013/aarone.jpeg" alt="" width="50" height="50" /> … … 507 507 <p class="triangle-right left">Not terrible. However, now I need to price out the TOP OF THE LINE model and find out if it can cost more than my house. 508 508 Should be able to do it.</p> 509 509 <img class="alignright" src="http://www.example.com/postimages/2013/philipmetroid.jpg" alt="" width="50" height="50" /> 510 <p class="triangle-right right">SO RECYCLABLE that you can throw it into the trash... or use it as a trash can.</p>510 <p class="triangle-right right">SO RECYCLABLE that you can throw it into the Trash... or use it as a Trash can.</p> 511 511 <img class="alignleft" src="http://www.example.com/postimages/2013/aarone.jpeg" alt="" width="50" height="50" /> 512 512 <p class="triangle-right lefttwo">30k</p> 513 513 <img class="alignright" src="http://www.example.com/postimages/2013/philipmetroid.jpg" alt="" width="50" height="50" /> -
tests/qunit/fixtures/wp-api-generated.js
688 688 "force": { 689 689 "required": false, 690 690 "default": false, 691 "description": "Whether to bypass trash and force deletion.",691 "description": "Whether to bypass Trash and force deletion.", 692 692 "type": "boolean" 693 693 } 694 694 } … … 1497 1497 "force": { 1498 1498 "required": false, 1499 1499 "default": false, 1500 "description": "Whether to bypass trash and force deletion.",1500 "description": "Whether to bypass Trash and force deletion.", 1501 1501 "type": "boolean" 1502 1502 } 1503 1503 } … … 2249 2249 "force": { 2250 2250 "required": false, 2251 2251 "default": false, 2252 "description": "Whether to bypass trash and force deletion.",2252 "description": "Whether to bypass Trash and force deletion.", 2253 2253 "type": "boolean" 2254 2254 } 2255 2255 } … … 2562 2562 "force": { 2563 2563 "required": false, 2564 2564 "default": false, 2565 "description": "Whether to bypass trash and force deletion.",2565 "description": "Whether to bypass Trash and force deletion.", 2566 2566 "type": "boolean" 2567 2567 } 2568 2568 } … … 4210 4210 "force": { 4211 4211 "required": false, 4212 4212 "default": false, 4213 "description": "Whether to bypass trash and force deletion.",4213 "description": "Whether to bypass Trash and force deletion.", 4214 4214 "type": "boolean" 4215 4215 }, 4216 4216 "password": { -
tests/qunit/index.html
34 34 </script> 35 35 <script src="../../build/wp-includes/js/utils.js"></script> 36 36 <script> 37 window.pluploadL10n = {"queue_limit_exceeded":"You have attempted to queue too many files.","file_exceeds_size_limit":"%s exceeds the maximum upload size for this site.","zero_byte_file":"This file is empty. Please try another.","invalid_filetype":"Sorry, this file type is not permitted for security reasons.","not_an_image":"This file is not an image. Please try another.","image_memory_exceeded":"Memory exceeded. Please try another smaller file.","image_dimensions_exceeded":"This is larger than the maximum size. Please try another.","default_error":"An error occurred in the upload. Please try again later.","missing_upload_url":"There was a configuration error. Please contact the server administrator.","upload_limit_exceeded":"You may only upload 1 file.","http_error":"HTTP error.","upload_failed":"Upload failed.","big_upload_failed":"Please try uploading this file with the %1$sbrowser uploader%2$s.","big_upload_queued":"%s exceeds the maximum upload size for the multi-file uploader when used in your browser.","io_error":"IO error.","security_error":"Security error.","file_cancelled":"File canceled.","upload_stopped":"Upload stopped.","dismiss":"Dismiss","crunching":"Crunching\u2026","deleted":" moved to the trash.","error_uploading":"\u201c%s\u201d has failed to upload."};37 window.pluploadL10n = {"queue_limit_exceeded":"You have attempted to queue too many files.","file_exceeds_size_limit":"%s exceeds the maximum upload size for this site.","zero_byte_file":"This file is empty. Please try another.","invalid_filetype":"Sorry, this file type is not permitted for security reasons.","not_an_image":"This file is not an image. Please try another.","image_memory_exceeded":"Memory exceeded. Please try another smaller file.","image_dimensions_exceeded":"This is larger than the maximum size. Please try another.","default_error":"An error occurred in the upload. Please try again later.","missing_upload_url":"There was a configuration error. Please contact the server administrator.","upload_limit_exceeded":"You may only upload 1 file.","http_error":"HTTP error.","upload_failed":"Upload failed.","big_upload_failed":"Please try uploading this file with the %1$sbrowser uploader%2$s.","big_upload_queued":"%s exceeds the maximum upload size for the multi-file uploader when used in your browser.","io_error":"IO error.","security_error":"Security error.","file_cancelled":"File canceled.","upload_stopped":"Upload stopped.","dismiss":"Dismiss","crunching":"Crunching\u2026","deleted":"Moved to the Trash.","error_uploading":"\u201c%s\u201d has failed to upload."}; 38 38 window._wpPluploadSettings = {"defaults":{"runtimes":"html5,flash,silverlight,html4","file_data_name":"async-upload","url":"\/wp-admin\/async-upload.php","flash_swf_url":"http:\/\/src.wordpress-develop.dev\/wp-includes\/js\/plupload\/plupload.flash.swf","silverlight_xap_url":"http:\/\/src.wordpress-develop.dev\/wp-includes\/js\/plupload\/plupload.silverlight.xap","filters":{"max_file_size":"2097152b","mime_types":[{"extensions":"jpg,jpeg,jpe,gif,png,bmp,tiff,tif,ico,asf,asx,wmv,wmx,wm,avi,divx,flv,mov,qt,mpeg,mpg,mpe,mp4,m4v,ogv,webm,mkv,3gp,3gpp,3g2,3gp2,txt,asc,c,cc,h,srt,csv,tsv,ics,rtx,css,vtt,dfxp,mp3,m4a,m4b,ra,ram,wav,ogg,oga,mid,midi,wma,wax,mka,rtf,js,pdf,class,tar,zip,gz,gzip,rar,7z,psd,xcf,doc,pot,pps,ppt,wri,xla,xls,xlt,xlw,mdb,mpp,docx,docm,dotx,dotm,xlsx,xlsm,xlsb,xltx,xltm,xlam,pptx,pptm,ppsx,ppsm,potx,potm,ppam,sldx,sldm,onetoc,onetoc2,onetmp,onepkg,oxps,xps,odt,odp,ods,odg,odc,odb,odf,wp,wpd,key,numbers,pages"}]},"multipart_params":{"action":"upload-attachment","_wpnonce":"87fa5740b8"}},"browser":{"mobile":false,"supported":true},"limitExceeded":false}; 39 39 </script> 40 40 <script src="../../build/wp-includes/js/plupload/wp-plupload.js"></script>