| [21865]
|
nacin
|
Simplify protocol stripping in add_query_arg() by avoiding a regular expression. Don't cast a known array to an array. fixes #21332.
|
| [21864]
|
nacin
|
Trim incoming searches on the users list table. props tollmanz. fixes #21318.
|
| [21863]
|
nacin
|
Make WP_Tax_Query::transform_query() public. props scribu. fixes #21684.
|
| [21862]
|
nacin
|
Split tag names by [\r\n\t ] rather than \s to avoid that character class from eating characters. props rstern, SergeyBiryukov. fixes #21779. see #13413.
|
| [21861]
|
nacin
|
Expect a possible array of post types in get_archive_template(). props SergeyBiryukov. fixes #20867.
|
| [21860]
|
nacin
|
Pass the user parameter to the wpmu_validate_blog_signup filter and wpmu_validate_blog_signup()'s return array. props BrianLayman. fixes #17306.
|
| [21859]
|
nacin
|
Add Pinyin diacritics to remove_accents(). Remove these diacritics in sanitize_title_with_dashes() on save as well. props bolo1988, SergeyBiryukov. fixes #20772.
|
| [21858]
|
nacin
|
Correct a translation context in the network admin. props SergeyBiryukov. fixes #20910.
|
| [21857]
|
nacin
|
Combine some strings. props pavelevap. fixes #21087.
|
| [21856]
|
nacin
|
Rename duplicately defined internal functions (add_js, display_header) for documentation purposes. props bpetty, fixes #21564.
|
| [21855]
|
nacin
|
When doing a taxonomy query, search against the currently registered post types of the queried taxonomies.
Prevents posts of a type no longer assigned to a queried taxonomy from being returned.
props jondavidjohn. fixes #21290.
|
| [21854]
|
nacin
|
Simplify the markup and hierarchy of the Add Existing and Add New user forms on site-users.php. props obenland, fixes #21223.
|
| [21853]
|
nacin
|
Pass current network ID to domain_exists() in wpmu_validate_blog_signup(). props larysa, fixes #17303.
|
| [21852]
|
nacin
|
Hide upload_path and upload_url_path from the Media Settings screen, assuming they are both set to their default values.
These can be set on options.php, or the UPLOADS constant or the filters in wp_upload_dir() should be used. WordPress should aim to avoid UI options that require filesystem changes as well, not to mention requiring the user to convert between paths and URLs.
fixes #21720.
|
| [21851]
|
nacin
|
"[ ] Discourage search engines from indexing this site". fixes #16416.
|
| [21850]
|
nacin
|
Use the non-slashing variants of kses functions in sanitize_option() to avoid slash ping pong. fixes #21892.
|
| [21849]
|
nacin
|
If an option was not sent to options.php, pass null to update_option(), rather than trimming the null and converting it to an empty string. This provides better context for sanitize_option() while still storing what ends up being an empty string either way. see #16416.
|
| [21848]
|
nacin
|
Don't output the {$post_type} post class in the admin, to avoid clashes with admin CSS. props c3mdigital. fixes #21203.
|
| [21847]
|
nacin
|
Use wp_get_theme()->get_page_templates() rather than get_page_templates() in wp_insert_post(),
to allow page template setting on the frontend without a fatal error. fixes #21755.
|
| [21846]
|
nacin
|
Remove unused show_in_admin_all and single_view_cap from register_post_status(). props duck_. fixes #18972.
|
| [21845]
|
nacin
|
In get_page_by_path(), attempt to return an item that has the same post type before returning an attachment with the same name. props SergeyBiryukov. tests in [UT1021]. fixes #15665.
|
| [21844]
|
nacin
|
If update_post_caches() does not receive a post type, glean post types from the individual post objects, rather than assuming 'post'. fixes #20177.
|
| [21843]
|
nacin
|
Update docs to reflect that wp_count_terms() can return WP_Error when the taxonomy does not exist. props SergeyBiryukov, fixes #21888.
|
| [21842]
|
nacin
|
Avoid the need for a hidden input when suppressing the blog_charset option. fixes #21507.
|
| [21841]
|
nacin
|
Calendar widget: Don't print widget title markup when the title is empty. props jakub.tyrcha. fixes #17837.
|
| [21840]
|
nacin
|
Switch $args and $url for the oembed_fetch_url filter introduced in [21839]. A bit more logical, especially given the order of arguments passed to fetch(). see #16996.
|
| [21839]
|
nacin
|
Introduce an oembed_fetch_url filter to be applied before sending the request.
props Otto42, r-a-y. fixes #16996.
|
| [21838]
|
nacin
|
Fold Privacy Settings into Reading Settings, moving blog_public (search engine/robots) to options-reading and removing options-privacy.
When blog_public only has two values (as judged by whether the blog_privacy_selector action is used), convert from radio buttons to a checkbox, and rename from 'Site Visibility' to a more specific 'Search Engine Visibility'.
The text and implementation may change a bit. see #16416.
|
| [21837]
|
nacin
|
Add nonce_user_logged_out filters to wp_create_nonce() and wp_verify_nonce() for when there is no user ID. Provides plugins the ability to tie a nonce to some other characteristic of the session. props sc0ttkclark, fixes #21111.
|
| [21836]
|
nacin
|
Check that the taxonomy matches when calling is_tax() with only a taxonomy argument. props wonderboymusic, see #20590.
|
| [21835]
|
nacin
|
Correct return values for two deprecated media admin functions. props SergeyBiryukov. fixes #21518.
|
| [21834]
|
nacin
|
Switch to sans-serif for the font stack in Thickbox as we have done elsewhere. props wet, fixes #20268.
|
| [21833]
|
nacin
|
Don't sanitize include and exclude in gallery_shortcode(), as this is handled further down the stack, and better. props SergeyBiryukov, TobiasBg. fixes #21827.
|
| [21832]
|
nacin
|
Fix Press This bookmarklet focus and active styles. props SergeyBiryukov, fixes #21850.
|
| [21831]
|
nacin
|
Allow supports => false to be passed to register_post_type() to disable the default title and editor.
An empty array may also disable all default features in the future.
Do not rely on this behavior: always specify title and editor if you want them.
props sc0ttkclark.
fixes #21586.
|
| [21830]
|
nacin
|
oEmbed uses author_can(), not current_user_can(). props DrewAPicture, fixes #21880.
|
| [21829]
|
nacin
|
Don't cache a non-existent link in get_bookmark(). props wonderboymusic, fixes #21159.
|
| [21828]
|
nacin
|
When balancing tags, properly close tags that shouldn't be self-closed but are. Support all self-closing tags.
props coffee2code.
fixes #1597.
|
| [21827]
|
nacin
|
Disable multisite quotas by default on new installs. props mpvanwinkle77. fixes #21513.
|
| [21826]
|
nacin
|
Add xmpp to allowed protocols. props ethitter, fixes #21604.
|
| [21825]
|
nacin
|
Don't show Appearance > Widgets if the theme has no sidebars defined. props SergeyBiryukov for the initial patch. fixes #21761.
|
| [21824]
|
nacin
|
XML-RPC: Introduce wp.getUsers, wp.getUser, wp.getProfile, wp.editProfile.
props maxcutler.
props nprasath002 for earlier patches.
see #18428.
|
| [21823]
|
nacin
|
Remove ms-files.php rewriting from WordPress multisite. fixes #19235.
Keep existing networks compatible with a ms_files_rewriting network option.
|
| [21822]
|
nacin
|
Always return upload directory information from wp_upload_dir(), even if there is an error. Append the error to the array. see #19235.
|
| [21821]
|
koopersmith
|
Media JS: When adding a view to a media workflow, add a shorthand for registering a view constructor with no options. see #21390.
|
| [21820]
|
koopersmith
|
Media JS: Add support for multiple views to the media workflow controller. see #21390.
|
| [21819]
|
nacin
|
Remove accidental cruft in [21804] caused by renaming variables. see #21509.
|
| [21818]
|
nacin
|
Remove AtomPub from core.
* Will be replaced with http://wordpress.org/extend/plugins/atom-publishing-protocol/.
* Introduces an action, xmlrpc_rsd_apis, to add APIs to xmlrpc.php?rsd.
* Introduces support for 'error' being 403 and 50x in class-wp.php.
* Removes 'Remote Publishing' from Writing Settings (see [21804]). Keeps the remote_publishing settings section.
DB version is bumped to generate the new wp-app rewrite rule and remove the old enable_app option.
props wonderboymusic.
fixes #21509.
|
| [21817]
|
nacin
|
Undo nested paragraphs added in [21816]. see #17944.
|
| [21816]
|
nacin
|
Indicate on themes.php when a theme is a child that requires a parent theme. fixes #17944.
|
| [21815]
|
ryan
|
Avoid 'Creating default object from empty value' warning in PHP 5.4. Props SergeyBiryukov, knutsp. fixes #21716
|
| [21814]
|
koopersmith
|
Use JS Attachment models in wp.Uploader. fixes #21868.
Moves the uploading Attachments queue from the media workspace view to the uploader itself. This ensures that all attachments are added to the central attachmnet store.
Updates wp.Uploader to pass Attachment models to callbacks instead of Plupload file objects. Attachments in the process of uploading have a reference to the file object (which can be fetched by calling `attachment.get('file');`).
Also updates the customizer to be compatible with the API changes.
|
| [21813]
|
nacin
|
Use network_site_url() for wp-signup.php. props markjaquith. see #19796.
|
| [21812]
|
nacin
|
Use the key we found using array_search() to unset it from the array. props hakre. fixes #16562.
|
| [21811]
|
nacin
|
Remove old edit_*_per_page usermeta keys.
These per-page values were when the post type or taxonomy name has a hyphen.
Previously, these were converted to underscores. This changed in [21322].
fixes #18958.
|
| [21810]
|
nacin
|
Use site_url() in WP_Rewrite::mod_rewrite_rules(), rather than get_option(). props JustinSainton. fixes #21186.
|
| [21809]
|
nacin
|
Bump default memory limit from 32MB to 40MB. fixes #21646.
|
| [21808]
|
nacin
|
Remove 'hwstring_small' from attachment metadata and deprecate get_udims(). props SergeyBiryukov. fixes #21518.
|
| [21807]
|
nacin
|
Call error_log() in wp-db without unnecessary conditionals. fixes #21103.
|
| [21806]
|
nacin
|
Don't show 'Uncategorized' in the category column on edit.php if there are no categories (including the default one). props ocean90. fixes #21240.
|
| [21805]
|
nacin
|
XML-RPC: Add the 'home' option to wp.getOptons. props mrroundhill. fixes #21822.
|
| [21804]
|
nacin
|
Turn XML-RPC on and remove the option on the Writing Settings page.
props markoheijnen for the initial patch.
Introduces a new filter, xmlrpc_enabled.
Respects any current callbacks registered to the pre_option_enable_xmlrpc
and option_enable_xmlrpc filters, for anyone forcing it off via code.
fixes #21509.
|
| [21803]
|
nacin
|
Wrap the unused options line in populate_options().
|
| [21802]
|
ryan
|
Preserve the $format and $link arguments for passing to the previous|next_post_link filter. Pass $post to the filter.
Props Otto42, helenyhou
fixes #19640 #18764
|
| [21801]
|
ryan
|
Add missing closedir() to wpmu_delete_blog(). Props timfs. fixes #21780
|
| [21800]
|
ryan
|
Deprecate get_default_post_to_edit(). Props SergeyBiryukov. fixes #21677
|
| [21799]
|
ryan
|
phpdoc fixes and additions for post-template.php. Props c3mdigital. fixes #21220
|
| [21798]
|
ryan
|
When reassigning posts and links during user deletion, clear the post and link caches. Props kurtpayne. fixes #20447
|
| [21797]
|
ryan
|
Don't use set_url_scheme() in wp_guess_url(). wp_guess_url() is used during install before set_url_scheme() is loaded. Props SergeyBiryukov. fixes #20759
|
| [21796]
|
nacin
|
Recommend the wp_kses_allowed_html filter over CUSTOM_TAGS. Soft deprecate CUSTOM_TAGS. see #17977, #20210.
|
| [21795]
|
nacin
|
Remove kses allowedtags that were commented out long ago. see #17977.
|
| [21794]
|
ryan
|
Set the archived, spam, and deleted properties in the objects returned from get_blogs_of_user(). Props wonderboymusic. fixes #16225
|
| [21793]
|
ryan
|
Restore return by ref for make_entry(). Props SergeyBiryukov. fixes #21839
|
| [21792]
|
ryan
|
Remove unnecessary return by refs. Props wonderboymusic. fixes #21839
|
| [21791]
|
ryan
|
Check for an empty post in wp_popular_terms_checklist(). _wp_ajax_add_hierarchical_term() doesn't set up global post info. Props SergeyBiryukov. see #21309
|
| [21790]
|
ryan
|
* Introduce wp_kses_allowed_html() which accepts a context string and returns an array of allowed tags.
* Remove explicit declarations of class, id, style, and title from $allowedposttags
* Dynamicallly add global attributes to every tag for the 'post' context
* No longer calls wp_kses_array_lc() every time wp_kses() runs. Instead it runs once if CUSTOM_TAGS is true. Plugins directly passing a custom allowed_html array will no longer get the lc treatment. Keep an eye out for problems with this.
* wp_kses_data() and wp_filter_kses() pass current_filter() for the $allowed_html argument to wp_kses().
* wp_kses_allowed_html() handles being passed a filter name for a context. If the filter is not a recognized one it defaults to using $allowedtags as was done before for wp_kses_data() and wp_filter_kses().
* wp_kses_allowed_html() recognizes user_description and pre_user_description out of the box. For these it takes $allowedtags and inserts rel attribute support.
* wp_kses_allowed_html() allows plugins to override the return values for the default contexts and support arbitrary contexts via a wp_kses_allowed_html filter.
* wp_kses_hook() can now pass a string context for $allowed_html to the pre_kses filter. We might have to pass the result of wp_kses_allowed_html() instead if it turns out that plugins are digging in $allowed_html.
fixes #17977
see #20210
|
| [21789]
|
koopersmith
|
New button styles.
Using the new buttons:
* Button classes are now stackable.
* All buttons should use a base class of "button".
* Buttons default to the gray style (formerly "button-secondary"). Buttons can add a style by adding additional classes. To make a primary button, add the "button-primary" class.
* Buttons can be rendered in various sizes. In addition to the default size, you can add "button-large", "button-small", or "button-tiny".
For backwards compatibility reasons, "button-primary" and "button-secondary" both work as standalone classes.
get_submit_button() has been adjusted to handle shorthand button classes (i.e. button classes can be passed without the "button-" prefix).
props lessbloat, helenyhou, trepmal, nacin. see #21598.
|
| [21788]
|
nacin
|
Allow easy registration of taxonomy columns on post (and custom post type) list table screens.
To register a column for a list table, use the new manage_taxonomies_for_{$post_type}_columns
filter. Introduces show_admin_column => true for register_taxonomy(), which automatically
displays that column on all associated post types.
props jtsternberg, SergeyBiryukov for initial patches.
fixes #21240.
|
| [21787]
|
azaozz
|
Don't try to show the submenu when it's visible (Chrome), part props ericlewis, fixes #21832
|
| [21786]
|
koopersmith
|
Make browser text-selections ignore attachment views. see #21390.
|
| [21785]
|
koopersmith
|
Prevent img elements in the media modal from being draggable. see #21390.
Browsers natively support dragging img elements, which would then set off the drop zone in the modal. We disable this by setting the draggable attribute to false.
|
| [21784]
|
koopersmith
|
Use icons for non-image attachments in the new media modal. see #21836, #21390, #21808.
|
| [21783]
|
nacin
|
Use wp_cache_add() in wp_mime_type_icon(). fixes #21835.
|
| [21782]
|
koopersmith
|
Ensure $post_id is defined in wp_mime_type_icon() to prevent notices when a valid mime type string is provided. see #21835.
|
| [21781]
|
nacin
|
Fix adding and updating from the Custom Fields meta box. Broken in [21205]. props SergeyBiryukov. see #21829 for trunk.
|
| [21780]
|
nacin
|
Tag 3.4.2
|
| [21779]
|
nacin
|
3.4.2.
|
| [21778]
|
markjaquith
|
use 'ids' parameter for explicit attachment ordering in [gallery] shortcodes. fixes #21816
|
| [21777]
|
markjaquith
|
Add <small> to KSES, to hang out with its <big> brother. props SergeyBiryukov. fixes #18573
|
| [21776]
|
markjaquith
|
Allow orderby=post__in, which uses the explicit order you provided in the post__in parameter. fixes #13729. props jakemgold, Otto42.
|
| [21775]
|
nacin
|
~20 bugs fixed
|
| [21774]
|
nacin
|
Unfiltered HTML is only valid for super admins in multisite.
|
| [21773]
|
koopersmith
|
Media JS: Apply selection when Attachment models are initially rendered.
This allows us to automatically retain selections when the library context is changed (e.g. when searching. This changes the Attachment view's select() and deselect() methods so that they can be triggered directly.
see #21390.
|
| [21772]
|
koopersmith
|
Add checks for attachment metadata when formatting attachments for JS.
Prevents notices from causing malformed ajax responses.
see #21390.
|
| [21771]
|
koopersmith
|
Prevent JS events from being garbage collected when a media.view.Modal is re-rendered. see #21390, #21776.
|
| [21770]
|
koopersmith
|
First pass at integrating featured images with the new media workflow.
Updates the featured image when the publish/update button is clicked (rather than instantly). Uses the existing post_thumbnail_meta_box() function. Does not remove the old featured image meta box JS, ajax handler, or CSS.
see #21776, #21390.
|
| [21769]
|
koopersmith
|
Adds UI for media modal toolbars, buttons, and the selected item(s) status.
Currently uses actions for inserting media into a post as an example (hence the raw text). To test a workflow that supports multiple selection, run the following in your browser's JavaScript console:
wp.media({ multiple: true });
see #21390, #21808.
|
| [21768]
|
ryan
|
Change the number of themes shown per page in themes.php from 999 to 36 so that infinite scroll engages. 36 was chosen to match the per page limit for theme-install.php
|
| [21767]
|
ryan
|
Restore in get_the_excerpt(). Props c3mdigital. fixes #21797
|
| [21766]
|
ryan
|
Return WP_Error if the db insert in wp_set_object_terms() fails. Props jndetlefsen. fixes #21800
|