Commit Graph

7233 Commits

Author SHA1 Message Date
nbachiyski
9f5c506a9f Introduce and use translate_nooped_plural(). Fixes #13996
* _n_noop() and _nx_noop() now return associative arrays for greater clarity
 * translate_nooped_plural() takes one such associative array and translates it
 * it works on both the result from _n_noop() and from _nx_noop()
 * this breaks backwards compatibility, but I doubt any plugin uses it (I will do a global grep to confirm)
 * translate_nooped_plural() is applied where applicable


git-svn-id: http://svn.automattic.com/wordpress/trunk@16073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 13:12:14 +00:00
westi
e7ee7a2eaa If someone has defined WP_SHOW_ADMIN_BAR it wins period. Otherwise we break for things like XMLRPC which disable this always. See #14772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 07:44:02 +00:00
westi
693c1f6f60 More admin bar updates. See #14772 props filosofo.
Moves js out into seperate file.
Respects WP_SHOW_ADMIN_BAR.
Moved shortlink to top-level
Removed admin bar from non-multisite admin pages.
Set eol-style on new files.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 07:25:58 +00:00
westi
00cfb6bd82 Fix some notices when pinging
git-svn-id: http://svn.automattic.com/wordpress/trunk@16069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 07:07:28 +00:00
westi
4ef6fab485 Don't pass deprecated argument to discover_pingback_server_uri!
git-svn-id: http://svn.automattic.com/wordpress/trunk@16068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 07:06:48 +00:00
nacin
0552424317 Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064, fixes #15247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 00:31:27 +00:00
westi
c83e1d1ef3 Switch to using WP_HTTP_IXR_Client in core. See #10588.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 22:15:54 +00:00
westi
022e654b72 Introduce WP_HTTP_IXR_Client. Extends IXR_Client and switches it to using the WordPress HTTP API instead of fsockopen. See #10588 props andy and ryan.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 22:13:24 +00:00
westi
23edf3baa4 Ensure we always have a headers array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 22:11:16 +00:00
westi
1237f25dc6 Add a TODO to review this code later.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 22:00:53 +00:00
markjaquith
fc6e89da45 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:56:43 +00:00
ryan
15b56af964 Update wp-tinymce.js.gz. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:03:16 +00:00
scribu
568620021d Introduce get_terms_args filter. Fixes #15020
git-svn-id: http://svn.automattic.com/wordpress/trunk@16059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 19:09:18 +00:00
ryan
00925c6424 s/Read Site/Visit Site/. Props markmcwilliams. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@16058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 19:00:12 +00:00
scribu
bc5d96f856 Add terms_clauses filter. Props sc0ttkclark for initial patch. See #15020
git-svn-id: http://svn.automattic.com/wordpress/trunk@16056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 17:55:30 +00:00
ryan
d4ef5a4029 Lose the snack menu. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@16055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 17:29:44 +00:00
ryan
ec51413035 Typo fix. Props markmcwilliams. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@16054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 17:19:37 +00:00
scribu
88cdfd1d90 Make get_meta_sql() return associative array. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 17:02:37 +00:00
scribu
8e078d980c Remove duplicate file docs. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 16:28:58 +00:00
scribu
7312ccc847 Move WP_Object_Query to it's own file. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 16:27:18 +00:00
ryan
23948ab364 get_current_blog_id(). Props aaroncampbell. fixes #15233
git-svn-id: http://svn.automattic.com/wordpress/trunk@16050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 15:46:11 +00:00
scribu
354845e683 More precise role querying. Props johnbillion for initial patch. Fixes #12693
git-svn-id: http://svn.automattic.com/wordpress/trunk@16048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 13:26:16 +00:00
westi
f72c161adc phpDoc and a bug fix for the new media XMLRPC functions. See #15151 props koke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 12:12:59 +00:00
westi
13732ff5cc Comment it out better
git-svn-id: http://svn.automattic.com/wordpress/trunk@16045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 12:02:52 +00:00
westi
4699e8f58f Add a todo. See #14772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 12:01:44 +00:00
westi
717ef94b9b Missing part of the admin bar rework. See #14772 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 11:48:22 +00:00
westi
e87c0a1666 Debug should be a plugin not a core feature for now. See #14772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 08:48:52 +00:00
westi
cb9f9db1fb Revert [16039]. Wasn't as much junk as it looked :-( See #14772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 08:45:35 +00:00
westi
418e9d705d Strip out some junk from trunk. See #14772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 08:35:55 +00:00
westi
22839d2a49 Admin bar cleanup. See #14772 props filosofo.
Moves CSS into seperate files.
Patch cleanup included moving function call arguments back on to one line where not necessary to split them.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 08:31:36 +00:00
westi
fed42ecdf1 Purger more create_function usage during autop and iso descrambling. See #14424 props ScottMac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 07:38:00 +00:00
westi
5169f2036c Remove create_function usage during preview. See #14424 props ScottMac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 07:25:30 +00:00
nacin
cec34630c8 Doc fix for get_author_posts_url. props simonwheatley, fixes #14249.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 07:15:23 +00:00
nacin
7c92b4ca0d Use esc_html. Ancient, deprecated functions, but a valid fix nonetheless. fixes #14199.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 06:30:59 +00:00
nacin
df7f5821db Use correct variable. props linguasite, fixes #14141.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 05:58:49 +00:00
nacin
16d0878544 Remove unnecessary wp_cache_delete calls. props shidouhikari, fixes #14080.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 05:22:45 +00:00
nacin
a07ec69bce Add a class to 'Your comment is awaiting moderation' in the comment walker and Twenty Ten's callback. fixes #15206.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 03:58:51 +00:00
nacin
71815b682c Use call_user_func for wpnique_filename callback. fixes #14627.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 22:27:06 +00:00
scribu
0ca1e83f76 Set additional fields when searching. Fixes #15211
git-svn-id: http://svn.automattic.com/wordpress/trunk@16022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 20:17:00 +00:00
scribu
4eb0f634b2 Trigger activation hooks for netork plugins when new site is created. See #14170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 19:41:59 +00:00
scribu
8333876a68 Make comment clauses more similar to post clauses. See #15019
git-svn-id: http://svn.automattic.com/wordpress/trunk@16020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 19:05:39 +00:00
scribu
1ce593e3de Add filters to WP_Comment_Query. Props sc0ttkclark. Fixes #15019
git-svn-id: http://svn.automattic.com/wordpress/trunk@16019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 18:49:45 +00:00
scribu
9bb5485853 Move get() and set() methods from WP_Query to WP_Object_Query. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 18:16:52 +00:00
scribu
8a95232377 Fix inconsistencies in metadata filters. Props sc0ttkclark. See #14766
git-svn-id: http://svn.automattic.com/wordpress/trunk@16017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 17:45:08 +00:00
westi
b0969c8e5b First pass at 'wp.getMediaItem' and
'wp.getMediaLibrary'. See #15151 props koke.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 17:20:46 +00:00
westi
2f7035c68d Restore the (at most 15) on the Recent Posts Widgets UI - Accidentally removed as part of [14483].
git-svn-id: http://svn.automattic.com/wordpress/trunk@16013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 14:10:47 +00:00
nacin
dab1e8301c Improve the line height on div.updated, div.error. props joelhardi, fixes #14891.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 11:57:55 +00:00
nacin
05fde90357 Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 10:46:24 +00:00
nacin
9f9f5205b0 Fix some encoding issues. props hakre, fixes #14735.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 09:54:17 +00:00
nacin
51b4b138af Add a 'Sticky' filter on the edit posts page. Add post_in and post_not_in as private query vars in the WP class to support this. fixes #8466.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 08:27:45 +00:00