Commit Graph

7275 Commits

Author SHA1 Message Date
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
westi afc867fe64 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: http://svn.automattic.com/wordpress/trunk@16000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 06:57:10 +00:00
westi 7186208818 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: http://svn.automattic.com/wordpress/trunk@15998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 06:39:20 +00:00
nacin 8f1f98fa02 Return empty array in wp_get_sidebars_widgets() if no sidebars are defined. fixes #14876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 01:56:54 +00:00
nacin c10da6c1ec Standardize on 'Display as dropdown' and list those before post counts in default widgets. fixes #15096.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 01:52:59 +00:00
nacin 122f7797e4 jQuery 1.4.4 preview as of Wed Oct 27 00:55:02 2010. see #15227.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 00:58:41 +00:00
nacin d1093ac706 More pedantry.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 00:33:29 +00:00
nacin 0e41407e8c Bool cast preg_match, in readable form. see #9824.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 00:30:49 +00:00
nacin ea8ea55d49 Bool cast preg_match. see #9824.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 00:27:08 +00:00
scribu 8feaf39b4d Don't trigger verbose page rules if permalink begins with fixed string. Fixes #9824
git-svn-id: http://svn.automattic.com/wordpress/trunk@15987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 00:25:03 +00:00
scribu 3102a4edf5 Round bottom-right corner of the screen options dropdown. Fixes #15226
git-svn-id: http://svn.automattic.com/wordpress/trunk@15986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 22:15:58 +00:00
nacin 16b1f727af Specify feed type in the_category_rss() call. props benward, fixes #14451.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 20:15:18 +00:00
scribu f7bb6febeb Add filters to *_metadata() functions. Props sc0ttkclark. Fixes #14766
git-svn-id: http://svn.automattic.com/wordpress/trunk@15983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 19:11:27 +00:00
scribu 57a7c073ef Introduce 'fields' query var to WP_Query. See #14777
git-svn-id: http://svn.automattic.com/wordpress/trunk@15982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 19:01:55 +00:00
nacin 5a81941fed Don't sort plugin descriptions column. Make on state for sortable columns black, not the typical link orange. fixes #15224.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 18:15:47 +00:00
westi e2d7b7dbe9 Expose the media options over XML-RPC. Fixes #15153 props koke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 17:46:29 +00:00
westi ac3e880df7 4th argument of wp.getOptions is optional so don't notice if it's not supplied.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 14:43:20 +00:00
ryan 197a16b836 Refactor wp_get_recent_posts to use get_posts(). Props blepoxp. fixes #14389
git-svn-id: http://svn.automattic.com/wordpress/trunk@15973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 13:50:38 +00:00
ryan 5c487f5dba Fix infinite recursion caused by malformed URLs. Props mdawaffe. fixes #14655
git-svn-id: http://svn.automattic.com/wordpress/trunk@15972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 13:44:03 +00:00
nacin 49672ae608 Allow page rewrites to be disabled. see #13818.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 07:12:06 +00:00
nacin 1f04bb1bda Also look for SUBDOMAIN_INSTALL in is_multisite(). props wpmuguru, fixes #14536 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 03:45:13 +00:00
nacin 484aebcf5c Fix custom background selector for IE7. props duck_, fixes #14152.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 03:42:14 +00:00
nacin 0373c403aa Remove redundant filter. props coffee2code. fixes #14285.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-26 03:34:28 +00:00
ryan da54089621 Generalize seletion for h2 and h3 tabs. Props chrisbliss18 fixes #15154
git-svn-id: http://svn.automattic.com/wordpress/trunk@15962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 20:45:58 +00:00
nacin ee1ba7f2f3 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: http://svn.automattic.com/wordpress/trunk@15961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 20:43:52 +00:00
westi 8cdb268183 Attempt at a fix for url encoding issues with UTF8 chars. See #10249.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 14:50:58 +00:00
nacin 76b4a3cac7 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: http://svn.automattic.com/wordpress/trunk@15957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 03:11:01 +00:00
ryan 614dd3b3a9 Idempotence for sanitize_user(). Make sanitize_key() match its phpdoc. Props duck_ fixes #15198
git-svn-id: http://svn.automattic.com/wordpress/trunk@15948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 20:33:54 +00:00
nacin f714463866 Allow fields with a paragraph tag to align to top in the form-table on settings pages. see #15205.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 18:07:20 +00:00
nacin 3413426dab Rearrange wp-load include. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 03:56:10 +00:00
nacin caf177947d Remove dead arguments. see [15937], see #13818, props dd32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 03:27:01 +00:00
nacin e31f06608c Compress scripts and bump for [15939] [15940]. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 03:03:52 +00:00
nacin a583da8c45 Internal linking, first pass. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 02:58:42 +00:00
nacin 81f2d8b405 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: http://svn.automattic.com/wordpress/trunk@15938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 19:49:25 +00:00
nacin fe9c1f3770 Remove post_type params from is_archive(). use is_post_type_archive() for full context. see #13818.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 19:20:47 +00:00
nacin 86112c2f7e 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: http://svn.automattic.com/wordpress/trunk@15936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 18:29:22 +00:00
nacin b0443feba3 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: http://svn.automattic.com/wordpress/trunk@15935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 18:16:41 +00:00
nacin f244d99609 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: http://svn.automattic.com/wordpress/trunk@15934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 18:03:26 +00:00
nacin c2f5e78a1e Use a consistent variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 17:51:18 +00:00
nacin 3dfec1ee81 Don't make redundant str_replace calls in link-template. props duck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 17:13:52 +00:00
scribu 81025846b1 Also convert uppercase letters in Latin Extended-B. See #9591
git-svn-id: http://svn.automattic.com/wordpress/trunk@15931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 15:36:16 +00:00
scribu 633daa01cb remove_accents(): Nordic characters fixes. Props einare. Fixes #4739. See #9591
git-svn-id: http://svn.automattic.com/wordpress/trunk@15930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 13:00:21 +00:00
scribu c613576e77 Introduce sanitize_title_for_query(). See #9591
git-svn-id: http://svn.automattic.com/wordpress/trunk@15929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 12:55:55 +00:00
scribu 6fca3408b6 Introduce _qv_basename() and apply it to hierarchical taxonomies. See #9591.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 22:54:05 +00:00
scribu 99f5c0f184 Remove debugging code in wp_check_term_hierarchy_for_loops(). See #14662
git-svn-id: http://svn.automattic.com/wordpress/trunk@15922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 21:31:57 +00:00
scribu e3691d5188 Remove misplaced code in WP_Query::parse_tax_query(). See #12659
git-svn-id: http://svn.automattic.com/wordpress/trunk@15921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 21:17:09 +00:00
ryan e1a7cc966f Do not set role if it is the same. Props nickmomrik. fixes #14708
git-svn-id: http://svn.automattic.com/wordpress/trunk@15919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 19:38:20 +00:00
ryan 62003eb20f Fix media dialog keyPress handling. Props mdawaffe. fixes #14394
git-svn-id: http://svn.automattic.com/wordpress/trunk@15918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 19:23:00 +00:00
ryan 2e486e7b10 Actions for adding and deleting meta. Props wojtek.szkutnik mitchoyoshitaka. fixes #14173
git-svn-id: http://svn.automattic.com/wordpress/trunk@15917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 19:18:33 +00:00
ryan 920bf4e235 Use underscore separator
git-svn-id: http://svn.automattic.com/wordpress/trunk@15916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 19:10:23 +00:00
ryan edbfd35f31 Fix attribute spacing. Props Utkarsh. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@15915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 18:59:06 +00:00
ryan 669c5fab8e Remove redundant logged in check. Props neoxx. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@15914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 18:42:26 +00:00
dd32 ac2ca038ea Support wildcard domains in WP_PROXY_BYPASS_HOSTS and WP_ACCESSIBLE_HOSTS. Fixes #14636
git-svn-id: http://svn.automattic.com/wordpress/trunk@15911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 10:27:35 +00:00
nacin 53e77351a5 Revisions and attachments should also generate meta capabilities as part of their cap object. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-22 00:25:14 +00:00
nacin 14ccdbec33 Pruning shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 19:55:28 +00:00
nacin c64766e6f2 s/ms-options/settings. props PeteMall, fixes #14826.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 17:09:15 +00:00
nacin a724633db8 Only dumb down delete_others_posts if it deserves to exist. fixes a notice. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 16:28:35 +00:00
nacin f5e23028ff Pass user object through _wp_get_user_contactmethods() to the user_contactmethods filter. props aaroncampbell, fixes #15186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 15:42:06 +00:00
nacin 02440f343c Clean up get_post_type_capabilities. Don't bother with new capabilities for edit_others_posts and delete_others_posts if the post type does not support authors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 15:05:10 +00:00