Commit Graph

7290 Commits

Author SHA1 Message Date
Peter Westwood b5025d2b5b Only show it as the Global Dashboard if multisite. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16080 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 15:45:29 +00:00
Ryan Boren d2dd8df29f Add Updates menu to admin bar. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16079 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 15:36:45 +00:00
Ryan Boren 3c374b177c Add Appearance menu to admin bar. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16078 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 15:26:36 +00:00
Ryan Boren 81b8a20429 Beginnings of new admin bar organization. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16077 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 15:17:22 +00:00
Peter Westwood bcd5c65438 Don't show a shortlink button if we don't have one. See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16076 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:58:14 +00:00
Nikolay Bachiyski 94ed154f65 Retain backwards compatiblity for the few plugins using _n_noop()
git-svn-id: https://develop.svn.wordpress.org/trunk@16075 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:37:03 +00:00
Ryan Boren 71dd59892d Fix typo. Props filosofo. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16074 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:27:52 +00:00
Nikolay Bachiyski 1937c1221d 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: https://develop.svn.wordpress.org/trunk@16073 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:12:14 +00:00
Peter Westwood 8e0ad0374e 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: https://develop.svn.wordpress.org/trunk@16071 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 07:44:02 +00:00
Peter Westwood a80db4c779 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: https://develop.svn.wordpress.org/trunk@16070 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 07:25:58 +00:00
Peter Westwood 743606fac1 Fix some notices when pinging
git-svn-id: https://develop.svn.wordpress.org/trunk@16069 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 07:07:28 +00:00
Peter Westwood c8366c5966 Don't pass deprecated argument to discover_pingback_server_uri!
git-svn-id: https://develop.svn.wordpress.org/trunk@16068 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 07:06:48 +00:00
Andrew Nacin e2dfe4f5c2 Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064, fixes #15247.
git-svn-id: https://develop.svn.wordpress.org/trunk@16066 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 00:31:27 +00:00
Peter Westwood 4cc293abd2 Switch to using WP_HTTP_IXR_Client in core. See #10588.
git-svn-id: https://develop.svn.wordpress.org/trunk@16065 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 22:15:54 +00:00
Peter Westwood a7d5b1d473 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: https://develop.svn.wordpress.org/trunk@16064 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 22:13:24 +00:00
Peter Westwood f744dcac07 Ensure we always have a headers array.
git-svn-id: https://develop.svn.wordpress.org/trunk@16063 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 22:11:16 +00:00
Peter Westwood 1fecd2b99c Add a TODO to review this code later.
git-svn-id: https://develop.svn.wordpress.org/trunk@16062 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 22:00:53 +00:00
Mark Jaquith d65cdf4ba8 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Ryan Boren bd29ca8eeb Update wp-tinymce.js.gz. see #11420
git-svn-id: https://develop.svn.wordpress.org/trunk@16060 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:03:16 +00:00
scribu d72c69b7b6 Introduce get_terms_args filter. Fixes #15020
git-svn-id: https://develop.svn.wordpress.org/trunk@16059 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 19:09:18 +00:00
Ryan Boren d74685e477 s/Read Site/Visit Site/. Props markmcwilliams. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16058 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 19:00:12 +00:00
scribu 34ca745a55 Add terms_clauses filter. Props sc0ttkclark for initial patch. See #15020
git-svn-id: https://develop.svn.wordpress.org/trunk@16056 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 17:55:30 +00:00
Ryan Boren c28835809e Lose the snack menu. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16055 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 17:29:44 +00:00
Ryan Boren 8223646c58 Typo fix. Props markmcwilliams. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16054 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 17:19:37 +00:00
scribu 0ba17a703a Make get_meta_sql() return associative array. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16053 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 17:02:37 +00:00
scribu 554cf6319b Remove duplicate file docs. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16052 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 16:28:58 +00:00
scribu 8c293b9d94 Move WP_Object_Query to it's own file. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16051 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 16:27:18 +00:00
Ryan Boren 2184a5d0f6 get_current_blog_id(). Props aaroncampbell. fixes #15233
git-svn-id: https://develop.svn.wordpress.org/trunk@16050 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 15:46:11 +00:00
scribu 35362272f1 More precise role querying. Props johnbillion for initial patch. Fixes #12693
git-svn-id: https://develop.svn.wordpress.org/trunk@16048 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 13:26:16 +00:00
Peter Westwood 6c0440291b phpDoc and a bug fix for the new media XMLRPC functions. See #15151 props koke.
git-svn-id: https://develop.svn.wordpress.org/trunk@16046 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 12:12:59 +00:00
Peter Westwood 75e6391410 Comment it out better
git-svn-id: https://develop.svn.wordpress.org/trunk@16045 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 12:02:52 +00:00
Peter Westwood 6fd3027f4e Add a todo. See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16044 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 12:01:44 +00:00
Peter Westwood c0c3167621 Missing part of the admin bar rework. See #14772 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@16043 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 11:48:22 +00:00
Peter Westwood c3a0a1919b Debug should be a plugin not a core feature for now. See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16042 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:48:52 +00:00
Peter Westwood 20c34b481c Revert [16039]. Wasn't as much junk as it looked :-( See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16041 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:45:35 +00:00
Peter Westwood 080daa9752 Strip out some junk from trunk. See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16039 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:35:55 +00:00
Peter Westwood 4c79038cfe 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: https://develop.svn.wordpress.org/trunk@16038 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:31:36 +00:00
Peter Westwood 27b777b4a6 Purger more create_function usage during autop and iso descrambling. See #14424 props ScottMac.
git-svn-id: https://develop.svn.wordpress.org/trunk@16035 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 07:38:00 +00:00
Peter Westwood 82d2869415 Remove create_function usage during preview. See #14424 props ScottMac.
git-svn-id: https://develop.svn.wordpress.org/trunk@16034 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 07:25:30 +00:00
Andrew Nacin 81c93c3e1f Doc fix for get_author_posts_url. props simonwheatley, fixes #14249.
git-svn-id: https://develop.svn.wordpress.org/trunk@16033 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 07:15:23 +00:00
Andrew Nacin e07a1d59c6 Use esc_html. Ancient, deprecated functions, but a valid fix nonetheless. fixes #14199.
git-svn-id: https://develop.svn.wordpress.org/trunk@16031 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 06:30:59 +00:00
Andrew Nacin 2c833277b2 Use correct variable. props linguasite, fixes #14141.
git-svn-id: https://develop.svn.wordpress.org/trunk@16030 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 05:58:49 +00:00
Andrew Nacin af1bafa67b Remove unnecessary wp_cache_delete calls. props shidouhikari, fixes #14080.
git-svn-id: https://develop.svn.wordpress.org/trunk@16029 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 05:22:45 +00:00
Andrew Nacin 7b6f24eeeb Add a class to 'Your comment is awaiting moderation' in the comment walker and Twenty Ten's callback. fixes #15206.
git-svn-id: https://develop.svn.wordpress.org/trunk@16028 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 03:58:51 +00:00
Andrew Nacin 4bd893efd3 Use call_user_func for wpnique_filename callback. fixes #14627.
git-svn-id: https://develop.svn.wordpress.org/trunk@16025 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 22:27:06 +00:00
scribu b2f927ed76 Set additional fields when searching. Fixes #15211
git-svn-id: https://develop.svn.wordpress.org/trunk@16022 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 20:17:00 +00:00
scribu 9c918c6a05 Trigger activation hooks for netork plugins when new site is created. See #14170
git-svn-id: https://develop.svn.wordpress.org/trunk@16021 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 19:41:59 +00:00
scribu 665b15790d Make comment clauses more similar to post clauses. See #15019
git-svn-id: https://develop.svn.wordpress.org/trunk@16020 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 19:05:39 +00:00
scribu 1f23d12a79 Add filters to WP_Comment_Query. Props sc0ttkclark. Fixes #15019
git-svn-id: https://develop.svn.wordpress.org/trunk@16019 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 18:49:45 +00:00
scribu 174c0acfb4 Move get() and set() methods from WP_Query to WP_Object_Query. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16018 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 18:16:52 +00:00
scribu 9cc035e926 Fix inconsistencies in metadata filters. Props sc0ttkclark. See #14766
git-svn-id: https://develop.svn.wordpress.org/trunk@16017 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 17:45:08 +00:00
Peter Westwood c33811d3e7 First pass at 'wp.getMediaItem' and
'wp.getMediaLibrary'. See #15151 props koke.

