Commit Graph

22663 Commits

Author SHA1 Message Date
Sergey Biryukov af71a8c16d Remove unused variable and CSS class. see #24046.
git-svn-id: https://develop.svn.wordpress.org/trunk@24099 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:36:12 +00:00
Mark Jaquith 438f4085f1 Post format UI refresh.
* Post format switcher does not go away after clicking
* Refresh of format switcher style
* Highlighting of active post format
* Prompt text goes under the switcher
* Better animations

see #24046. props wonderboymusic, johnjamesjacoby, aaroncampbell, PeteMall.

Also, because I forgot it on [24006]: props saracannon.

git-svn-id: https://develop.svn.wordpress.org/trunk@24098 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-26 12:22:55 +00:00
Sergey Biryukov be43193b61 Avoid an undefined variable notice. props lightningspirit. fixes #24190.
git-svn-id: https://develop.svn.wordpress.org/trunk@24097 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 23:31:20 +00:00
Sergey Biryukov eaa45fb903 Fix typo in phpdoc. props jcastaneda. fixes #24185.
git-svn-id: https://develop.svn.wordpress.org/trunk@24096 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 23:10:36 +00:00
bumpbot 7ef190d486 Compress scripts/styles: 3.6-beta1-24095.
git-svn-id: https://develop.svn.wordpress.org/trunk@24095 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 08:58:43 +00:00
Mark Jaquith 6a6c0fb522 Prevent a PHP Warning for $post_format.
props MZAWeb, kovshenin. see #24011.

git-svn-id: https://develop.svn.wordpress.org/trunk@24094 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 08:02:38 +00:00
Mark Jaquith 116b530bb3 the_post_format_gallery() (and Twenty Thirteen using it).
fixes #24126. props obenland, wonderboymusic.

git-svn-id: https://develop.svn.wordpress.org/trunk@24093 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:42:59 +00:00
Mark Jaquith 3bde819dbe Screen option for Post Format UI.
props nacin. see #23930.

git-svn-id: https://develop.svn.wordpress.org/trunk@24092 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:28:33 +00:00
Mark Jaquith 63a5118e7e Smarter structured post format caching.
fixes #24002. props kovshenin, wonderboymusic.

git-svn-id: https://develop.svn.wordpress.org/trunk@24091 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 07:10:35 +00:00
bumpbot 629c86ddb2 Compress scripts/styles: 3.6-beta1-24090.
git-svn-id: https://develop.svn.wordpress.org/trunk@24090 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 06:58:41 +00:00
Mark Jaquith 25e521f40d Allow any post format to be default, not just ones with explicit support.
props SergeyBiryukov. fixes #24036.

git-svn-id: https://develop.svn.wordpress.org/trunk@24089 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 06:08:29 +00:00
Mark Jaquith 77731b116b Clean up gallery-mode toggling in post-formats.js and make sure it is set on first load.
see #24062

git-svn-id: https://develop.svn.wordpress.org/trunk@24088 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:58:55 +00:00
Mark Jaquith bab5ddd458 Force gallery state for gallery post format.
props lessbloat, wonderboymusic. fixes #24062.

git-svn-id: https://develop.svn.wordpress.org/trunk@24087 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:43:14 +00:00
bumpbot 89872e2a71 Compress scripts/styles: 3.6-beta1-24086.
git-svn-id: https://develop.svn.wordpress.org/trunk@24086 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 05:05:54 +00:00
Mark Jaquith df3d968e12 Restore the title visibility for Asides (but keep autogeneration fallback).
see #24011.

git-svn-id: https://develop.svn.wordpress.org/trunk@24085 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 04:46:58 +00:00
Mark Jaquith 4071f758b3 Fix some issues related to status/aside editor height changing.
props wonderboymusic. fixes #23992.

git-svn-id: https://develop.svn.wordpress.org/trunk@24084 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 04:06:06 +00:00
Mark Jaquith 31cf12d5e1 Fix issue with [embed] in post_format_compat.
props kovshenin. fixes #24070.

git-svn-id: https://develop.svn.wordpress.org/trunk@24083 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 03:52:05 +00:00
Mark Jaquith 4f425f4f11 Fix redundant use of array_keys() around get_post_format_slugs().
props SergeyBirkukov, wonderboymusic. fixes #24089.

