Commit Graph

9239 Commits

Author SHA1 Message Date
ryan
afcce70613 Space between if and open paren
git-svn-id: http://svn.automattic.com/wordpress/trunk@19864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 14:54:15 +00:00
ryan
a575cd242e Switch post_content_filtered from text to longtext so that it matches post_content. Props ejdanderson. fixes #19387
git-svn-id: http://svn.automattic.com/wordpress/trunk@19863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 14:51:18 +00:00
nacin
81bb2f7ed7 Use is_rtl() for html direction when possible. In sites.php, language_attributes() will always exist (MU vestige). When the DB is dead, language_attributes() is worse than a simple is_rtl() check. is_rtl() exists here due to wp_load_translations_early(). see #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 06:05:35 +00:00
bumpbot
a9daac7bec Compress scripts/styles: 3.4-alpha-19861.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 06:00:51 +00:00
ryan
391fd02047 Add an "Edit Site" submenu to the admin bar site menu when a super admin visits a blog dashboard. see #18188
git-svn-id: http://svn.automattic.com/wordpress/trunk@19855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 18:35:29 +00:00
bumpbot
afb70b3f36 Compress scripts/styles: 3.4-alpha-19854.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 18:30:51 +00:00
nacin
72c995441a Allow localized commas to be used as tag separators. see #7897.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 18:06:12 +00:00
nacin
86596214bd Simplify matching code. see #19670.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 17:44:29 +00:00
ryan
f66cb09abc Update color scheme definition for Gray Theme. Props chexee. fixes #17818
git-svn-id: http://svn.automattic.com/wordpress/trunk@19851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 17:20:02 +00:00
ryan
1438d03330 Fix notices. Simplify checkbox logic. Props SergeyBiryukov. fixes #19670
git-svn-id: http://svn.automattic.com/wordpress/trunk@19850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 17:12:46 +00:00
ryan
572242350a Upgrade PHPMailer to 5.2.1. Props MattyRob. fixes #19887
git-svn-id: http://svn.automattic.com/wordpress/trunk@19849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 16:13:51 +00:00
westi
4cb4acb372 XMLRPC: Introduce new create,read,update and delete XMLRPC apis for Posts, Pages and all Custom Post Types.
Introduces: wp.newPost, wp.editPost, wp.deletePost, wp.getPost, and wp.getPosts
See #18429, #18430, #18431, #18432, and #18433 props maxcutler and markoheijnen.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 11:33:39 +00:00
bumpbot
1d56601e4c Compress scripts/styles: 3.4-alpha-19847.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 23:31:17 +00:00
azaozz
1b7a42d993 Click empty toolbar to scroll to top, props ericmann, fixes #18758
git-svn-id: http://svn.automattic.com/wordpress/trunk@19846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 23:17:28 +00:00
bumpbot
69326c8063 Compress scripts/styles: 3.4-alpha-19841.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 21:00:50 +00:00
bumpbot
60c5026d4b Compress scripts/styles: 3.4-alpha-19839.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 20:00:50 +00:00
duck_
6b5a66022c Echo "WordPress.org" as well as translating it in the Meta widget. See #19603.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 19:52:42 +00:00
nacin
006c6b6b9d Add a translator's comment. see #19924.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 19:43:26 +00:00
nacin
1d5e72a39c Do RTL detection based on a translated string, rather than a hardcoded list. Makes things a bit cleaner. fixes #19924, fixes #19600.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 19:36:24 +00:00
nacin
bcf460d02e Translate TinyMCE's spellchecker languages. props SergeyBiryukov, fixes #19962.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 19:13:06 +00:00
azaozz
909e20ed27 Move an unsightly semicolon to where it belongs in wp_localize_script(), props tw2113, fixes #19830
git-svn-id: http://svn.automattic.com/wordpress/trunk@19832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 18:52:57 +00:00
azaozz
3a5832e1f2 Update TinyMCE to 3.4.8, fixes #19969, fixes #19936, fixes #19741
git-svn-id: http://svn.automattic.com/wordpress/trunk@19830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 22:23:27 +00:00
nacin
56633093fd Use translate, not translate with context. props azaozz. see #19603.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 18:37:53 +00:00
bumpbot
813a2dfdac Compress scripts/styles: 3.4-alpha-19827.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 01:16:30 +00:00
nacin
068819c1d5 Translate another http://wordpress.org/ link. see #19603.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 20:16:58 +00:00
nacin
0acbde2f56 Return an empty object properly. see #17242.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-03 13:38:03 +00:00
ryan
c43ddd7284 Allow flexible sizes for custom header uploads. Round 1. Props aaroncampbell, sabreuse. see #17242
git-svn-id: http://svn.automattic.com/wordpress/trunk@19815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-02 23:35:37 +00:00
bumpbot
7faa30a11c Compress scripts/styles: 3.4-alpha-19814.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 22:41:34 +00:00
nacin
1098f33984 Don't create a variable we only use once. props niallkennedy, fixes #19941.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 22:33:43 +00:00
duck_
b6edf3ddd2 Pages must be paged (/page/x/) to allow for the page_for_posts option. See #19876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 19:19:32 +00:00
bumpbot
f9f2bb6bd9 Compress scripts/styles: 3.4-alpha-19805.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:43:00 +00:00
nacin
bd5d732b05 Compress CSS/JS using the latest version of YUI Compressor, 2.4.7. Removes final semicolon in a CSS declaration block. Previously, committers used 2.4.2. see #19592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-01 14:37:52 +00:00
nacin
acd0f7c375 Re-purpose wp_die() for ajax responses.
* Allows unit testing of core ajax actions.
 * wp_die() now has separate filters to choose a handler depending on the context (ajax, XML-RPC, else).
 * wp_die) in ajax context does not need to be called with a string. Conversion takes place before die().