git-svn-id: https://develop.svn.wordpress.org/trunk@16016 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 17:20:46 +00:00
Peter Westwood 91d456e319 Restore the (at most 15) on the Recent Posts Widgets UI - Accidentally removed as part of [14483].
git-svn-id: https://develop.svn.wordpress.org/trunk@16013 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 14:10:47 +00:00
Andrew Nacin dfa3d5561d Improve the line height on div.updated, div.error. props joelhardi, fixes #14891.
git-svn-id: https://develop.svn.wordpress.org/trunk@16010 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 11:57:55 +00:00
Andrew Nacin 8db82e5ea1 Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: https://develop.svn.wordpress.org/trunk@16009 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:46:24 +00:00
Andrew Nacin 8e7e99047e Fix some encoding issues. props hakre, fixes #14735.
git-svn-id: https://develop.svn.wordpress.org/trunk@16005 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 09:54:17 +00:00
Andrew Nacin 71c59b865a 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: https://develop.svn.wordpress.org/trunk@16003 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:27:45 +00:00
Peter Westwood b4818a8af8 Remove the ghetto code and use the script loader properly on the login page.
Ensure that we actually have convertEntities available on the login page.
Introduce a login_footer action.
Hook in the script loader to the login_header and login_footer actions.
See #5919, #15124.