git-svn-id: https://develop.svn.wordpress.org/trunk@24082 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 03:06:31 +00:00
Mark Jaquith 9d531ae545 post-new.php?format=X will pre-fill the format, to allow for Post-Format-chosen-first editor jump-starting.
props kovshenin, wonderboymusic. fixes #24116.

git-svn-id: https://develop.svn.wordpress.org/trunk@24081 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:44:23 +00:00
Mark Jaquith 5c78df14f8 Add a post_format_meta filter.
props alexkingorg. fixes #24162.

git-svn-id: https://develop.svn.wordpress.org/trunk@24080 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:31:42 +00:00
Mark Jaquith 53de215895 Allow the_post_format_image() to choose an image size late in the game.
props davidwilliamson, SergeyBiryukov. fixes #23945.

git-svn-id: https://develop.svn.wordpress.org/trunk@24079 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:28:30 +00:00
Mark Jaquith 25a32a446c Fix mangled image output in compat function.
props wonderboymusic. see #24175.

git-svn-id: https://develop.svn.wordpress.org/trunk@24078 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:18:49 +00:00
Mark Jaquith c10958235f Make the content area smaller for Aside/Status posts.
props wonderboymusic. fixes #23992.

git-svn-id: https://develop.svn.wordpress.org/trunk@24077 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-25 02:07:05 +00:00
Andrew Ozz 6303d1a71a Upgrade to Plupload 1.5.7, fixes #24163
git-svn-id: https://develop.svn.wordpress.org/trunk@24076 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-24 21:54:17 +00:00
Helen Hou-Sandi 1f621a48f9 Respect $compat values for the link format fallback output. props wonderboymusic. see #23347.
git-svn-id: https://develop.svn.wordpress.org/trunk@24075 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-23 23:19:29 +00:00
Lance Willett 387baceb98 Twenty Thirteen: avoid setting absolute positioning and a magic height number for child comments. This allows for a more flexible layout. Props obenland, fixes #24172.
git-svn-id: https://develop.svn.wordpress.org/trunk@24074 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-23 23:10:00 +00:00
Lance Willett 7a945cfcd2 Twenty Thirteen: fix case where title in author bio was indented when avatars were disabled in Discussion settings. Props obenland, fixes #24167.
git-svn-id: https://develop.svn.wordpress.org/trunk@24073 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-23 21:29:00 +00:00
Lance Willett 736f2bb495 Twenty Thirteen: remove `hgroup` from the theme markup structure since it's been dropped from HTML5 spec. Props obenland for the starter patch. Fixes #24114.
git-svn-id: https://develop.svn.wordpress.org/trunk@24072 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-23 17:55:55 +00:00
Lance Willett b051e780e3 Twenty Thirteen: avoid orphans in Aside date post meta. Props obenland, fixes #24166.
git-svn-id: https://develop.svn.wordpress.org/trunk@24071 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-23 16:57:32 +00:00
Lance Willett 37f6f6edd4 Twenty Thirteen: update JavaScript-based accessibility function hooked to `hashchange` event to verify user input correctly. Props mfields for the original patch.
Also add textarea to list of elements. See #23875.

git-svn-id: https://develop.svn.wordpress.org/trunk@24070 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-23 16:30:03 +00:00
Andrew Nacin 4e187d6d72 Removed testing
git-svn-id: https://develop.svn.wordpress.org/trunk@24069 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-23 14:24:19 +00:00
Andrew Nacin db80dc2a4e Testing new repo
git-svn-id: https://develop.svn.wordpress.org/trunk@24068 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-23 14:24:05 +00:00
bumpbot 6eb2bc047a Compress scripts/styles: 3.6-beta1-24067.
git-svn-id: https://develop.svn.wordpress.org/trunk@24067 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:58:34 +00:00
Mark Jaquith 065010983e Multiple improvements to image post format insertion and display.
* get_tag_regex() altered based on Unit Tests.
* Changes to post-formats.js to provide size and link context during image selection.
* Captions are now output in the_post_format_image() when present.
* The meta value for url is respected for the image post format when the HTML in the image meta doesn't include a link

props wonderboymusic. fixes #23965, #23964. see #24147, #24046.

