duck_
0d06815963
Fix incorrect pending comment count updates for filtered views. Fixes #19905 .
...
Pass the difference (i.e. 1 or -1) to updatePending() so that the current
pending count is changed for each element independently. Also move several
functions back out of the global scope, see r17832 for their introduction.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 23:29:24 +00:00
bumpbot
10222bac79
Compress scripts/styles: 3.4-alpha-19894.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 22:00:49 +00:00
ryan
5cb35a7dfb
Infinite scroll for themes.php and theme-install.php. Bump per page limit for themes.php to 999. Props helenyhou, DH-Shredder. see #19815
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 21:40:46 +00:00
ryan
b0eb479cc2
404 non-existant pages. Make handle_404() readable. Props benbalter, nacin. fixes #15770
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 21:04:36 +00:00
ryan
f483d85de2
Switch from Net_IPv6 to SimplePie_Net_IPv6. Props stephdau, rmccue. fixes #19991
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 20:17:23 +00:00
ryan
b447ad26e6
Upgrade SimplePie to 1.2.1. Props nacin. fixes #18309
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 20:15:22 +00:00
ryan
3975e5e0d2
Add refresh_blog_details action. Props mdawaffe. fixes #19987
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 19:53:53 +00:00
bumpbot
03791d4ad6
Compress scripts/styles: 3.4-alpha-19888.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 17:30:50 +00:00
ryan
723bb1a99c
Infinite scroll for themes.php and theme-install.php. Bump per page limit for themes.php to 999. Props helenyhou, DH-Shredder. see #19815
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 17:20:26 +00:00
ryan
0da56e5c15
Exclude user_url from default user search columns for large networks. fixes #19999
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-09 17:15:24 +00:00
josephscott
bd6038ce1a
Provide the attachment_id of a media item in the XML-RPC call wp.getMediaItem.
...
Props skithund
Fixes #18683
git-svn-id: http://svn.automattic.com/wordpress/trunk@19885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 23:32:25 +00:00
josephscott
d116969cef
Expose image_default_link_type, image_default_size, and image_default_align
...
options via XML-RPC
Props koke
Fixes #18126
git-svn-id: http://svn.automattic.com/wordpress/trunk@19884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 23:28:23 +00:00
josephscott
ce4e3dc47b
Expose the post modified date (in blog TZ and GMT) via XML-RPC
...
Props ocollet
Fixes #19027
git-svn-id: http://svn.automattic.com/wordpress/trunk@19883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 23:25:11 +00:00
nacin
cf22bbb523
Add search_columns arg to WP_User_Query to allow for explicit column choices. Without it, the columns will be detected based on the search term. see #19810 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 21:48:47 +00:00
duck_
6025a35ccf
Prevent undefined index notices in do_enclose(). Props jeremyclarke. Fixes #19865 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 20:55:18 +00:00
nacin
d06722b8ac
In case of 404, redirect /login, /dashboard, /admin to corresponding WP equivalents. fixes #19607 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 20:11:52 +00:00
nacin
a0ec80fff3
Combine two strings. props kenan3008, see #18429 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 18:50:25 +00:00
nacin
6300514de7
Let wp-admin work as well as wp-admin/ for the canonical redirect. see #19607 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 18:03:25 +00:00
nacin
71c82d0eaf
Use correct variable. see #19607 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 17:14:52 +00:00
duck_
312e1f1811
Post formats should show_in_nav_menus when the current theme supports them. Props filosofo, nacin. Fixes #16390 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 17:12:02 +00:00
nacin
ef1e76a833
When WordPress is in a subdirectory (home URL != site URL), let home/wp-admin and home/wp-login.php redirect to their proper locations. props greuben for initial patch, fixes #19607 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 17:08:13 +00:00
nacin
6ef54c2016
Tabs, not spaces. Props PeteMall.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 17:05:40 +00:00
ryan
391fd7003d
s/_wp_insertPost/_insert_post/. Helper funcs should follow core rather than xmlrpc style. see #18429
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 17:00:19 +00:00
nacin
a0b0149065
Coverage for load-scripts.php. fixes #19959 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 16:15:24 +00:00
nacin
bfeb575df9
Use relative paths for admin-ajax.php to avoid cross-domain issues with IDN domains in IE and Opera. props SergeyBiryukov, fixes #18952 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 16:12:11 +00:00
nacin
eef151f568
Introduce 'relative' scheme to return only the paths for home_url, site, admin, network_, and get_ variants. props SergeyBiryukov, see #18952 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 16:09:41 +00:00
ryan
4c3c859461
Formatting cleanup. see #18429
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 16:04:58 +00:00
duck_
357fc30771
Mark wp_editPost() documentation as docblock. See #18429 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 16:03:31 +00:00
ryan
7a136d0bf9
Simplify cap checking. Props nprasath002. see #18429
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 15:40:26 +00:00
nacin
d3cd671bce
Use [\r\n\t ], not [\s], to prevent issues with some UTF-8 characters. props SergeyBiryukov, fixes #19033 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 15:35:22 +00:00
nacin
e82da3b730
Wait until init to fire wp_default_scripts. Fixes localization issues when a plugin calls wp_enqueue_script() too early (in spite of the _doing_it_wrong warning signs added in #11526 ). fixes #19959 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 15:29:24 +00:00
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
nacin
0f8515abd9
Add some RTL misses for setup-config. props SergeyBiryukov, fixes #18180 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 05:55:54 +00:00
duck_
4d600fe454
Bump WXR_VERSION because of r19858 which affects the regex based importer. See #15203 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:51:14 +00:00
duck_
6f343f700f
Export valid XML by escaping the closing CDATA sequence "]]>". Props ceefour. See #15203 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:48:45 +00:00
ryan
c1f604e78e
Change feature filter from post to get so feature selections aren't lost when paging. Props SergeyBiryukov. fixes #18094
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 21:06:52 +00:00
nacin
2f9f7e3280
Allow comment.php?action=editcomment to be accessible for a comment that is spam. props josephscott, fixes #19977 , see #18340 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 19:13:30 +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