git-svn-id: https://develop.svn.wordpress.org/trunk@16000 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 06:57:10 +00:00
Peter Westwood b138a1b60a Bring back a seperate js file for the password strength meter and correctly mark it as a dependancy of the user profile code. See #5919.
git-svn-id: https://develop.svn.wordpress.org/trunk@15998 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 06:39:20 +00:00
Andrew Nacin bcbb15ca21 Return empty array in wp_get_sidebars_widgets() if no sidebars are defined. fixes #14876.
git-svn-id: https://develop.svn.wordpress.org/trunk@15994 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 01:56:54 +00:00
Andrew Nacin ad18a5dc4b Standardize on 'Display as dropdown' and list those before post counts in default widgets. fixes #15096.
git-svn-id: https://develop.svn.wordpress.org/trunk@15993 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 01:52:59 +00:00
Andrew Nacin e7f4600080 jQuery 1.4.4 preview as of Wed Oct 27 00:55:02 2010. see #15227.
git-svn-id: https://develop.svn.wordpress.org/trunk@15991 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:58:41 +00:00
Andrew Nacin 8b0d9c5856 More pedantry.
git-svn-id: https://develop.svn.wordpress.org/trunk@15990 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:33:29 +00:00
Andrew Nacin a484cb25a0 Bool cast preg_match, in readable form. see #9824.
git-svn-id: https://develop.svn.wordpress.org/trunk@15989 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:30:49 +00:00
Andrew Nacin 2fa2485d20 Bool cast preg_match. see #9824.
git-svn-id: https://develop.svn.wordpress.org/trunk@15988 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:27:08 +00:00
scribu f196a4932c Don't trigger verbose page rules if permalink begins with fixed string. Fixes #9824
git-svn-id: https://develop.svn.wordpress.org/trunk@15987 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:25:03 +00:00
scribu f9fa7ecc39 Round bottom-right corner of the screen options dropdown. Fixes #15226
git-svn-id: https://develop.svn.wordpress.org/trunk@15986 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 22:15:58 +00:00
Andrew Nacin 2fb5876e7e Specify feed type in the_category_rss() call. props benward, fixes #14451.
git-svn-id: https://develop.svn.wordpress.org/trunk@15984 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 20:15:18 +00:00
scribu d9abf82f7c Add filters to *_metadata() functions. Props sc0ttkclark. Fixes #14766
git-svn-id: https://develop.svn.wordpress.org/trunk@15983 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 19:11:27 +00:00
scribu 1c9a241148 Introduce 'fields' query var to WP_Query. See #14777
git-svn-id: https://develop.svn.wordpress.org/trunk@15982 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 19:01:55 +00:00
Andrew Nacin fb3a8f92bf Don't sort plugin descriptions column. Make on state for sortable columns black, not the typical link orange. fixes #15224.
git-svn-id: https://develop.svn.wordpress.org/trunk@15981 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 18:15:47 +00:00
Peter Westwood 4b88dd0f93 Expose the media options over XML-RPC. Fixes #15153 props koke.
git-svn-id: https://develop.svn.wordpress.org/trunk@15980 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:46:29 +00:00
Peter Westwood dd57d9fd93 4th argument of wp.getOptions is optional so don't notice if it's not supplied.
git-svn-id: https://develop.svn.wordpress.org/trunk@15975 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 14:43:20 +00:00
Ryan Boren c9d26cd5b3 Refactor wp_get_recent_posts to use get_posts(). Props blepoxp. fixes #14389
git-svn-id: https://develop.svn.wordpress.org/trunk@15973 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 13:50:38 +00:00
Ryan Boren 06780d1fb0 Fix infinite recursion caused by malformed URLs. Props mdawaffe. fixes #14655
git-svn-id: https://develop.svn.wordpress.org/trunk@15972 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 13:44:03 +00:00
Andrew Nacin 90b2bbe16e Allow page rewrites to be disabled. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15970 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 07:12:06 +00:00
Andrew Nacin fcb14d6104 Also look for SUBDOMAIN_INSTALL in is_multisite(). props wpmuguru, fixes #14536 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15968 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:45:13 +00:00
Andrew Nacin 9c39f8bcf2 Fix custom background selector for IE7. props duck_, fixes #14152.
git-svn-id: https://develop.svn.wordpress.org/trunk@15966 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:42:14 +00:00
Andrew Nacin f48506bb8f Remove redundant filter. props coffee2code. fixes #14285.
git-svn-id: https://develop.svn.wordpress.org/trunk@15964 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:34:28 +00:00
Ryan Boren ae76af21a9 Generalize seletion for h2 and h3 tabs. Props chrisbliss18 fixes #15154
git-svn-id: https://develop.svn.wordpress.org/trunk@15962 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:45:58 +00:00
Andrew Nacin b0208b5a8c Importer and exporter overhaul, mega props duck.
Exporter overhaul:
 * Add author information to export
 * Greater usage of slug identifiers
 * Don't export auto-drafts, spam comments, or edit lock/last meta keys
 * Inline documentation improvements
 * Remove filtering for now (@todo)
 * Bump WXR version to 1.1, but remain back compat in the importer

