Commit Graph

22676 Commits

Author SHA1 Message Date
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
Dominik Schilling (ocean90) 24901103a9 Post Formats: Change post screen icon on selection. props markjaquith. fixes #24140.
git-svn-id: https://develop.svn.wordpress.org/trunk@24039 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 22:00:10 +00:00
bumpbot 36be772bd5 Compress scripts/styles: 3.6-beta1-24038.
git-svn-id: https://develop.svn.wordpress.org/trunk@24038 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 20:58:41 +00:00
Mark Jaquith dbc57b973d Hide Media button for Status and Aside post types.
props kovshenin. fixes #24013.

git-svn-id: https://develop.svn.wordpress.org/trunk@24037 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-19 20:40:47 +00:00
Lance Willett 6b4da7c5ff Twenty Thirteen: remove toolbar callback in functions.php -- and add an `!important` in its place in the stylesheet. Props obenland, fixes #24129.
git-svn-id: https://develop.svn.wordpress.org/trunk@24036 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 21:33:45 +00:00
Lance Willett 3489c93b4c Twenty Thirteen: search form fixes for IE7, and add fallback search type selector to RTL stylesheet, see r23961. Closes #23997.
git-svn-id: https://develop.svn.wordpress.org/trunk@24035 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 21:24:38 +00:00
Mark Jaquith 58ad769e8b Post Formats: use the content body for the body of the Quote post format.
* Searchable, better editing tools
* Less cluttered Post Format UI

props kovshenin, DrewAPicture. see #24009

git-svn-id: https://develop.svn.wordpress.org/trunk@24034 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 18:07:58 +00:00
Andrew Nacin 8608bae9bc Twenty Thirteen: Don't use the_post_format_gallery() as it does not exist (yet). see #24126.
git-svn-id: https://develop.svn.wordpress.org/trunk@24033 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 17:18:19 +00:00
Andrew Nacin 68534cf555 Twenty Thirteen: Use the newer 'enqueued' argument for wp_style_is(). (This is, incidentally, the default.)
git-svn-id: https://develop.svn.wordpress.org/trunk@24032 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 17:15:18 +00:00
Andrew Nacin af8ffd36e9 Twenty Thirteen: Move no-avatars class to the existing body class modification function.
* Move includes to the top of the file.
 * Make search_form two words in twentythirteen_search_form_format().

fixes #24127.



git-svn-id: https://develop.svn.wordpress.org/trunk@24031 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 17:13:14 +00:00
Andrew Nacin 71e9178bea Twenty Thirteen: Use WP_Theme's methods, rather than legacy properties.
git-svn-id: https://develop.svn.wordpress.org/trunk@24030 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 17:10:47 +00:00
Andrew Nacin e414638a7f Twenty Thirteen: Use the_post_format_gallery(). props obenland, fixes #24126.
git-svn-id: https://develop.svn.wordpress.org/trunk@24029 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 17:08:55 +00:00
Andrew Nacin e97159bc63 Pass $post to display_post_states filter (in _post_states()).
git-svn-id: https://develop.svn.wordpress.org/trunk@24028 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 15:02:30 +00:00
Sergey Biryukov b0706fba10 Only show database errors if WP_DEBUG_DISPLAY is enabled. props cheeserolls, storkontheroof, crazycoders. fixes #22203.
git-svn-id: https://develop.svn.wordpress.org/trunk@24027 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 09:51:02 +00:00
Andrew Ozz 419e62a26d Revisions: look at the version of the earliest revision when checking whether to upgrade the revisions authors, see #16215
git-svn-id: https://develop.svn.wordpress.org/trunk@24026 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 05:02:57 +00:00
Andrew Ozz d00b790c8e Revisions: when upgrading the revision author don't add a copy of the post as latest revision when some of the revisions are already at v1. See #16215
git-svn-id: https://develop.svn.wordpress.org/trunk@24025 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 04:43:59 +00:00
Sergey Biryukov 2fd3b0fa55 Rename some variables for consistency. Remove redundant absint() call. see #24010.
git-svn-id: https://develop.svn.wordpress.org/trunk@24024 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 00:40:36 +00:00
bumpbot c1d8b36e6e Compress scripts/styles: 3.6-beta1-24023.
git-svn-id: https://develop.svn.wordpress.org/trunk@24023 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 22:58:38 +00:00
bumpbot 2a7889aafd Compress scripts/styles: 3.6-beta1-24021.
git-svn-id: https://develop.svn.wordpress.org/trunk@24022 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:58:42 +00:00
Mark Jaquith 177556309d Standardize post format postmeta keys around the ones already used by the Crowd Favorite plugin.
props wonderboymusic. fixes #24010.

git-svn-id: https://develop.svn.wordpress.org/trunk@24021 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:57:44 +00:00
Dominik Schilling (ocean90) 814a49b51b Revisions UI: Disable previous and next buttons when you're on the first, and last node. Put revision ticks above the slider range. props lessbloat for initial patch. see #23899.
git-svn-id: https://develop.svn.wordpress.org/trunk@24020 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 20:12:25 +00:00
Dominik Schilling (ocean90) d8bf6c44b3 Revisions: Clean up JavaScript variable names, see #23901.
git-svn-id: https://develop.svn.wordpress.org/trunk@24019 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 19:34:21 +00:00
bumpbot 1845759157 Compress scripts/styles: 3.6-beta1-24018.
git-svn-id: https://develop.svn.wordpress.org/trunk@24018 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 18:58:38 +00:00
Mark Jaquith e29dc811f7 Use attachment.url only if it is available, else fall back to props.url.
see #24046. see [24009].

git-svn-id: https://develop.svn.wordpress.org/trunk@24017 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 17:57:51 +00:00
Lance Willett 0a7a82c53b Twenty Twelve: fix style element ID attribute value, props SergeyBiryukov. Closes #24033.
git-svn-id: https://develop.svn.wordpress.org/trunk@24016 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 17:50:04 +00:00
Mark Jaquith ff064c5422 Use get_post_format() instead of assuming we already have it.
* Fixes an issue where image posts without a title could not be deleted

fixes #23887. see #24046. props WraithKenny, SergeyBiryukov.

git-svn-id: https://develop.svn.wordpress.org/trunk@24015 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 17:49:44 +00:00
Lance Willett 9534e407b1 Twenty Twelve: add back missing space in CSS value, removed in r24013. See #23790.
git-svn-id: https://develop.svn.wordpress.org/trunk@24014 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 17:48:09 +00:00
Lance Willett 863b902a34 Twenty Twelve: remove zero-width spaces in CSS value, props SergeyBiryukov. Closes #23790.
git-svn-id: https://develop.svn.wordpress.org/trunk@24013 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 17:46:58 +00:00