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
Lance Willett
c906b4349b
Twenty Thirteen: center footer text in RTL, props yoavf. Fixes #24110 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24012 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 17:43:48 +00:00
Sergey Biryukov
c6155d6527
Make sure the variables are always defined. props tlovett1, danielbachhuber. fixes #24034 . fixes #24112 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24011 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 15:36:13 +00:00
bumpbot
b6a6786b60
Compress scripts/styles: 3.6-beta1-24010.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24010 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 13:51:57 +00:00
Ryan Boren
da23d9b7b8
Revert attachment.url back to props.url. Fixes error that prevents inserting media into the editor.
...
see #24046
git-svn-id: https://develop.svn.wordpress.org/trunk@24009 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 13:50:12 +00:00
bumpbot
46eb88eec5
Compress scripts/styles: 3.6-beta1-24008.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24008 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 06:58:39 +00:00
Mark Jaquith
2a482cf617
A little cleanup of post-formats.js
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24007 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 05:22:14 +00:00
Mark Jaquith
793f27f07e
New Post Format UI chooser treatment in response to testing.
...
* Bigger icons
* Format description under each
* UI hides after choice
* Saving without choosing implies "Standard"
* Helpful text, with "Change format" link
see #24046 . props lessbloat, wonderboymusic.
git-svn-id: https://develop.svn.wordpress.org/trunk@24006 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-17 04:08:46 +00:00
Lance Willett
d0a418557f
Twenty Thirteen: further performance for functions.js scroll event callback, props obenland. See #23875 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24005 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 22:35:55 +00:00
Lance Willett
e6b986ec2b
Twenty Thirteen: improvements to functions.js to add namespacing to events and simplify repeatable functions. See #23875 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24004 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 21:51:07 +00:00
Mark Jaquith
e1c6e9f2da
Make get_the_post_format_image() work when intermediate_image_sizes is empty.
...
props lancewillett. fixes #24060 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24003 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 21:31:37 +00:00
Mark Jaquith
0259c2e13b
Consistently apply class="title" to our options page h3 tags.
...
props norcross. fixes #24080 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24002 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 20:19:29 +00:00
Lance Willett
c6612a2597
Bundled themes: add identifier to `style` elements added by the theme. Fixes #24033 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24001 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 17:18:30 +00:00
Sergey Biryukov
a2b9d958df
* Add start/end markers to the regex patterns in audio and video embed handlers.
...
* Move the handler functions registration to wp_maybe_load_embeds().
* Rename both functions to match the wp_embed_handler_* pattern.
* Move the functions closer to wp_embed_handler_googlevideo().
props kovshenin. fixes #24092 .
git-svn-id: https://develop.svn.wordpress.org/trunk@24000 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 11:06:31 +00:00