Commit Graph

19886 Commits

Author SHA1 Message Date
Ryan Boren
2bebcee04f Return WP_Error if the db insert in wp_set_object_terms() fails. Props jndetlefsen. fixes #21800
git-svn-id: https://develop.svn.wordpress.org/trunk@21766 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-05 17:57:53 +00:00
Ryan Boren
92fd0ec936 Fix typo in phpdoc for wp_newPost(). Props alyssonweb. fixes #21798
git-svn-id: https://develop.svn.wordpress.org/trunk@21765 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-05 15:36:59 +00:00
potbot
46b4b41608 POT, generated from r21763
git-svn-id: https://develop.svn.wordpress.org/trunk@21764 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-05 15:19:09 +00:00
Lance Willett
0bebd54abd Twenty Twelve: combine two "Nothing Found" strings for consistency and simpler translation, props SergeyBiryukov. Fixes #21802.
git-svn-id: https://develop.svn.wordpress.org/trunk@21763 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-05 15:04:34 +00:00
potbot
00e655fd8e POT, generated from r21761
git-svn-id: https://develop.svn.wordpress.org/trunk@21762 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-05 05:19:03 +00:00
Lance Willett
e85e39fa87 Twenty Twelve: hide author name on single author blogs, using is_multi_author() -- fixes #21759, props iamtakashi.
git-svn-id: https://develop.svn.wordpress.org/trunk@21761 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-05 04:33:55 +00:00
Andrew Nacin
f8b0fb06fe Validate $order in wp_get_object_terms(). props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@21758 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-05 01:23:53 +00:00
Andrew Ozz
1e7a5ed329 Add menu_order to fill_query_vars(), see #21618
git-svn-id: https://develop.svn.wordpress.org/trunk@21756 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 23:18:14 +00:00
Andrew Nacin
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@21755 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 22:35:12 +00:00
Andrew Nacin
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@21752 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 22:25:25 +00:00
bumpbot
04e7435945 Compress scripts/styles: -3.5-21751.
git-svn-id: https://develop.svn.wordpress.org/trunk@21751 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 21:59:25 +00:00
Ryan Boren
80147a8a19 Remove the filter setting when searching media. Props helenyhou. fixes #19452
git-svn-id: https://develop.svn.wordpress.org/trunk@21750 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 21:20:51 +00:00
Ryan Boren
1bd73817b0 Make the 'Download Export File' button primary. Props helenyhou. fixes #21781
git-svn-id: https://develop.svn.wordpress.org/trunk@21749 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 21:11:17 +00:00
Ryan Boren
ca00a01d11 Allow querying by menu_order. Props wonderboymusic. fixes #21618
git-svn-id: https://develop.svn.wordpress.org/trunk@21748 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 21:09:27 +00:00
Ryan Boren
f0b2a4f8aa Update phpdoc for count_many_users_posts(). Props willmot. fixes #21640
git-svn-id: https://develop.svn.wordpress.org/trunk@21747 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 21:07:27 +00:00
Ryan Boren
e6aaf6386d Add labels for all inputs in options-discussion. Props SergeyBiryukov, lessbloat, Latz. fixes #21373
git-svn-id: https://develop.svn.wordpress.org/trunk@21746 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 21:05:06 +00:00
Andrew Nacin
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@21744 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 20:57:36 +00:00
Ryan Boren
1ce32cbf14 Remove not so useful author column sorting. Props scribu. fixes #17141
git-svn-id: https://develop.svn.wordpress.org/trunk@21743 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 20:57:18 +00:00
Ryan Boren
d31b2ea583 Make the callback optional for add_settings_section(). Props lightningspirit. fixes #21630
git-svn-id: https://develop.svn.wordpress.org/trunk@21742 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 20:55:20 +00:00
Andrew Nacin
a8549576b4 Only allow operations on network plugins through the network admin. see #21187, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@21740 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 20:51:33 +00:00
Andrew Nacin
3fb49b9ffd Modify a few jQuery selectors to prevent overflows and lagging. Todo, rewrite wp-lists and improve all of these selectors.
props SergeyBiryukov. fixes #21106 for trunk. see #21152.



git-svn-id: https://develop.svn.wordpress.org/trunk@21737 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 20:27:14 +00:00
Andrew Nacin
dcb0d4fe80 Restore global references that broke the media and comment list tables. Todo, make list tables rely far less on global state. see #21309.
git-svn-id: https://develop.svn.wordpress.org/trunk@21736 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 18:23:51 +00:00
Ryan Boren
31ec698423 Use get_post() instead of global $post.
Make the $post argument to get_post() optional, defaulting to the current post in The Loop.

Props nacin
see #21309


