Commit Graph

18096 Commits

Author SHA1 Message Date
Ryan Boren
1597835e12 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: https://develop.svn.wordpress.org/trunk@19887 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 17:20:26 +00:00
Ryan Boren
88b6f54e07 Exclude user_url from default user search columns for large networks. fixes #19999
git-svn-id: https://develop.svn.wordpress.org/trunk@19886 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-09 17:15:24 +00:00
Joseph Scott
0ae4ea81c1 Provide the attachment_id of a media item in the XML-RPC call wp.getMediaItem.
Props skithund
Fixes #18683


git-svn-id: https://develop.svn.wordpress.org/trunk@19885 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 23:32:25 +00:00
Joseph Scott
08160dcccf Expose image_default_link_type, image_default_size, and image_default_align
options via XML-RPC

Props koke
Fixes #18126


git-svn-id: https://develop.svn.wordpress.org/trunk@19884 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 23:28:23 +00:00
Joseph Scott
42ed9afd4c Expose the post modified date (in blog TZ and GMT) via XML-RPC
Props ocollet
Fixes #19027


git-svn-id: https://develop.svn.wordpress.org/trunk@19883 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 23:25:11 +00:00
Andrew Nacin
8d80cff84d 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: https://develop.svn.wordpress.org/trunk@19882 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 21:48:47 +00:00
Jon Cave
1f9b62bf85 Prevent undefined index notices in do_enclose(). Props jeremyclarke. Fixes #19865.
git-svn-id: https://develop.svn.wordpress.org/trunk@19881 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 20:55:18 +00:00
Andrew Nacin
7e305ea285 In case of 404, redirect /login, /dashboard, /admin to corresponding WP equivalents. fixes #19607.
git-svn-id: https://develop.svn.wordpress.org/trunk@19880 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 20:11:52 +00:00
Andrew Nacin
9c98b02e1d Combine two strings. props kenan3008, see #18429.
git-svn-id: https://develop.svn.wordpress.org/trunk@19879 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 18:50:25 +00:00
Andrew Nacin
a3055f1031 Let wp-admin work as well as wp-admin/ for the canonical redirect. see #19607.
git-svn-id: https://develop.svn.wordpress.org/trunk@19878 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 18:03:25 +00:00
Andrew Nacin
e91cbc3190 Use correct variable. see #19607.
git-svn-id: https://develop.svn.wordpress.org/trunk@19877 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 17:14:52 +00:00
Jon Cave
a60932bf66 Post formats should show_in_nav_menus when the current theme supports them. Props filosofo, nacin. Fixes #16390.
git-svn-id: https://develop.svn.wordpress.org/trunk@19876 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 17:12:02 +00:00
Andrew Nacin
358d6b6384 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: https://develop.svn.wordpress.org/trunk@19875 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 17:08:13 +00:00
Andrew Nacin
0b04f6afc5 Tabs, not spaces. Props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@19874 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 17:05:40 +00:00
Ryan Boren
62cccd2642 s/_wp_insertPost/_insert_post/. Helper funcs should follow core rather than xmlrpc style. see #18429
git-svn-id: https://develop.svn.wordpress.org/trunk@19873 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 17:00:19 +00:00
Andrew Nacin
51ded65294 Coverage for load-scripts.php. fixes #19959.
git-svn-id: https://develop.svn.wordpress.org/trunk@19872 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 16:15:24 +00:00
Andrew Nacin
0c751dd7a3 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: https://develop.svn.wordpress.org/trunk@19871 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 16:12:11 +00:00
Andrew Nacin
d583f37634 Introduce 'relative' scheme to return only the paths for home_url, site, admin, network_, and get_ variants. props SergeyBiryukov, see #18952.
git-svn-id: https://develop.svn.wordpress.org/trunk@19870 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 16:09:41 +00:00
Ryan Boren
b44aafa79d Formatting cleanup. see #18429
git-svn-id: https://develop.svn.wordpress.org/trunk@19869 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 16:04:58 +00:00
Jon Cave
99fbbdbd4a Mark wp_editPost() documentation as docblock. See #18429.
git-svn-id: https://develop.svn.wordpress.org/trunk@19868 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 16:03:31 +00:00
Ryan Boren
1496151d54 Simplify cap checking. Props nprasath002. see #18429
git-svn-id: https://develop.svn.wordpress.org/trunk@19867 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 15:40:26 +00:00
Andrew Nacin
be343dba2c Use [\r\n\t ], not [\s], to prevent issues with some UTF-8 characters. props SergeyBiryukov, fixes #19033.
git-svn-id: https://develop.svn.wordpress.org/trunk@19866 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 15:35:22 +00:00
Andrew Nacin
b90754dbca 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: https://develop.svn.wordpress.org/trunk@19865 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 15:29:24 +00:00
Ryan Boren
6fe3f7639e Space between if and open paren
git-svn-id: https://develop.svn.wordpress.org/trunk@19864 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 14:54:15 +00:00
Ryan Boren
6622691fbf Switch post_content_filtered from text to longtext so that it matches post_content. Props ejdanderson. fixes #19387
git-svn-id: https://develop.svn.wordpress.org/trunk@19863 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 14:51:18 +00:00
Andrew Nacin
0c59eacb55 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: https://develop.svn.wordpress.org/trunk@19862 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 06:05:35 +00:00
bumpbot
5bc782d896 Compress scripts/styles: 3.4-alpha-19861.
git-svn-id: https://develop.svn.wordpress.org/trunk@19861 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 06:00:51 +00:00
Andrew Nacin
958b85d7a4 Add some RTL misses for setup-config. props SergeyBiryukov, fixes #18180.
git-svn-id: https://develop.svn.wordpress.org/trunk@19860 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-08 05:55:54 +00:00
Jon Cave
cd097b5b6a Bump WXR_VERSION because of r19858 which affects the regex based importer. See #15203.
git-svn-id: https://develop.svn.wordpress.org/trunk@19859 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 21:51:14 +00:00
Jon Cave
7efe34d79d Export valid XML by escaping the closing CDATA sequence "]]>". Props ceefour. See #15203.
git-svn-id: https://develop.svn.wordpress.org/trunk@19858 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 21:48:45 +00:00
Ryan Boren
7cd04da2e6 Change feature filter from post to get so feature selections aren't lost when paging. Props SergeyBiryukov. fixes #18094
git-svn-id: https://develop.svn.wordpress.org/trunk@19857 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 21:06:52 +00:00
Andrew Nacin
5d78454d4c Allow comment.php?action=editcomment to be accessible for a comment that is spam. props josephscott, fixes #19977, see #18340.
git-svn-id: https://develop.svn.wordpress.org/trunk@19856 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 19:13:30 +00:00
Ryan Boren
975135c1d1 Add an "Edit Site" submenu to the admin bar site menu when a super admin visits a blog dashboard. see #18188
git-svn-id: https://develop.svn.wordpress.org/trunk@19855 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 18:35:29 +00:00
bumpbot
15c9daa5b9 Compress scripts/styles: 3.4-alpha-19854.
git-svn-id: https://develop.svn.wordpress.org/trunk@19854 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 18:30:51 +00:00
Andrew Nacin
092808ead8 Allow localized commas to be used as tag separators. see #7897.
git-svn-id: https://develop.svn.wordpress.org/trunk@19853 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 18:06:12 +00:00
Andrew Nacin
7391c909df Simplify matching code. see #19670.
git-svn-id: https://develop.svn.wordpress.org/trunk@19852 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 17:44:29 +00:00
Ryan Boren
dc41877dc9 Update color scheme definition for Gray Theme. Props chexee. fixes #17818
git-svn-id: https://develop.svn.wordpress.org/trunk@19851 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 17:20:02 +00:00
Ryan Boren
b495757102 Fix notices. Simplify checkbox logic. Props SergeyBiryukov. fixes #19670
git-svn-id: https://develop.svn.wordpress.org/trunk@19850 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 17:12:46 +00:00
Ryan Boren
6425c0ff31 Upgrade PHPMailer to 5.2.1. Props MattyRob. fixes #19887
git-svn-id: https://develop.svn.wordpress.org/trunk@19849 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 16:13:51 +00:00
Peter Westwood
9f8a83a3c1 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: https://develop.svn.wordpress.org/trunk@19848 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 11:33:39 +00:00
bumpbot
6e70033528 Compress scripts/styles: 3.4-alpha-19847.
git-svn-id: https://develop.svn.wordpress.org/trunk@19847 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 23:31:17 +00:00
Andrew Ozz
5c2650abc8 Click empty toolbar to scroll to top, props ericmann, fixes #18758
git-svn-id: https://develop.svn.wordpress.org/trunk@19846 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 23:17:28 +00:00
Andrew Nacin
bd5c1f88e9 Move the wp_enqueue_style() to header.php. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19845 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 23:07:41 +00:00
Andrew Nacin
2746fd144a Freshen up the docs in functions.php. Remove is_admin() check from twentytwelve_enqueue_scripts(). Remove function_exists() wrappers from functions that are hooked in. Kill locale.php handling. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19844 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 23:04:56 +00:00
Andrew Nacin
7349d46c0e Synchronize archive.php docs with Twenty Eleven. Go easy on the PHP/HTML context switching. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19843 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 22:37:45 +00:00
Matt Mullenweg
94729a8a40 Initial import of the Twenty Twelve theme, by Drew Strojny. This time around we're trying something different than the previous twenty-something themes, a much more minimalist approach that affords easy use as a CMS in addition to being blog-forward. More information will be on wpdevel soon. Props drewstrojny and lancewillett.
git-svn-id: https://develop.svn.wordpress.org/trunk@19842 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 22:23:41 +00:00
bumpbot
a87e3742f9 Compress scripts/styles: 3.4-alpha-19841.
git-svn-id: https://develop.svn.wordpress.org/trunk@19841 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 21:00:50 +00:00
Ryan Boren
f8dc7fe757 Hide theme details by default. Props helenyhou, DH-Shredder. fixes #19853
git-svn-id: https://develop.svn.wordpress.org/trunk@19840 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 20:54:01 +00:00
bumpbot
b6c9842068 Compress scripts/styles: 3.4-alpha-19839.
git-svn-id: https://develop.svn.wordpress.org/trunk@19839 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 20:00:50 +00:00
Jon Cave
8039f91954 Echo "WordPress.org" as well as translating it in the Meta widget. See #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@19838 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:52:42 +00:00