Importer overhaul (http://plugins.trac.wordpress.org/changeset/304249):
 * Use an XML parser where available (SimpleXML, XML Parser)
 * Proper import support for navigation menus
 * Many bug fixes, specifically improvements to category and custom taxonomy handling
 * Better author/user mapping

Fixes #5447 #5460 #7400 #7973 #8471 #9237 #10319 #11118 #11144 #11354 #11574 #12685 #13364 #13394 #13453 #13454 #13627 #14306 #14442 #14524 #14750 #15055 #15091 #15108.

See #15197.


git-svn-id: https://develop.svn.wordpress.org/trunk@15961 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:43:52 +00:00
Peter Westwood 8913638185 Attempt at a fix for url encoding issues with UTF8 chars. See #10249.
git-svn-id: https://develop.svn.wordpress.org/trunk@15960 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 14:50:58 +00:00
Andrew Nacin d8672ca5d8 Pass comment ID from comment_text to get_comment_text. Also add the comment object as context to the filter. fixes #14261
git-svn-id: https://develop.svn.wordpress.org/trunk@15957 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 03:11:01 +00:00
Ryan Boren 8df8490fde Idempotence for sanitize_user(). Make sanitize_key() match its phpdoc. Props duck_ fixes #15198
git-svn-id: https://develop.svn.wordpress.org/trunk@15948 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 20:33:54 +00:00
Andrew Nacin 787da5c464 Allow fields with a paragraph tag to align to top in the form-table on settings pages. see #15205.
git-svn-id: https://develop.svn.wordpress.org/trunk@15945 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 18:07:20 +00:00
Andrew Nacin a719899fca Rearrange wp-load include. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@15943 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 03:56:10 +00:00
Andrew Nacin 4738e732ae Remove dead arguments. see [15937], see #13818, props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@15942 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 03:27:01 +00:00
Andrew Nacin 46458ec3ca Compress scripts and bump for [15939] [15940]. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@15941 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 03:03:52 +00:00
Andrew Nacin f34a8de8ec Internal linking, first pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@15940 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 02:58:42 +00:00
Andrew Nacin cd50525faa Don't show the admin bar in the plugin/theme installers. Inserts condition directly into iframe_header(). Allows show_admin_bar() to be called after init by unsetting wp_admin_bar, thus preventing render once those hooks are fired. see #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@15938 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 19:49:25 +00:00
Andrew Nacin 6eb9fbbd39 Remove post_type params from is_archive(). use is_post_type_archive() for full context. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15937 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 19:20:47 +00:00
Andrew Nacin 6d7366d5fc Move the CPT archive flag outside of the rewrite argument, into its own has_archive. has_archive controls more than just URL rewriting, it also handles whether ?post_type= is treated as a CPT archive. feeds remain in rewrite as ?feed= would work regardless. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15936 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 18:29:22 +00:00
Andrew Nacin 4d0164db91 Remove some capability_type code in WP_Query. Only build faux caps if we're querying for multiple post types or if the post type object can't be found. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15935 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 18:16:41 +00:00
Andrew Nacin 7a0720ec5e Allow capability_type to be an array, for odd plural situations such as story/storys/stories. After registration it reverts to a singular string. Lots of documentation for meta capabilities and post types, also some cleanups for register_post_type documentation. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15934 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 18:03:26 +00:00
Andrew Nacin 234efcf413 Use a consistent variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@15933 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 17:51:18 +00:00
Andrew Nacin cfde537391 Don't make redundant str_replace calls in link-template. props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@15932 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 17:13:52 +00:00
scribu f61e045d4d Also convert uppercase letters in Latin Extended-B. See #9591
git-svn-id: https://develop.svn.wordpress.org/trunk@15931 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 15:36:16 +00:00
scribu e05be05ad8 remove_accents(): Nordic characters fixes. Props einare. Fixes #4739. See #9591
git-svn-id: https://develop.svn.wordpress.org/trunk@15930 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 13:00:21 +00:00
scribu ed9a39abab Introduce sanitize_title_for_query(). See #9591
git-svn-id: https://develop.svn.wordpress.org/trunk@15929 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 12:55:55 +00:00
scribu 3081a12de2 Introduce _qv_basename() and apply it to hierarchical taxonomies. See #9591.
git-svn-id: https://develop.svn.wordpress.org/trunk@15923 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 22:54:05 +00:00