git-svn-id: https://develop.svn.wordpress.org/trunk@21735 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 16:29:28 +00:00
Ryan Boren
9542f6ecd4 Use set_url_scheme() in the *_url() functions to keep things DRY. Props johnbillion. fixes #20759
git-svn-id: https://develop.svn.wordpress.org/trunk@21734 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 14:44:17 +00:00
potbot
6ebbd13547 POT, generated from r21732
git-svn-id: https://develop.svn.wordpress.org/trunk@21733 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 06:18:25 +00:00
Lance Willett
e08066df60 Twenty Twelve: remove executable bit from content-status.php, see r21726.
git-svn-id: https://develop.svn.wordpress.org/trunk@21732 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 05:53:14 +00:00
potbot
104f72ea40 POT, generated from r21728
git-svn-id: https://develop.svn.wordpress.org/trunk@21731 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 05:18:55 +00:00
Lance Willett
800e28a729 Twenty Twelve: s/Show Menu/Menu/ for clarity and simplicity, and maybe more semantic and accessible. Fixes #21783, props iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@21730 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 05:18:17 +00:00
Lance Willett
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@21729 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 05:14:46 +00:00
Lance Willett
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@21728 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 05:08:32 +00:00
bumpbot
a1a32b9013 Compress scripts/styles: 3.5-alpha-21727.
git-svn-id: https://develop.svn.wordpress.org/trunk@21727 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 05:07:20 +00:00
Lance Willett
8d29c1f2f8 Twenty Twelve: add support for Status post format. See #21743.
git-svn-id: https://develop.svn.wordpress.org/trunk@21726 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 05:00:19 +00:00
Lance Willett
cbe4880050 Twenty Twelve: review and remove unneeded overflow rules, and remove duplicate style block. Props obenland, fixes #21740.
git-svn-id: https://develop.svn.wordpress.org/trunk@21725 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 04:54:24 +00:00
Lance Willett
a7151bc80a Twenty Twelve: fix edit_post_link() inconsistencies, props obenland. Fixes #21722.
git-svn-id: https://develop.svn.wordpress.org/trunk@21723 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 04:17:49 +00:00
Daryl Koopersmith
aa1446319d Do not instantiate a Plupload instance when the wp-plupload bridge has neither a browse button nor a dropzone. fixes #21707.
git-svn-id: https://develop.svn.wordpress.org/trunk@21722 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 04:10:00 +00:00
Lance Willett
53e18e43f4 Twenty Twelve: remove justified text alignment rules for small screens. Closes #21385.
git-svn-id: https://develop.svn.wordpress.org/trunk@21721 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 03:58:24 +00:00
Lance Willett
866d1a2a8a Twenty Twelve: fix long word overflow in IE9 and FF15 by using word-wrap instead of word-break, fixes #21503.
git-svn-id: https://develop.svn.wordpress.org/trunk@21720 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 03:47:24 +00:00
Andrew Nacin
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@21718 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 03:36:19 +00:00
Andrew Nacin
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@21716 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 02:46:01 +00:00
Andrew Nacin
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).

Manually include functions.php in the rare situations where it
is not already included by the time we need to load translations
early.

Remove the functions.php dependency by switching the wp_die() calls
to die(), in wp_check_php_mysql_versions().

props SergeyBiryukov, see #21316, for trunk.




git-svn-id: https://develop.svn.wordpress.org/trunk@21715 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 02:38:37 +00:00
Andrew Nacin
be7d33f10d URL encode the theme stylesheet passed into wp_customize_url(). see #21749.
git-svn-id: https://develop.svn.wordpress.org/trunk@21713 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 23:58:30 +00:00
Andrew Nacin
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@21712 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 23:57:43 +00:00
Jon Cave
93cf4c66a0 Bump $wp_db_version for [21705]
git-svn-id: https://develop.svn.wordpress.org/trunk@21707 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 22:11:00 +00:00
Jon Cave
9ce4163dd7 Reinstate paged rewrite rules for the post permalink structure.
Removal of this stopped pagination working for bare category URLs when
certain %category% based permalink structures were in used.

Reverts one more piece of [19737]. Props SergeyBiryukov. See #21209.


git-svn-id: https://develop.svn.wordpress.org/trunk@21705 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 22:06:28 +00:00
Andrew Nacin
7981f50934 Fix placeholders in 'Welcome to WordPress' successful update messages. props SergeyBiryukov. see #21511.
git-svn-id: https://develop.svn.wordpress.org/trunk@21703 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 21:57:53 +00:00
Andrew Nacin
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.
props SergeyBiryukov.
see #21511.
for trunk.



git-svn-id: https://develop.svn.wordpress.org/trunk@21702 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 21:56:12 +00:00
Andrew Nacin
909cbd75b8 Fix oEmbed when the provider only supports XML responses.
[20539] removed string casts that would have taken place on SimpleXMLElement
objects, which implement toString. Instead, convert the SimpleXMLElement object
to a stdClass object before we leave _parse_xml(), for consistency with the
simple object returned from _parse_json().

see #20246.
for trunk.



git-svn-id: https://develop.svn.wordpress.org/trunk@21701 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 21:42:24 +00:00
Andrew Nacin
9a4bba9390 Only show network-only plugins in the network admin. props SergeyBiryukov. see #21187, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@21700 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 19:42:31 +00:00
bumpbot
1cf2f96b3c Compress scripts/styles: 3.5-alpha-21698.
git-svn-id: https://develop.svn.wordpress.org/trunk@21698 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 15:59:27 +00:00
Andrew Nacin
a7bc84096f Load the meta box sortables JS on the Edit Comment screen. props SergeyBiryukov. fixes #21499.
git-svn-id: https://develop.svn.wordpress.org/trunk@21697 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 15:39:06 +00:00