git-svn-id: https://develop.svn.wordpress.org/trunk@24066 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:11:42 +00:00
Andrew Nacin c2dd3036e3 dbDelta: When parsing out the DEFAULT value, avoid being too greedy. props hbanken, fixes #15948.
git-svn-id: https://develop.svn.wordpress.org/trunk@24065 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 22:00:50 +00:00
Helen Hou-Sandi c459c13113 CSS coding standards for [23995]. props SergeyBiryukov. see #23810.
git-svn-id: https://develop.svn.wordpress.org/trunk@24064 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 21:57:03 +00:00
Andrew Nacin 3bbd4cf939 Rename the show_post_format_ui filter to enable_post_format_ui. 'show' is a different concept - this filter entirely disables the UI. see #23929.
git-svn-id: https://develop.svn.wordpress.org/trunk@24063 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 21:07:42 +00:00
Mark Jaquith e3eda04c70 Fix some mangled HTML in image format posts compat.
props SergeyBiryukov. fixes #24147.

git-svn-id: https://develop.svn.wordpress.org/trunk@24062 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 21:01:03 +00:00
bumpbot 9c59e3a187 Compress scripts/styles: 3.6-beta1-24060.
git-svn-id: https://develop.svn.wordpress.org/trunk@24061 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:58:40 +00:00
Andrew Nacin c998cc8407 Redirect after save on options-permalink.php to ensure permalinks are fully flushed. fixes #9296. see #14345 for more.
git-svn-id: https://develop.svn.wordpress.org/trunk@24060 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:57:34 +00:00
Andrew Nacin ccfda3dcb1 Wait until keyup to set the slug input on the post page, otherwise the final character is not stored. props SergeyBiryukov, fixes #23613.
git-svn-id: https://develop.svn.wordpress.org/trunk@24059 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:52:43 +00:00
Andrew Nacin de6fba2b41 Adjust some strings in wp-signup.php.
* Remove double space.
 * Remove outer HTML.

props pavelevap, SergeyBiryukov.
fixes #22306.



git-svn-id: https://develop.svn.wordpress.org/trunk@24058 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:49:24 +00:00
Andrew Nacin a67bb694c5 Return false in get_post_format() if the post does not exist.
props adamsilverstein, ericlewis.
fixes #23255.



git-svn-id: https://develop.svn.wordpress.org/trunk@24057 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:41:16 +00:00
Andrew Nacin 4d584800bf Add user_search_columns filter to WP_User_Query::prepare_query().
props aaroncampbell.
fixes #16366.



git-svn-id: https://develop.svn.wordpress.org/trunk@24056 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:37:50 +00:00
Andrew Nacin 88c8a08129 Image editors: multi_resize() should require height and width. Crop is now optional and defaults to false. props DH-Shredder. fixes #23884.
git-svn-id: https://develop.svn.wordpress.org/trunk@24055 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:28:05 +00:00
Andrew Nacin a77be61eb6 Document that fetch_feed() can accept multiple URLs, thus leveraging SimplePie's multifeed feature. props JustinSainton, fixes #22140.
git-svn-id: https://develop.svn.wordpress.org/trunk@24054 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:24:41 +00:00
Andrew Nacin a10e14ba57 Add wp_registration_url() and register_url filter.
props scribu, JustinSainton, SergeyBiryukov.
fixes #17950.



git-svn-id: https://develop.svn.wordpress.org/trunk@24053 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:21:22 +00:00
Andrew Nacin 57a7513b56 Remove ancient 'lookup' quicktag from the text editor. This had called up answers.com.
props mboynes, jonbishop, SergeyBiryukov.
fixes #23322.



git-svn-id: https://develop.svn.wordpress.org/trunk@24052 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:17:25 +00:00
Andrew Nacin 2958875d6c Improve the performance of backslashit() by avoiding regular expressions. backslashit() is used heavily in date_i18n().
props jbutkus.
fixes #22286.



git-svn-id: https://develop.svn.wordpress.org/trunk@24051 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 20:01:57 +00:00
Andrew Nacin bd7837e30e Add .displaying-header-text to the default themes, as the Custom Header page toggles this class. props obenland, fixes #24113.
git-svn-id: https://develop.svn.wordpress.org/trunk@24050 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:40:28 +00:00