props kurtpayne, see #15327.



git-svn-id: http://svn.automattic.com/wordpress/trunk@19801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 22:12:58 +00:00
bumpbot
8bd826e43b Compress scripts/styles: 3.4-alpha-19800.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 19:59:09 +00:00
ryan
5fd633b48b Drop the comment_approved index from the comments table. comment_approved_date_gmt is sufficient. fixes #19935
git-svn-id: http://svn.automattic.com/wordpress/trunk@19799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 18:26:07 +00:00
ryan
0f80145c67 Drop the blog_id column from the options table during upgrade. Props barry. fixes #17188
git-svn-id: http://svn.automattic.com/wordpress/trunk@19798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 17:45:22 +00:00
nacin
ecedc9152f Only set text_direction based on a locale being RTL if we successfully loaded a locale.mo file. Otherwise we may be in RTL land based on a WPLANG constant but nothing else. fixes #19924.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 14:30:36 +00:00
nacin
2aec12b287 wptexturize() does not need to staticize variables it only uses to set up variables it needs statically. see #19602.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 14:28:30 +00:00
nacin
1b7effa6eb Allow the single quotes, apostrophes, and primes in wptexturize() to be translated. Allows replacements to be disabled by translating them back to " and '. fixes #19602.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-31 14:06:32 +00:00
ryan
36d2989fed Remove blog_id column from wp_options. Props scribu. fixes #17188
git-svn-id: http://svn.automattic.com/wordpress/trunk@19793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-30 20:47:25 +00:00
nacin
ce311c1035 Load admin-$locale.mo in setup-config.php. see #19852, see #18180.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 20:49:34 +00:00
nacin
bdd70470e2 Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440. see #5517.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-29 19:56:33 +00:00
duck_
2f4c545761 Use new $args parameter for (WP_Rewrite::)add_permastruct(). Fixes #16092.
Use array_intersect_key() to keep WP_Rewrite::$extra_permastructs free of unnecessary/unknown keys + values.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-28 21:00:59 +00:00
duck_
779cf2bad5 Redirect bare category URLs for permalink structures starting with %category%. Fixes #19876.
When using a structure like /%category%/%postname%/ it might be thought that /uncategorized/
(missing the "/category/" base) results in the category archive. Previously this worked due to
$walk_dirs = true for the post permalink structure, but canonical didn't redirect it. Now
there is no rewrite rule to match => 404. The fix is to use a canonical redirect.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-28 20:40:55 +00:00
westi
85a5ede786 Correct the datatype for the skip_frames argument in the phpDoc props Rarst.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-28 14:36:16 +00:00
duck_
cd4b65c7eb Separated into 3 commits for good luck. See r19775.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-28 12:37:08 +00:00
westi
f94f228013 Separating my commits so that my spelling mistakes are plain for everyone to see. Fix another mistake props duck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-28 12:32:55 +00:00
westi
62bf836878 Fix my spelling mistakes and typos in the wp_debug_backtrace_summary() phpDoc props duck_ see #19589.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-28 12:25:58 +00:00
westi
cff0e266a4 Refactor WPDB::get_caller() into wp_debug_backtrace_summary() and improve the functionality to provide enhanced context and a standardised default pretty format. Fixes #19589
git-svn-id: http://svn.automattic.com/wordpress/trunk@19773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-28 11:56:50 +00:00
ryan
b2d61dab8a Load the new admin and network admin mo files, if present. see #19852
git-svn-id: http://svn.automattic.com/wordpress/trunk@19772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-27 22:19:56 +00:00