Commit Graph

  • c7eca8e2d5 Use icons for non-image attachments in the new media modal. see #21836, #21390, #21808. Daryl Koopersmith 2012-09-07 21:27:07 +00:00
  • b489c2b242 Use wp_cache_add() in wp_mime_type_icon(). fixes #21835. Andrew Nacin 2012-09-07 21:10:43 +00:00
  • d539c11a94 Ensure $post_id is defined in wp_mime_type_icon() to prevent notices when a valid mime type string is provided. see #21835. Daryl Koopersmith 2012-09-07 21:04:58 +00:00
  • 626a4b2a56 Fix adding and updating from the Custom Fields meta box. Broken in [21205]. props SergeyBiryukov. see #21829 for trunk. Andrew Nacin 2012-09-07 15:49:20 +00:00
  • d906bd2f70 use 'ids' parameter for explicit attachment ordering in [gallery] shortcodes. fixes #21816 Mark Jaquith 2012-09-06 19:19:56 +00:00
  • addb19400a Add <small> to KSES, to hang out with its <big> brother. props SergeyBiryukov. fixes #18573 Mark Jaquith 2012-09-06 19:08:42 +00:00
  • c5c65130c9 Allow orderby=post__in, which uses the explicit order you provided in the post__in parameter. fixes #13729. props jakemgold, Otto42. Mark Jaquith 2012-09-06 19:01:21 +00:00
  • 5b6d894b43 Media JS: Apply selection when Attachment models are initially rendered. Daryl Koopersmith 2012-09-06 13:35:33 +00:00
  • 073cd101f5 Add checks for attachment metadata when formatting attachments for JS. Daryl Koopersmith 2012-09-06 09:50:41 +00:00
  • 8085c5ac5a Prevent JS events from being garbage collected when a media.view.Modal is re-rendered. see #21390, #21776. Daryl Koopersmith 2012-09-06 09:19:03 +00:00
  • 3ef72a1dee First pass at integrating featured images with the new media workflow. Daryl Koopersmith 2012-09-06 08:49:35 +00:00
  • ec0ee0164c Adds UI for media modal toolbars, buttons, and the selected item(s) status. Daryl Koopersmith 2012-09-06 07:46:15 +00:00
  • 653e3b3ae6 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 Ryan Boren 2012-09-05 20:33:34 +00:00
  • 96c86ed800 Restore in get_the_excerpt(). Props c3mdigital. fixes #21797 Ryan Boren 2012-09-05 19:54:08 +00:00
  • 2bebcee04f Return WP_Error if the db insert in wp_set_object_terms() fails. Props jndetlefsen. fixes #21800 Ryan Boren 2012-09-05 17:57:53 +00:00
  • 92fd0ec936 Fix typo in phpdoc for wp_newPost(). Props alyssonweb. fixes #21798 Ryan Boren 2012-09-05 15:36:59 +00:00
  • 46b4b41608 POT, generated from r21763 potbot 2012-09-05 15:19:09 +00:00
  • 0bebd54abd Twenty Twelve: combine two "Nothing Found" strings for consistency and simpler translation, props SergeyBiryukov. Fixes #21802. Lance Willett 2012-09-05 15:04:34 +00:00
  • 00e655fd8e POT, generated from r21761 potbot 2012-09-05 05:19:03 +00:00
  • e85e39fa87 Twenty Twelve: hide author name on single author blogs, using is_multi_author() -- fixes #21759, props iamtakashi. Lance Willett 2012-09-05 04:33:55 +00:00
  • f8b0fb06fe Validate $order in wp_get_object_terms(). props duck_. Andrew Nacin 2012-09-05 01:23:53 +00:00
  • 1e7a5ed329 Add menu_order to fill_query_vars(), see #21618 Andrew Ozz 2012-09-04 23:18:14 +00:00
  • 2951df0632 Always URL-encode a stylesheet directory value before using it in a URL. These situations are saved by wp_nonce_url(), but we should not depend on that. see #21749, for trunk only. Andrew Nacin 2012-09-04 22:35:12 +00:00
  • a064f74572 Fix old-school Preview links when a theme directory contains spaces. Fix the theme-editor.php link from MS themes screens when a theme directory contains spaces. see #21749. Andrew Nacin 2012-09-04 22:25:25 +00:00
  • 04e7435945 Compress scripts/styles: -3.5-21751. bumpbot 2012-09-04 21:59:25 +00:00
  • 80147a8a19 Remove the filter setting when searching media. Props helenyhou. fixes #19452 Ryan Boren 2012-09-04 21:20:51 +00:00
  • 1bd73817b0 Make the 'Download Export File' button primary. Props helenyhou. fixes #21781 Ryan Boren 2012-09-04 21:11:17 +00:00
  • ca00a01d11 Allow querying by menu_order. Props wonderboymusic. fixes #21618 Ryan Boren 2012-09-04 21:09:27 +00:00
  • f0b2a4f8aa Update phpdoc for count_many_users_posts(). Props willmot. fixes #21640 Ryan Boren 2012-09-04 21:07:27 +00:00
  • e6aaf6386d Add labels for all inputs in options-discussion. Props SergeyBiryukov, lessbloat, Latz. fixes #21373 Ryan Boren 2012-09-04 21:05:06 +00:00
  • 33281feaca Improve API usage in wp-app.php for post operations and attachment deletion. Proper cap checks. Unregister put_file and delete_file as core itself doesn't provide for file replacement. Andrew Nacin 2012-09-04 20:57:36 +00:00
  • 1ce32cbf14 Remove not so useful author column sorting. Props scribu. fixes #17141 Ryan Boren 2012-09-04 20:57:18 +00:00
  • d31b2ea583 Make the callback optional for add_settings_section(). Props lightningspirit. fixes #21630 Ryan Boren 2012-09-04 20:55:20 +00:00
  • a8549576b4 Only allow operations on network plugins through the network admin. see #21187, for trunk. Andrew Nacin 2012-09-04 20:51:33 +00:00
  • 3fb49b9ffd Modify a few jQuery selectors to prevent overflows and lagging. Todo, rewrite wp-lists and improve all of these selectors. Andrew Nacin 2012-09-04 20:27:14 +00:00
  • dcb0d4fe80 Restore global references that broke the media and comment list tables. Todo, make list tables rely far less on global state. see #21309. Andrew Nacin 2012-09-04 18:23:51 +00:00
  • 31ec698423 Use get_post() instead of global $post. Make the $post argument to get_post() optional, defaulting to the current post in The Loop. Ryan Boren 2012-09-04 16:29:28 +00:00
  • 9542f6ecd4 Use set_url_scheme() in the *_url() functions to keep things DRY. Props johnbillion. fixes #20759 Ryan Boren 2012-09-04 14:44:17 +00:00
  • 6ebbd13547 POT, generated from r21732 potbot 2012-09-04 06:18:25 +00:00
  • e08066df60 Twenty Twelve: remove executable bit from content-status.php, see r21726. Lance Willett 2012-09-04 05:53:14 +00:00
  • 104f72ea40 POT, generated from r21728 potbot 2012-09-04 05:18:55 +00:00
  • 800e28a729 Twenty Twelve: s/Show Menu/Menu/ for clarity and simplicity, and maybe more semantic and accessible. Fixes #21783, props iandstewart. Lance Willett 2012-09-04 05:18:17 +00:00
  • 4b6c92c0db Twenty Twelve: better bottom spacing for blockquotes, making it easier for child themes to style blockquotes followed by paragraphs. Props markjaquith and obenland, fixes #21764. Lance Willett 2012-09-04 05:14:46 +00:00
  • cf0695d9fc Twenty Twelve: list items need larger left margins to avoid cutting off the left-side (digit in the case of ordered lists). Props sixhours and obenland, fixes #21750. Lance Willett 2012-09-04 05:08:32 +00:00
  • a1a32b9013 Compress scripts/styles: 3.5-alpha-21727. bumpbot 2012-09-04 05:07:20 +00:00
  • 8d29c1f2f8 Twenty Twelve: add support for Status post format. See #21743. Lance Willett 2012-09-04 05:00:19 +00:00
  • cbe4880050 Twenty Twelve: review and remove unneeded overflow rules, and remove duplicate style block. Props obenland, fixes #21740. Lance Willett 2012-09-04 04:54:24 +00:00
  • a7151bc80a Twenty Twelve: fix edit_post_link() inconsistencies, props obenland. Fixes #21722. Lance Willett 2012-09-04 04:17:49 +00:00
  • aa1446319d Do not instantiate a Plupload instance when the wp-plupload bridge has neither a browse button nor a dropzone. fixes #21707. Daryl Koopersmith 2012-09-04 04:10:00 +00:00
  • 53e18e43f4 Twenty Twelve: remove justified text alignment rules for small screens. Closes #21385. Lance Willett 2012-09-04 03:58:24 +00:00
  • 866d1a2a8a Twenty Twelve: fix long word overflow in IE9 and FF15 by using word-wrap instead of word-break, fixes #21503. Lance Willett 2012-09-04 03:47:24 +00:00
  • 667a94907c Properly delimit URLs by \r, \n, \t *or* a space in sanitize_trackback_urls(). Fixes multiple trackback URL usage. props SergeyBiryukov, fixes #21624 for trunk. Andrew Nacin 2012-09-04 03:36:19 +00:00
  • 2a8af13e3e setup-config.php must be parseable by PHP4 so we can show a sane error message. wp-admin/index.php should ideally be as well. props SergeyBiryukov, see #21316. Andrew Nacin 2012-09-04 02:46:01 +00:00
  • 040d03235d Don't include functions.php in wp_load_translations_early() to avoid a parse error in a PHP4 environment (caused by use of the clone keyword in option.php). Andrew Nacin 2012-09-04 02:38:37 +00:00
  • be7d33f10d URL encode the theme stylesheet passed into wp_customize_url(). see #21749. Andrew Nacin 2012-09-03 23:58:30 +00:00
  • 80f60bd348 URL encode the stylesheet directory values passed to WP_Theme's get_stylesheet_directory_uri() and get_template_directory_uri(). props SergeyBiryukov, see #21749. Andrew Nacin 2012-09-03 23:57:43 +00:00
  • 93cf4c66a0 Bump $wp_db_version for [21705] Jon Cave 2012-09-03 22:11:00 +00:00
  • 9ce4163dd7 Reinstate paged rewrite rules for the post permalink structure. Jon Cave 2012-09-03 22:06:28 +00:00
  • 7981f50934 Fix placeholders in 'Welcome to WordPress' successful update messages. props SergeyBiryukov. see #21511. Andrew Nacin 2012-09-03 21:57:53 +00:00
  • 4769e9e656 Don't call self_admin_url() or esc_url() when declaring that WordPress updated successfully, as they may not exist in the current (just updated) version. Andrew Nacin 2012-09-03 21:56:12 +00:00
  • 909cbd75b8 Fix oEmbed when the provider only supports XML responses. Andrew Nacin 2012-09-03 21:42:24 +00:00
  • 9a4bba9390 Only show network-only plugins in the network admin. props SergeyBiryukov. see #21187, for trunk. Andrew Nacin 2012-09-03 19:42:31 +00:00
  • 1cf2f96b3c Compress scripts/styles: 3.5-alpha-21698. bumpbot 2012-09-03 15:59:27 +00:00
  • a7bc84096f Load the meta box sortables JS on the Edit Comment screen. props SergeyBiryukov. fixes #21499. Andrew Nacin 2012-09-03 15:39:06 +00:00
  • 903479fb96 Replace multiple wp_enqueue_script() calls in nav-menus.php with dependencies. props SergeyBiryukov. fixes #21777. Andrew Nacin 2012-09-03 15:35:22 +00:00
  • 83cb763ff1 jQuery 1.8.1 final. Also restores jQuery.noConflict(). props ocean90, fixes #21736. Daryl Koopersmith 2012-09-01 20:47:07 +00:00
  • 67b0862023 Compress scripts/styles: 3.5-alpha-21694. bumpbot 2012-08-31 21:59:26 +00:00
  • ba5f7b35fd s/blog/site/. see #21742 Ryan Boren 2012-08-31 20:45:28 +00:00
  • 44b205c027 Add wp.media(), a function to create a default media workflow. Daryl Koopersmith 2012-08-31 20:44:02 +00:00
  • 436bf0016f Media: Use numeric timestamps instead of string-based timestamps when preparing an attachment for js. Daryl Koopersmith 2012-08-31 19:14:43 +00:00
  • 62f79fd6e3 Compress scripts/styles: 3.5-alpha-21690. bumpbot 2012-08-31 18:59:24 +00:00
  • 8f7b835954 Media JS: Attachments collection API improvements. Daryl Koopersmith 2012-08-31 18:38:32 +00:00
  • 02975388bd Fix the adding of link categories through the "Add Link" screen. props yoavf. fixes #21590 for trunk Mark Jaquith 2012-08-31 18:20:28 +00:00
  • 7907be8f15 Introduce WP_Screen::in_admin() for determining which admin the screen is in. Change is_*_admin() to reference in_admin() with fallback to the WP_*_ADMIN constants during early bootstrap. This allows unit tests and ajax handlers to set the admin context. Ryan Boren 2012-08-31 17:16:46 +00:00
  • cb60d4a2fa Restore the 'allowed_themes' filter. Andrew Nacin 2012-08-31 17:05:18 +00:00
  • da2f11a8b8 Make sure that we always generate random numbers correctly even if the PHP build is slightly broken and truncates large integers. Peter Westwood 2012-08-31 09:45:50 +00:00
  • 7732b3e6e9 Compress scripts/styles: 3.5-alpha-21684. bumpbot 2012-08-31 06:59:25 +00:00
  • 5a4a17687a Add new media workflow scripts, styles, and templates. Daryl Koopersmith 2012-08-31 04:54:23 +00:00
  • 84a9e47c0d Fix a misnamed variable, which caused the query-attachments ajax handler to ignore all input. see #21390. Daryl Koopersmith 2012-08-31 04:32:25 +00:00
  • 215be466c3 Add get-attachment and query-attachments Ajax handlers. props koopersmith. see #21390. Andrew Nacin 2012-08-31 02:58:51 +00:00
  • c7ba96ddaa Introduce wp_prepare_attachment_for_js(). Prepares an attachment post object to be JSON-encoded and fitted into an Attachment model, for 3.5 media. Andrew Nacin 2012-08-31 02:04:40 +00:00
  • 0599fd010f Introduce wp_send_json() to json-encode a variable, print it, and die, for Ajax requests. Effectively replaces WP_Ajax_Response, which was an XML-based response. Andrew Nacin 2012-08-31 01:56:00 +00:00
  • 5579211850 Compress scripts/styles: 3.5-alpha-21678. bumpbot 2012-08-30 21:59:32 +00:00
  • d609c9b06a Update the query strings to refresh the toolbar sprites, props ocean90, see #20033 Andrew Ozz 2012-08-30 21:46:37 +00:00
  • ad27aba8c1 Flip Admin Bar search icon, props empireoflight and lessbloat, fixes #20033 Andrew Ozz 2012-08-30 21:18:07 +00:00
  • 2cee83814b Twenty Twelve: go with echo get_the_date() here, added in r21670 but reverted accidentally in r21674. Props obenland. Lance Willett 2012-08-30 19:32:05 +00:00
  • b9c884ed97 Twenty Twelve: add a better permalink markup structure to content-image.php template, for usability when image posts have no title. Props obenland, fixes #21723. Lance Willett 2012-08-30 19:27:27 +00:00
  • 56b3860a86 Compress scripts/styles: 3.5-alpha-21673. bumpbot 2012-08-30 18:59:30 +00:00
  • 9d6e1b33ca Have wp_script_is() and wp_style_is() accept 'enqueued', as it reads better than 'queue' and is consistent with 'registered'. fixes #21741. Andrew Nacin 2012-08-30 18:57:57 +00:00
  • ceaf979590 Fix min row height in .widefat, see #21324 Andrew Ozz 2012-08-30 18:47:22 +00:00
  • 8e8c5b77fe Twenty Twelve: use get_the_date() rather than the_date() in content templates to ensure a date is always output and a post permalink is visible to site visitors. Props obenland and ocean90, fixes #21721. Lance Willett 2012-08-30 17:23:22 +00:00
  • 3baea99e9b POT, generated from r21668 potbot 2012-08-30 17:18:55 +00:00
  • 9051dd1d06 Twenty Twelve: move Open Sans custom font loading to a body class to allow easier overriding, fixes #21694. Lance Willett 2012-08-30 16:59:22 +00:00
  • 93f85f9f9f Twenty Twelve: remove aggressive text-align rule, set to inherit instead to allow editor-added styles to justify per author's desire. Props obenland, fixes #21739. Lance Willett 2012-08-30 16:39:49 +00:00
  • f9429df937 Twenty Twelve: move text treatment for footer anchor element up to its parent container, to allow styling any text in the footer. Lance Willett 2012-08-30 16:25:31 +00:00
  • ce7c75f5b5 Twenty Twelve: remove unneeded float rule from nav list items, there is nothing to override here. Lance Willett 2012-08-30 16:24:29 +00:00
  • 92ea34f6a2 Use set_url_scheme(). Props johnbillion, MarcusPope. see #19037 #20759 Ryan Boren 2012-08-30 13:33:00 +00:00
  • bca5b5538d Compress scripts/styles: 3.5-alpha-21663. bumpbot 2012-08-30 04:09:57 +00:00
  • c75298604f Fix copy-paste error in get_term_feed_link() that caused the category_feed_link filter to run for tags, rather than tag_feed_link. props andrea.r, SergeyBiryukov. fixes #21589. Andrew Nacin 2012-08-30 03:49:44 +00:00
  • b7705ada50 Fix typo in CSS. props SergeyBiryukov. fixes #20587. Andrew Nacin 2012-08-30 03:04:10 +00:00