Commit Graph

  • 5129499c7b Twenty Twelve: update screenshot with double-sized version at 600x450, props drewstrojny. See #21388 and #21227. Lance Willett 2012-09-17 22:18:09 +00:00
  • 64dec4d525 Move the Cancel button for replying and quick-editing a comment to after the primary update/reply button so tabbing from the comment field takes you to the primary action. see #21340. Andrew Nacin 2012-09-17 22:13:53 +00:00
  • 97355aebf0 Twenty Twelve: allow Open Sans to be disabled per language, since it does not support all languages, and some odd combinations of OS and browser versions don't support any non-Latin language very well. Lance Willett 2012-09-17 22:07:51 +00:00
  • 930d3b2a99 Attach the default ms_files_rewriting site option filter in ms-default-constants, as ms-default-filters is not included during SHORTINIT. see #19235. Andrew Nacin 2012-09-17 22:05:06 +00:00
  • c154aed908 Remove unused $t_time variable. props ocean90. fixes #18531. Andrew Nacin 2012-09-17 02:12:09 +00:00
  • 4c9bac8206 Compress scripts/styles: 3.5-alpha-21879. TinyMCE updated. bumpbot 2012-09-17 00:59:40 +00:00
  • 9661c3bd9a Rename div#footer to div#wpfooter in the admin. Namespace one of our major elements and avoid clashing with widgets with the id of 'footer'. props andrewryno, koopersmith. see #14466. Andrew Nacin 2012-09-16 23:03:35 +00:00
  • 7485a0ceed Admin menu: add phpdoc/inline comments describing the usage of the param $icon_url in add_menu_page(), add string 'none' to be used when a menu icon is added from CSS, switch core items in the admin menu to use 'none', fixes #21349 Andrew Ozz 2012-09-16 22:51:44 +00:00
  • 411e45256a On user creation, default the display name to the first and last names provided. props mikelittle for the initial patch. fixes #20637. Andrew Nacin 2012-09-16 22:33:24 +00:00
  • 2bd5e1830b Switch TinyMCE's schema to 'html5', add 'autofocus' to the attributes map for <input>, part props SergeyBiryukov, fixes #13314 Andrew Ozz 2012-09-16 21:20:35 +00:00
  • a37458e797 Add a filter to wp_get_update_data. props usermrpapa, SergeyBiryukov. fixes #17838. Andrew Nacin 2012-09-16 20:51:51 +00:00
  • ac33e3e810 On setup-config step 2, default to focusing on the textarea and selecting its contents. fixes #21656. Andrew Nacin 2012-09-16 19:41:41 +00:00
  • 07ff0e30ed Docs for options_reading_blog_charset(). props SergeyBiryukov, fixes #21886. Andrew Nacin 2012-09-16 18:33:19 +00:00
  • b45377f3e9 Basic phpdoc for admin includes media.php. props c3mdigital. fixes #21144. Andrew Nacin 2012-09-16 18:31:42 +00:00
  • 7f65ab3f57 Curly quotes for setup-config strings. Andrew Nacin 2012-09-16 18:26:14 +00:00
  • 29d8f1bad7 If wp-config.php is not writable from setup-config, make the resulting textarea readonly. props jblz, fixes #21657. Andrew Nacin 2012-09-16 18:01:04 +00:00
  • e33241bef0 If a nav menu has no menu items, print nothing (instead of empty container markup). props obenland. fixes #21576. Andrew Nacin 2012-09-16 17:07:56 +00:00
  • 1563fce7ff Use selected() in default widgets. props SergeyBiryukov, iamfriendly. fixes #21451. Andrew Nacin 2012-09-16 16:51:12 +00:00
  • fee76161e3 Don't use hard-coded indexes when dealing with an array of roles. props elyobo. fixes #19222. Andrew Nacin 2012-09-16 16:24:33 +00:00
  • 9447d32ef4 Simplify protocol stripping in add_query_arg() by avoiding a regular expression. Don't cast a known array to an array. fixes #21332. Andrew Nacin 2012-09-16 16:16:26 +00:00
  • 50daa191c2 Trim incoming searches on the users list table. props tollmanz. fixes #21318. Andrew Nacin 2012-09-16 16:11:01 +00:00
  • 2815798357 Make WP_Tax_Query::transform_query() public. props scribu. fixes #21684. Andrew Nacin 2012-09-15 20:17:03 +00:00
  • 9b8123711c 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. Andrew Nacin 2012-09-15 20:13:44 +00:00
  • 383487466b Expect a possible array of post types in get_archive_template(). props SergeyBiryukov. fixes #20867. Andrew Nacin 2012-09-15 20:07:15 +00:00
  • 9da4708e6d Pass the user parameter to the wpmu_validate_blog_signup filter and wpmu_validate_blog_signup()'s return array. props BrianLayman. fixes #17306. Andrew Nacin 2012-09-15 20:05:58 +00:00
  • 326731cdb3 Add Pinyin diacritics to remove_accents(). Remove these diacritics in sanitize_title_with_dashes() on save as well. props bolo1988, SergeyBiryukov. fixes #20772. Andrew Nacin 2012-09-15 20:01:08 +00:00
  • 8437239bb2 Correct a translation context in the network admin. props SergeyBiryukov. fixes #20910. Andrew Nacin 2012-09-15 19:57:46 +00:00
  • afbbc9665a Combine some strings. props pavelevap. fixes #21087. Andrew Nacin 2012-09-15 19:57:05 +00:00
  • eea7a4b8d3 Rename duplicately defined internal functions (add_js, display_header) for documentation purposes. props bpetty, fixes #21564. Andrew Nacin 2012-09-15 19:49:21 +00:00
  • 322919eb1c When doing a taxonomy query, search against the currently registered post types of the queried taxonomies. Andrew Nacin 2012-09-15 19:44:51 +00:00
  • 168d12a728 Simplify the markup and hierarchy of the Add Existing and Add New user forms on site-users.php. props obenland, fixes #21223. Andrew Nacin 2012-09-15 19:38:23 +00:00
  • 0b2a08728b Pass current network ID to domain_exists() in wpmu_validate_blog_signup(). props larysa, fixes #17303. Andrew Nacin 2012-09-15 19:29:59 +00:00
  • 93f6ea672e Hide upload_path and upload_url_path from the Media Settings screen, assuming they are both set to their default values. Andrew Nacin 2012-09-14 21:00:39 +00:00
  • 42a2b4a12f "[ ] Discourage search engines from indexing this site". fixes #16416. Andrew Nacin 2012-09-14 20:26:20 +00:00
  • 8c13f286e3 Use the non-slashing variants of kses functions in sanitize_option() to avoid slash ping pong. fixes #21892. Andrew Nacin 2012-09-14 19:32:53 +00:00
  • 537a6769e6 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. Andrew Nacin 2012-09-14 19:12:35 +00:00
  • 04b5a04297 Don't output the {$post_type} post class in the admin, to avoid clashes with admin CSS. props c3mdigital. fixes #21203. Andrew Nacin 2012-09-14 18:57:11 +00:00
  • 9a0d9562a2 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. Andrew Nacin 2012-09-14 18:36:08 +00:00
  • 0ce7f85ca4 Remove unused show_in_admin_all and single_view_cap from register_post_status(). props duck_. fixes #18972. Andrew Nacin 2012-09-14 18:02:23 +00:00
  • 5b132e4c24 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. Andrew Nacin 2012-09-14 17:19:25 +00:00
  • 6d2fc0af91 If update_post_caches() does not receive a post type, glean post types from the individual post objects, rather than assuming 'post'. fixes #20177. Andrew Nacin 2012-09-14 16:26:05 +00:00
  • c1d96d72b4 Update docs to reflect that wp_count_terms() can return WP_Error when the taxonomy does not exist. props SergeyBiryukov, fixes #21888. Andrew Nacin 2012-09-14 16:11:30 +00:00
  • bd6d86d123 Avoid the need for a hidden input when suppressing the blog_charset option. fixes #21507. Andrew Nacin 2012-09-14 03:23:06 +00:00
  • 0cc58945a6 Calendar widget: Don't print widget title markup when the title is empty. props jakub.tyrcha. fixes #17837. Andrew Nacin 2012-09-13 19:46:24 +00:00
  • 0607d6b562 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. Andrew Nacin 2012-09-13 17:49:23 +00:00
  • c2df87ff7d Introduce an oembed_fetch_url filter to be applied before sending the request. Andrew Nacin 2012-09-13 17:45:36 +00:00
  • f62839c45b Fold Privacy Settings into Reading Settings, moving blog_public (search engine/robots) to options-reading and removing options-privacy. Andrew Nacin 2012-09-13 17:28:57 +00:00
  • b4fa70c19c 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. Andrew Nacin 2012-09-13 17:17:47 +00:00
  • 80e56f5a88 Check that the taxonomy matches when calling is_tax() with only a taxonomy argument. props wonderboymusic, see #20590. Andrew Nacin 2012-09-13 17:15:13 +00:00
  • 2313f09a45 Correct return values for two deprecated media admin functions. props SergeyBiryukov. fixes #21518. Andrew Nacin 2012-09-13 17:09:41 +00:00
  • b0bcbe0b01 Switch to sans-serif for the font stack in Thickbox as we have done elsewhere. props wet, fixes #20268. Andrew Nacin 2012-09-13 17:08:01 +00:00
  • 22ba686ace Don't sanitize include and exclude in gallery_shortcode(), as this is handled further down the stack, and better. props SergeyBiryukov, TobiasBg. fixes #21827. Andrew Nacin 2012-09-13 17:06:25 +00:00
  • 5870391283 Fix Press This bookmarklet focus and active styles. props SergeyBiryukov, fixes #21850. Andrew Nacin 2012-09-13 17:04:08 +00:00
  • cb682a8b61 Allow supports => false to be passed to register_post_type() to disable the default title and editor. Andrew Nacin 2012-09-13 17:02:39 +00:00
  • 78cc9eac60 oEmbed uses author_can(), not current_user_can(). props DrewAPicture, fixes #21880. Andrew Nacin 2012-09-13 16:42:43 +00:00
  • 5ca6a857a2 Don't cache a non-existent link in get_bookmark(). props wonderboymusic, fixes #21159. Andrew Nacin 2012-09-13 16:41:43 +00:00
  • 518d14331c When balancing tags, properly close tags that shouldn't be self-closed but are. Support all self-closing tags. Andrew Nacin 2012-09-13 16:39:06 +00:00
  • 8d3a9ba45b Disable multisite quotas by default on new installs. props mpvanwinkle77. fixes #21513. Andrew Nacin 2012-09-12 15:48:40 +00:00
  • c6fa13adc9 Add xmpp to allowed protocols. props ethitter, fixes #21604. Andrew Nacin 2012-09-12 15:47:34 +00:00
  • 5d3c3fcfba Don't show Appearance > Widgets if the theme has no sidebars defined. props SergeyBiryukov for the initial patch. fixes #21761. Andrew Nacin 2012-09-12 02:16:46 +00:00
  • f8d075eca3 XML-RPC: Introduce wp.getUsers, wp.getUser, wp.getProfile, wp.editProfile. Andrew Nacin 2012-09-12 00:04:21 +00:00
  • 7f29924c6a Remove ms-files.php rewriting from WordPress multisite. fixes #19235. Andrew Nacin 2012-09-11 22:22:20 +00:00
  • c1eaaf31b8 Always return upload directory information from wp_upload_dir(), even if there is an error. Append the error to the array. see #19235. Andrew Nacin 2012-09-11 22:06:49 +00:00
  • 60ee5a5032 Media JS: When adding a view to a media workflow, add a shorthand for registering a view constructor with no options. see #21390. Daryl Koopersmith 2012-09-11 21:21:32 +00:00
  • 304569a26c Media JS: Add support for multiple views to the media workflow controller. see #21390. Daryl Koopersmith 2012-09-11 21:13:07 +00:00
  • 9c322a7270 Remove accidental cruft in [21804] caused by renaming variables. see #21509. Andrew Nacin 2012-09-11 20:15:56 +00:00
  • dfac91464f Remove AtomPub from core. Andrew Nacin 2012-09-11 20:11:39 +00:00
  • a5e8f80f58 Undo nested paragraphs added in [21816]. see #17944. Andrew Nacin 2012-09-11 19:16:53 +00:00
  • 533217f3ba Indicate on themes.php when a theme is a child that requires a parent theme. fixes #17944. Andrew Nacin 2012-09-11 19:12:37 +00:00
  • e40aee3913 Avoid 'Creating default object from empty value' warning in PHP 5.4. Props SergeyBiryukov, knutsp. fixes #21716 Ryan Boren 2012-09-11 18:54:56 +00:00
  • 1cc9c42bc4 Use JS Attachment models in wp.Uploader. fixes #21868. Daryl Koopersmith 2012-09-11 16:55:58 +00:00
  • ee88036c08 Use network_site_url() for wp-signup.php. props markjaquith. see #19796. Andrew Nacin 2012-09-11 12:27:25 +00:00
  • 6557b319c4 Use the key we found using array_search() to unset it from the array. props hakre. fixes #16562. Andrew Nacin 2012-09-11 02:12:34 +00:00
  • 56c0d2932c Remove old edit_*_per_page usermeta keys. Andrew Nacin 2012-09-11 02:08:29 +00:00
  • 5097915ce8 Use site_url() in WP_Rewrite::mod_rewrite_rules(), rather than get_option(). props JustinSainton. fixes #21186. Andrew Nacin 2012-09-11 01:44:48 +00:00
  • fd6d9b96e8 Bump default memory limit from 32MB to 40MB. fixes #21646. Andrew Nacin 2012-09-11 01:41:56 +00:00
  • 1e270f44a4 Remove 'hwstring_small' from attachment metadata and deprecate get_udims(). props SergeyBiryukov. fixes #21518. Andrew Nacin 2012-09-11 01:38:26 +00:00
  • 26bd73ddd1 Call error_log() in wp-db without unnecessary conditionals. fixes #21103. Andrew Nacin 2012-09-11 01:35:43 +00:00
  • 7846681ed4 Don't show 'Uncategorized' in the category column on edit.php if there are no categories (including the default one). props ocean90. fixes #21240. Andrew Nacin 2012-09-11 01:31:53 +00:00
  • bab5d518fe XML-RPC: Add the 'home' option to wp.getOptons. props mrroundhill. fixes #21822. Andrew Nacin 2012-09-11 01:26:38 +00:00
  • 6df2aff40b Turn XML-RPC on and remove the option on the Writing Settings page. props markoheijnen for the initial patch. Andrew Nacin 2012-09-11 00:37:31 +00:00
  • 31b1ba5cb1 Wrap the unused options line in populate_options(). Andrew Nacin 2012-09-11 00:08:58 +00:00
  • 8ffcb66a9a Preserve the $format and $link arguments for passing to the previous|next_post_link filter. Pass $post to the filter. Ryan Boren 2012-09-10 21:36:06 +00:00
  • 34320e9089 Add missing closedir() to wpmu_delete_blog(). Props timfs. fixes #21780 Ryan Boren 2012-09-10 21:16:03 +00:00
  • 46f3985c39 Deprecate get_default_post_to_edit(). Props SergeyBiryukov. fixes #21677 Ryan Boren 2012-09-10 20:39:45 +00:00
  • 504c616055 phpdoc fixes and additions for post-template.php. Props c3mdigital. fixes #21220 Ryan Boren 2012-09-10 20:04:33 +00:00
  • fa5557c6d4 When reassigning posts and links during user deletion, clear the post and link caches. Props kurtpayne. fixes #20447 Ryan Boren 2012-09-10 19:56:08 +00:00
  • fdc3e8caee 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 Ryan Boren 2012-09-10 19:37:08 +00:00
  • 82229b784f Recommend the wp_kses_allowed_html filter over CUSTOM_TAGS. Soft deprecate CUSTOM_TAGS. see #17977, #20210. Andrew Nacin 2012-09-10 18:00:41 +00:00
  • cce4267f17 Remove kses allowedtags that were commented out long ago. see #17977. Andrew Nacin 2012-09-10 17:53:46 +00:00
  • 7852fd1919 Set the archived, spam, and deleted properties in the objects returned from get_blogs_of_user(). Props wonderboymusic. fixes #16225 Ryan Boren 2012-09-10 17:50:13 +00:00
  • ba6a385ac1 Restore return by ref for make_entry(). Props SergeyBiryukov. fixes #21839 Ryan Boren 2012-09-10 17:34:34 +00:00
  • 879cb8231b Remove unnecessary return by refs. Props wonderboymusic. fixes #21839 Ryan Boren 2012-09-10 17:00:11 +00:00
  • 9360033fbe 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 Ryan Boren 2012-09-10 16:45:49 +00:00
  • 0cef59e4c0 * 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. Ryan Boren 2012-09-10 16:19:54 +00:00
  • 7d6e53317c New button styles. Daryl Koopersmith 2012-09-08 04:58:34 +00:00
  • bcf58b34c4 Allow easy registration of taxonomy columns on post (and custom post type) list table screens. Andrew Nacin 2012-09-08 03:18:36 +00:00
  • a624cda5c5 Don't try to show the submenu when it's visible (Chrome), part props ericlewis, fixes #21832 Andrew Ozz 2012-09-07 22:34:43 +00:00
  • a7a925c744 Make browser text-selections ignore attachment views. see #21390. Daryl Koopersmith 2012-09-07 22:15:52 +00:00
  • 7955b982b3 Prevent img elements in the media modal from being draggable. see #21390. Daryl Koopersmith 2012-09-07 22:09:40 +00:00