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
Andrew Nacin
acc1b0f220
Customize requires edit_theme_options. If you only have switch_themes (rare, but a case that core supports), you should not have access. fixes #21413 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24049 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:37:26 +00:00
Andrew Nacin
3ebbe1ae51
Revert [23871] - Customize should be added to the menu, but not hacked in as first. see #21413 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24048 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:33:39 +00:00
Andrew Nacin
cabad11bb4
WP Styles: Correctly print 'after' data when scripts are concatenated. props stephenh1988. fixes #20836 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24047 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:22:09 +00:00
Andrew Nacin
3fc35855e9
Ensure that the resulting post time is localized after the date is changed. props SergeyBiryukov. fixes #24072 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24046 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 19:04:02 +00:00
Sergey Biryukov
b79ec28fef
Correct phpdoc for get_content_quote(). props kovshenin. see #24009 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24045 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 14:36:43 +00:00
bumpbot
06b0176541
Compress scripts/styles: 3.6-beta1-24044.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24044 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 04:58:37 +00:00
Mark Jaquith
aeaf7787c0
Hide the post title and auto-generate based on the post body, for the status and aside post formats.
...
props kovshenin. see #24011 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24043 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 04:00:25 +00:00
Andrew Ozz
008336ee9c
Post locks:
...
- Show 'Saving revision...' while autosaving after a post has been taken over. Change to 'Your latest changes were saved as a revision.' when autosave completes.
- Make sure a user exists before using $user->display_name.
- Add 'post_lock_text' action for extending the message text.
git-svn-id: https://develop.svn.wordpress.org/trunk@24042 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-22 03:08:51 +00:00
bumpbot
db96892205
Compress scripts/styles: 3.6-beta1-24041.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24041 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 22:58:38 +00:00
Dominik Schilling (ocean90)
990c7c1b81
Revisions JS: Fix typo. props westi . fixes #24136 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24040 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 22:02:24 +00:00