| [22902]
|
ryan
|
Route uploads through async-upload.php instead of admin-ajax.php.
Props nacin, koopersmith
fixes #22622
|
| [22886]
|
ryan
|
Scope media views CSS fallbacks.
Props koopersmith
fixes #22616
|
| [22878]
|
ryan
|
Clear the object term relationships cache in wp_set_object_terms() rather than wp_set_post_terms(). This should be done lower in the stack than wp_set_post_terms().
Props batmoo
fixes #22560
|
| [22872]
|
ryan
|
Always send nocache_headers() for admin-ajax.php. This prevents iOS from caching ajax calls. http://stackoverflow.com/questions/12506897/is-safari-on-ios-6-caching-ajax-results
Turn off multi selection uploads for mobile devices. Currently Plupload cannot upload multiple files in iOS Safari. Only the first file makes it to the queue.
Empty wp on unload to work around caching in iOS Safari.
Props azaozz, miqrogroove, nacin
fixes #22552
|
| [22871]
|
ryan
|
Show plugin activation message when activating a network only plugin on a single site installation.
Props nacin
fixes #22576
|
| [22870]
|
ryan
|
Fix overflow of long filenames in the media modal.
Props koopersmith, GregLone
fixes #22554
|
| [22869]
|
ryan
|
Add a delete link to the media modal.
Props merty, nacin, koopersmith
fixes #22524
|
| [22868]
|
ryan
|
Don't use "embed" when referring to inserting from URL.
Props nacin
fixes #22603
|
| [22867]
|
ryan
|
Only show the image edit button for image attachments. Props markoheijnen. fixes #22596
|
| [22866]
|
ryan
|
Fix dragging in IE10 on touch devices.
Props georgestephanis, koopersmith
fixes #22583
|
| [22865]
|
ryan
|
Back compat $_REQUEST['post_id'] for media XHR requests.
Props koopersmith, nacin.
fixes #22588
|
| [22864]
|
ryan
|
Clean up WP_Image_Editor_Imagick::test(). Props DH-Shredder. see #22543
|
| [22863]
|
ryan
|
In wp_image_editor(), use wp_image_editor_supports() to check for rotation capabilities rather than directly checking the existence of the imagerotate function.
In WP_Image_Editor_GD::test(), check for existence of imagerotate if the rotate capability is required.
Props DH-Shredder
fixes #22597
|
| [22856]
|
ryan
|
Rather than question ourselves, exclaim!
Props PotterSys
see #22455
|
| [22855]
|
ryan
|
Show a better message ondmins on link-manager.php, link-add.php, link.php when links are disabled.
Props nacin
fixes #22569
|
| [22854]
|
ryan
|
Consolidate some strings. Props SergeyBiryukov. see #21087
|
| [22853]
|
ryan
|
In media_upload_flash_bypass(), pass the post id in the media-new.php url.
In media-new.php, use post_id from REQUEST if passed and the current user can edit the post.
Fixes adding media with the browser uploader.
Props nacin, ocean90
fixes #22572
|
| [22851]
|
ryan
|
Rename 'id' to 'state' in menu item view.
Props koopersmith
fixes #22594
|
| [22850]
|
ryan
|
Make wp_prepare_attachment_for_js() compatible with plugins that disable all intermediate image sizes (so no images are created on upload), and then create them on the fly using the image_downsize filter (say, with a URL that can dynamically create images on the fly).
Props nacin
fixes #22598
|
| [22849]
|
ryan
|
More feature detection in WP_Image_Editor_Imagick::test().
Check existence of setIteratorIndex().
Props DH-Shredder, markoheijnen
see #22543
|
| [22847]
|
ryan
|
In wp.media.editor:send, revert back to the old field names used by media_upload_form_handler() for easier back compat.
Fix notices in wp_ajax_send_attachment_to_editor().
Props nacin, azaozz, miqrogroove
fixes #22553
|
| [22846]
|
ryan
|
In media_buttons(), consult global post_ID if get_post() comes up with nothing.
Default postID to 0 in wp_enqueue_media().
Props nacin
fixes #22085
|
| [22842]
|
ryan
|
Correctly access the nonce to save attachment fields. Fixes firing attachment_fields_to_save.
Props koopersmith
fixes #22577
|
| [22841]
|
ryan
|
Always render the attachment compat view. Assures attachment_fields_to_edit is always fired.
Props koopersmith, Chouby
fixes #22578
|
| [22840]
|
ryan
|
Make is_upload_space_available() available for front end page loads. Fixes fatal error when calling wp_editor() from the front end.
Props scribu, itworx
fixes #22585
|
| [22831]
|
ryan
|
Gettext markup for a welcome screen string. Props SergeyBiryukov, xibe. fixes #22546
|
| [22830]
|
ryan
|
Handle attachments that have an empty mime type or a mime type without a subtype.
Props SergeyBiryukov
fixes #22532
|
| [22722]
|
ryan
|
Don't bail from get_the_terms() if the post type is not registed for the taxonomy. This can break back compat when add_post_type_support( 'page', 'post-formats' ) is called but register_taxonomy_for_object_type( 'postr_-format', 'page' ) is not.
Props SergeyBiryukov
fixes #22473
|
| [22635]
|
ryan
|
Always return a raw filtered post object from WP_Post::get_instance().
Props kovshenin, scribu, ntm
fixes #22448
|
| [22634]
|
ryan
|
Pinking shears
|
| [22622]
|
ryan
|
Define array to avoid notice.
Props ericmann
fixes #22479
|
| [22619]
|
ryan
|
Add abstract methods back to WP_Image_Editor and refresh phpdoc.
Props DH-Shredder, markoheijnen, kurtpayne, nacin
see #6821
|
| [22618]
|
ryan
|
Show the update nag in the network admin.
Props Mamaduka
fixes #20959
|
| [22553]
|
ryan
|
In wp_crop_image(), preserve both src_file and src. src_file must be preserved even when url fopen is used so that we don't try to save to a filename based on the url.
see #6821
|
| [22538]
|
ryan
|
Pass an attachment ID, not a file path, to _load_image_to_edit_path() from wp_crop_image(). This fixes handling of attachments that require url fopen to access the image.
Allow passing urls instead of just file paths to WP_Image_Editor_Imagick::load() and WP_Image_Editor_GD::load() so that attachments requiring URL fopen can be handled.
see #6821
|
| [22510]
|
ryan
|
WP_Image_Editor improvements.
* Make test() and supports_mime_type() static.
* Add required_methods argument to get_instance(). Allows requesting an implementation that has certain methods/capabilities.
* Whitespace cleanup
Props markoheijnen
see #6821
|
| [22470]
|
ryan
|
Update help text for color picker in custom header and background screens.
Props DrewAPicture
fixes #22393
|
| [22469]
|
ryan
|
Add SimplePie/Exception.php.
Props ocean90
fixes #22321
|
| [22468]
|
ryan
|
Don't show "Skip Cropping, Publish Image as Is" button for themes that do not support headers with flexible width or height. Forces too small images to be scaled to fit in the absence of flex support.
Props MadtownLems, kobenland
fixes #21100
|
| [22465]
|
ryan
|
If $this->posts is empty, don't do stuff to it.
Props wonderboymusic
fixes #22061
|
| [22434]
|
ryan
|
Don't assign wp_the_query to wp_query by reference. Removing the ref avoids accidentally stomping wp_the_query.
Props scribu, wpmuguru
fixes #22125
|
| [22421]
|
ryan
|
Call Imagick::queryformats() non-statically to preserve back compat with older versions of Imagick.
Props mpvanwinkle77
fixes #22308
see #6821
|
| [22419]
|
ryan
|
Use retina logo in install, upgrade, setup-config, repair, and confirmation screens.
Props kopepasah, SergeyBiryukov
fixes #22375
|
| [22418]
|
ryan
|
When using WP_User::set_role() to set the role, don't unset all caps when the requested role matches the current role.
Props scribu, jammitch
fixes #18932
|
| [22403]
|
ryan
|
Revert [22365]. see #21167
|
| [22388]
|
ryan
|
Update contextual help for 'Search Engine Visibility' to reflect UI changes. Props DrewAPicture. see #16416
|
| [22385]
|
ryan
|
Restore keyboard accessibility to the color picker. Props lessbloat. see #21206
|
| [22383]
|
ryan
|
Fix field alignment in the "Insert/edit link" dialog.
Props SergeyBiryukov
fixes #22275
|
| [22382]
|
ryan
|
Allow hyphens in shortcode names.
Props kovshenin, solarissmoke, aaroncampbell
fixes #17657
|
| [22380]
|
ryan
|
Remove 'Remote Publishing' contextual help section.
Don't show the 'Post Via Email' contextual help section if enable_post_by_email_configuration is not enabled.
Don't show the 'Update Services' contextual help section if enable_update_services_configuration is not enabled.
Props DrewAPicture
fixes #22365
|
| [22379]
|
ryan
|
Welcome screen refresh. Now with icons. Props lessbloat, empireoflight. fixes #21368
|
| [22376]
|
ryan
|
Fix strict warnings for WP_Plugins_List_Table::bulk_actions() and WP_Plugins_List_Table::single_row(). Props kurtpayne. fixes #22224
|
| [22375]
|
ryan
|
Consistent escaping in admin_color_scheme_picker(). Props johnjamesjacoby. fixes #22326
|
| [22373]
|
ryan
|
Use esc_attr() for attributes. Props johnjamesjacoby. fixes #22327
|
| [22368]
|
ryan
|
In wp_xmlrpc_server::_insert_post(), preservea valid post status instead of overwriting it with 'draft'. This preserves the 'inherit' status of attachments. Props markoheijnen. fixes #22335
|
| [22367]
|
ryan
|
Use wp_basename() instead of basename() so that multibyte characters are not stomped. Props SergeyBiryukov. fixes #21217
|
| [22366]
|
ryan
|
Update SimplePie to 1.3.1. Props rmccue, ocean90. fixes #22321
|
| [22365]
|
ryan
|
preg_quote() the permalink structure so that regex special chars such as dots are correctly handled. Props SergeyBiryukov. fixes #21167
|
| [22364]
|
ryan
|
Attachment editor improvements. Put the non-editable metadata into the submit/publish box.
Props helenyhou
see #21391
|
| [22361]
|
ryan
|
jQuery UI 1.9.1
Props ocean90
fixes #22290
|
| [22310]
|
ryan
|
Fix wp_basename() for Windows by replacing %5C with /.
Props SergeyBiryukov
fixes #22138
|
| [22308]
|
ryan
|
Consolidate some transalted strings. Remove unnecessary trailing newlines. Props pavelevap. fixes #22274
|
| [22307]
|
ryan
|
Return WP_Error when registering a taxonomy that exceeds 32 characters.
Props ocean90.
fixes #21593
|
| [22293]
|
ryan
|
Avoid notices in get_*_template() functions that use get_queried_object(), which can return null. Props wonderboymusic. fixes #20519
|
| [22291]
|
ryan
|
Use the create_posts capability in more places.
In get_post_type_capabilities(), make sure create_posts reflects customizations to the edit_posts capability when create_posts is not specifically set.
|
| [22290]
|
ryan
|
Add min-height to hierarchical taxonomy meta box. Props SergeyBiryukov. fixes #15925
|
| [22286]
|
ryan
|
Revert [21420] and [21481]. Accepting a string caused back compat problems including the possibility of revealing previously hidden circular dependencies resulting in infinite loops.
fixes #20683 #22111
see #21520
|
| [22285]
|
ryan
|
Update autocomplete CSS to make nice with jQuery UI 1.9. Give ui-helper-hidden-accessible the same treatment as screen-reader-text. Props helenyhou. fixes #22166
|
| [22284]
|
ryan
|
Use HiDPI image for nav menu item disclosure arrow. Props dd32. fixes #22240
|
| [22277]
|
ryan
|
In wp_xmlrpc_server::_insert_post(), don't return an error if set_post_thumbnail() returns false when the attachment ID doesn't change.
Props picklepete
fixes #22204
|
| [22276]
|
ryan
|
A more generic message for wp_upload_dir(). Props nacin. fixes #21796
|
| [22275]
|
ryan
|
Improve the contextual help for the comment bubble in the 'In Response To' column. Props lessbloat. fixes #19788
|
| [22274]
|
ryan
|
Avoid notices in _remove_theme_support(). Props alex-ye, SergeyBiryukov. fixes #22246
|
| [22266]
|
ryan
|
Fix typo in phpdoc. Props SergeyBiryukov. fixes #20429
|
| [22264]
|
ryan
|
Don't wp_cache_add() stdClass objects in get_post() to avoid polluting the cache with incomplete or otherwise compromised objects.
Declare the core properties of WP_Pist as proper public properties and provide them with defaults.
Props wonderboymusic
fixes #22223
|
| [22261]
|
ryan
|
Enter the semicolon. Props F J Kaiser, SergeyBiryukov. fixes #21393
|
| [22259]
|
ryan
|
Remove set_time_limit() from sites.php. Props dllh. fixes #19486 see #21521
|
| [22258]
|
ryan
|
If posts is an empty array, bail from set_found_posts(). If posts is null or otherwise empty proceed through set_found_posts(). This accommodates caching plugins such as Advanced Post Cache that force posts to be empty for later population but still require the found_posts_query filter to run.
fixes #14426
|
| [22257]
|
ryan
|
Populate WPLANG site option when setting up a network. Props SergeyBiryukov. fixes #21726
|
| [22256]
|
ryan
|
Don't create {$blog_id}_user-settings, {$blog_id}_user-settings-time, and {$blog_id}_dashboard_quick_press_last_post_id user options when a super admin visits a site they aren't a member of. Instead, rely solely on the wp-settings cookie.
fixes #22178
|
| [22255]
|
ryan
|
Pass each url in ping_sites through esc_url_raw() upin save. This ensures the urls have a valid protocol and avoids "Unable to parse URL" warning in WP_Http. Props SergeyBiryukov. fixes #21966
|
| [22254]
|
ryan
|
Correct phpdoc for wpdb::bail(). wp_die() is issued when show_errors is true, not false. Props SergeyBiryukov. fixes #22211
|
| [22253]
|
ryan
|
Allow numbers in screen option IDs. Fixes setting posts per page for custom post types containing 0-9. Props SergeyBiryukov. fixes #18323
|
| [22248]
|
ryan
|
Return WP_User objects when querying 'all' fields with WP_User_Query.
Allow passing stdClass or WP_User to the WP_User constructor.
fixes #22057
|
| [22244]
|
ryan
|
Pass the result of the the_preview filter through get_post() to ensure the post is filtered and of type WP_Post. fixes #22162
|
| [22243]
|
ryan
|
Return WP_Error when no editor is selected. Props markoheijnen. see #6821
|
| [22240]
|
ryan
|
In populate_network(), distinguish between upgrading from single to multisite and creating a new network in an existing multisite environment. When creating a new network steps related to setting up the main site must be skipped since the main site is created after populate_network() runs. Further, the global should not be modified since populating a new network does not involve switching to that network and making it current. fixes #22090
|
| [22238]
|
ryan
|
Replace the sanitize loop at the end of WP_Query::get_posts() with an array_map of get_post(). get_post() will ensure each object in the loop is sanitized and is of the type WP_Post. see #22162
|
| [22192]
|
ryan
|
Check for WP_Error return from WP_Image_Editor::get_instance().
Props markoheijnen
see #6821
|
| [22185]
|
ryan
|
Sync actions between update_blog_details() and update_blog_status(). Add make_delete_blog and make_undelete_blog actions.
Props Kyrylo, wonderboymusic
fixes #20305
|
| [22163]
|
ryan
|
Make sure cache bucket is an array to avoid warning. see #21309
|
| [22127]
|
ryan
|
Better UI for doing "Page on Front".
Props SergeyBiryukov, lessbloat, nacin.
see #16379
|
| [22124]
|
ryan
|
Consolidate some strings. Props pavelevap, SergeyBiryukov. see #21728
|
| [22123]
|
ryan
|
Put required field indicators within labels. Update styling of bundled themes to accommodate. Props MikeHansenMe. fixes #21897
|
| [22119]
|
ryan
|
Avoid Strict Standards warnings. Props markoheijnen. see #6821
|
| [22118]
|
ryan
|
Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865
|
| [22117]
|
ryan
|
Avoid 'Only variables should be assigned by reference' warning. Props wonderboymusic. see #21865
|
| [22116]
|
ryan
|
Avoid 'Only variables should be assigned by reference' warning. Props wonderboymusic. see #21865
|
| [22115]
|
ryan
|
Avoid 'Only variables should be assigned by reference' warning. Props wonderboymusic. see #21865
|
| [22114]
|
ryan
|
Avoid 'Only variables should be assigned by reference' warning. Props wonderboymusic. see #21865
|