Commit Graph

8866 Commits

Author SHA1 Message Date
markjaquith a5b8993dd8 Some more mouse-nibbled corners. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 17:46:29 +00:00
koopersmith 42c4d3126f Increase clickable area within favorite actions button. Props duck_. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 08:47:54 +00:00
koopersmith 1723d4eeea Reduce admin h2 (page title) size. Use smaller icons. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 08:39:28 +00:00
azaozz b3a5a78607 Change comment Reply to Approve and Reply and auto-approve the comment if it is in moderation, props DH-Shredder, fixes #15898
git-svn-id: http://svn.automattic.com/wordpress/trunk@17832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 04:56:00 +00:00
koopersmith 700db493d8 Move 'Search Engines Blocked' to 'Right Now' from admin header. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 23:42:37 +00:00
koopersmith 2d0f305181 Bump. see #17324 and [17813].
git-svn-id: http://svn.automattic.com/wordpress/trunk@17828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 23:10:52 +00:00
koopersmith 7a16085b8d Add user actions dropdown to admin header. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 23:06:24 +00:00
ryan b58636e914 Send X-Frame-Options: SAMEORIGIN for admin and login pages. see #12293
git-svn-id: http://svn.automattic.com/wordpress/trunk@17826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 21:28:53 +00:00
ryan 5e8db32ede Pass no_found_rows to query in recent posts widget. Props scribu. fixes #17203
git-svn-id: http://svn.automattic.com/wordpress/trunk@17825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 20:54:43 +00:00
ryan a972403a40 Use static strings. Props niallkennedy. fixes #17169
git-svn-id: http://svn.automattic.com/wordpress/trunk@17823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 19:51:47 +00:00
ryan f824fbe47f Round out the objects in the Admin Bar -> Add New list
git-svn-id: http://svn.automattic.com/wordpress/trunk@17821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 19:29:54 +00:00
markjaquith 18220ff3a4 Compromise between a mix of razor-sharp corners and gratuitously over-rounded "safety corners" by standardizing around 3px border-radius (mouse-nibbled corners). see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 19:00:53 +00:00
koopersmith a5151a2939 Improve dashboard styles and bump. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 06:46:01 +00:00
koopersmith 7e14a62035 Improve collapsed menu styling. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 22:13:03 +00:00
koopersmith 892a2a0df4 Add collapse link to admin menu, add new arrow graphics, improve screen meta JS/CSS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 19:51:32 +00:00
ryan 29592dafb6 Pass post id along to *comment_id_fields(). Props natecook. fixes #17193
git-svn-id: http://svn.automattic.com/wordpress/trunk@17812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 19:33:47 +00:00
ryan 4141e704e5 Properly handle https in ixr client. Props mdawaffe. fixes #16402
git-svn-id: http://svn.automattic.com/wordpress/trunk@17811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 18:57:29 +00:00
nacin 1379f7a976 Use int for redirect code. props niallkennedy, fixes #17321.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 17:33:19 +00:00
azaozz 9c7ce18921 Fix wp-lists.js for jQuery 1.5.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@17808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 06:18:52 +00:00
ryan 061283b3d5 Make twentyeleven the default theme. see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 23:53:36 +00:00
markjaquith 8d24de2171 Style tweaks for the "Search Engines Blocked" notice. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 20:22:44 +00:00
markjaquith 8d87f5dcb4 Big UI style update. props koopersmith. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 20:15:05 +00:00
ryan a7909cf4b6 Always show # items text. Props johnbillion. fixes #17260
git-svn-id: http://svn.automattic.com/wordpress/trunk@17798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 19:45:41 +00:00
ryan 26e2d8b986 Change View All Buttons into plain links. Show full set of status links in recent comments box. Drop Change Theme button.Props ryanimel. fixes #17282
git-svn-id: http://svn.automattic.com/wordpress/trunk@17797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 19:18:20 +00:00
ryan bdc8924ea4 Fix notice thrown in wp_count_comments(). Props tfnab, batmoo. fixes #15215
git-svn-id: http://svn.automattic.com/wordpress/trunk@17795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 18:46:03 +00:00
ryan 1835dbf737 Check if empty to avoid noticed when signing up for username in multisite. Props jfarthing84, kawauso. fixes #16680
git-svn-id: http://svn.automattic.com/wordpress/trunk@17794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 18:38:17 +00:00
markjaquith cb077a55ed Use the presence of manually set tax_base, not category_base, to determine whether tags use with_front to craft URLs. fixes #17308
git-svn-id: http://svn.automattic.com/wordpress/trunk@17789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 21:34:33 +00:00
azaozz 1ffb2468a5 HTML mode for Distraction Free Writing, props koopersmith, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 08:10:23 +00:00
azaozz 2081fd0504 Cleanup in dashboard.js, props scribu, fixes 17292
git-svn-id: http://svn.automattic.com/wordpress/trunk@17784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 23:31:34 +00:00
azaozz 298bfc2910 Don't trigger "Exception thrown and not caught" error in jQuery 1.5.2 in IE
git-svn-id: http://svn.automattic.com/wordpress/trunk@17783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 19:42:31 +00:00
markjaquith ddafa3c6d7 More constructor cleanup. Props ampt. see #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 17:18:39 +00:00
azaozz 1c525018c3 Fix getColor() in wp-lists.js
git-svn-id: http://svn.automattic.com/wordpress/trunk@17780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 16:57:20 +00:00
markjaquith ce344a28da Speed optimizations for is_serialized_string(). fixes #17129
git-svn-id: http://svn.automattic.com/wordpress/trunk@17779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 04:41:56 +00:00
dd32 7e7d8d7cd4 Support Edit link on the Admin Bar for Attachments. Fixes #17273
git-svn-id: http://svn.automattic.com/wordpress/trunk@17778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 02:22:58 +00:00
azaozz 9e4bee6c26 Add quotes to [value="some"] selectors, see #16426
git-svn-id: http://svn.automattic.com/wordpress/trunk@17777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-30 02:15:08 +00:00
azaozz db11985bda Just testing
git-svn-id: http://svn.automattic.com/wordpress/trunk@17774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 22:09:02 +00:00
ryan 04487fc268 Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 20:05:12 +00:00
ryan e0ffff9fb5 Fix hiding of header image. Fix radio selection when falling back to randomized default headers. Props lancewillett, kawauso. see #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 19:45:30 +00:00
azaozz b065fc6c3d Updated styles for the Visual editor buttons, props chexee, see #15986
git-svn-id: http://svn.automattic.com/wordpress/trunk@17768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 16:08:16 +00:00
nacin 52e6f54063 Update the self-referential destruction sequence in WP_Widget_RSS to account for trailing slashes. TODO: Strengthen our validation here.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 14:44:43 +00:00
ryan 67d53316e0 Allow selecting previously uploader headers and randomly serving previously uploaded or default headers. Props lancewillett. see #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 23:02:16 +00:00
ryan 7f9f067e60 Use exceptions with phpmailer to avoid headers already sent errors. fixes #17228
git-svn-id: http://svn.automattic.com/wordpress/trunk@17753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 18:16:01 +00:00
nacin 59446cff1d Remove default-embeds.php. fixes #17112.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 17:03:23 +00:00
nacin 9fc2cddeea Define border-radius with vendor properties. props hebbet, see #17226.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 16:51:12 +00:00
westi 80f4e83a8c Introduce WP_MAX_MEMORY_LIMIT constant for the high memory limit we set when image processing and unzipping.
Ensure it is always filterable by plugins as well as configurable in wp-config
Fixes #13847 props hakre


git-svn-id: http://svn.automattic.com/wordpress/trunk@17749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 16:25:36 +00:00
nacin 9cb6e158fc Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 15:24:49 +00:00
nacin 97c39c24a2 Remove PHP 5.1/Windows code from date_i18n. Allows timestamps from pre-1970. props DH-Shredder, fixes #10332.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 15:13:30 +00:00
dd32 911af51915 Properly handle querying for meta by value without a key as well as those with invalid parameters. Props scribu. See #17264
git-svn-id: http://svn.automattic.com/wordpress/trunk@17746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 15:02:16 +00:00
nacin 5593f7f2f7 s/Web Path/Filesystem Path/ in inline documentation. props kawauso, fixes #17205.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 12:47:36 +00:00
nacin 8b5122b411 Don't load the QuickPress widget via XHR. see #16927. Reverts [16725] as it's no longer needed. Reverts part of [14815], which introduced the behavior, see #10917.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 12:02:24 +00:00
nacin 24ea36e302 Use the post type object in get_posts_by_author_sql() and add a post type parameter to count_many_users_posts(). The formerly somewhat useless and now totally useless pub_priv_sql_capability filter is considered deprecated. fixes #17220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 11:27:39 +00:00
nacin 65a9b98246 Admin Bar: Add a Themes submenu under Appearance, for consistency. fixes #15931.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 11:17:09 +00:00
ryan dc20019a24 Add Background and Header to Admin Bar Appearance Menu. fixes #17263
git-svn-id: http://svn.automattic.com/wordpress/trunk@17731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 22:06:01 +00:00
ryan c5fb371ec6 kses optimizations. Props duck_. fixes #17045
git-svn-id: http://svn.automattic.com/wordpress/trunk@17730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 21:50:39 +00:00
ryan 8e21f7f098 Translate default link labels for *posts_link(). Props nathanrice, CharlesClarkson. fixes #16998
git-svn-id: http://svn.automattic.com/wordpress/trunk@17728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 21:25:09 +00:00
azaozz 048d3a26b2 jQuery 1.5.2, props JDTrower demetris, fixes #16426
git-svn-id: http://svn.automattic.com/wordpress/trunk@17725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 20:11:06 +00:00
dd32 04e5dc178d Allow Taxonomies to be queried by $_GET parameters on non-taxonomy url's. See #17174
git-svn-id: http://svn.automattic.com/wordpress/trunk@17706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 10:49:00 +00:00
azaozz d01d27abc4 Don't hide the top bar when the cursor is over it, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 07:20:56 +00:00
azaozz a5f2b7d50c DFW: remove unneeded JS global, fix screen flash in WebKit, props koopersmith, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 01:19:26 +00:00
azaozz 57134c64b7 Fix image insertion in IE, fixes #17237
git-svn-id: http://svn.automattic.com/wordpress/trunk@17701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 22:49:22 +00:00
ryan 0667ceb3be Introduce WP_Meta_Query and relation support. Props scribu, greuben. fixes #17165 #17011
git-svn-id: http://svn.automattic.com/wordpress/trunk@17699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 17:27:35 +00:00
ryan ed6d0bbd37 Typo fix. Props ocean90, guyn. fixes #17234
git-svn-id: http://svn.automattic.com/wordpress/trunk@17698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 14:33:27 +00:00
azaozz c54adb08df Fix padding in DFW mode, add the new wpfullscreen plugin in wp-tinymce.js.gz, fix notices in press-this see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 14:27:11 +00:00
azaozz 2ec8740e9b Fix Opera event name and bump TinyMCE version string, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 01:28:23 +00:00
azaozz 258a8f6844 Distraction Free Writing mode, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 01:01:34 +00:00
azaozz a69059331c Fix missing comma in TinyMCE advanced theme image.js, props johnjamesjacoby, fixes #17233
git-svn-id: http://svn.automattic.com/wordpress/trunk@17694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-24 23:27:48 +00:00
dd32 ad5f5db861 Allow the cURL transport to handle '0' response bodies. Fixes #17223
git-svn-id: http://svn.automattic.com/wordpress/trunk@17692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 13:49:52 +00:00
nacin f1b2f79add Update wp-tinymce.js.gz and bump. see #16631.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 10:44:00 +00:00
dd32 1eaf6f8527 Allow WP_Query 'post_status' parameter to accept an array, as well as a singular value and comma separated list. Fixes #16824
git-svn-id: http://svn.automattic.com/wordpress/trunk@17689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 10:36:22 +00:00
dd32 b0fdc73dca Prevent $taxonony->object_type containing duplicate values. Initial patch props kevinB. Fixes #16951
git-svn-id: http://svn.automattic.com/wordpress/trunk@17688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 09:27:37 +00:00
azaozz 4f9f5f1765 Use wpLink in the HTML editor too, props koopersmith, fixes #16631
git-svn-id: http://svn.automattic.com/wordpress/trunk@17687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 02:12:56 +00:00
ryan 0a5a01e991 Handle term intersection requests containg inexistent terms. Props scribu. fixes #17194
git-svn-id: http://svn.automattic.com/wordpress/trunk@17686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 19:09:48 +00:00
nacin 8a0d83bebe Apply esc_html properly in Walker_PageDropdown. fixes #17217.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 18:24:57 +00:00
ryan f9b418a2f9 Move wp_clone() back to load.php. Props technosailor. fixes #17206
git-svn-id: http://svn.automattic.com/wordpress/trunk@17681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 17:46:02 +00:00
azaozz c07e04ec65 Fix dependencies for some jQuery UI components, props scribu, fixes #16511
git-svn-id: http://svn.automattic.com/wordpress/trunk@17680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 22:29:25 +00:00
azaozz ca1923c510 Update json2.js, props niallkennedy, fixes #16669
git-svn-id: http://svn.automattic.com/wordpress/trunk@17679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 22:21:27 +00:00
ryan 1e075ab1ab Update phpass. Props duck_. fixes #16072
git-svn-id: http://svn.automattic.com/wordpress/trunk@17678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 20:44:39 +00:00
ryan a619926bab Update pop3 class. Props aaroncampbell. fixes #17064
git-svn-id: http://svn.automattic.com/wordpress/trunk@17677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 20:40:32 +00:00
ryan a1128831ec Update phpmailer and smtp to 5.1. Props MattyRob cnorris23. fixes #15912
git-svn-id: http://svn.automattic.com/wordpress/trunk@17676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 20:29:30 +00:00
azaozz f8da5471ee Fix decoding of ' in TinyMCE
git-svn-id: http://svn.automattic.com/wordpress/trunk@17675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 20:20:56 +00:00
ryan 686c35340b Allow querying empty meta values. Props scribu. fixes #15292
git-svn-id: http://svn.automattic.com/wordpress/trunk@17674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 18:13:03 +00:00
ryan 430bb76d4b Allow retrieving comments by post type, status, author, author, name, or parent. Fetch only published posts for recent comments widget. Props filosofo. fixes #16506 #12904
git-svn-id: http://svn.automattic.com/wordpress/trunk@17667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 18:02:41 +00:00
josephscott acdb6ea093 Expose the content width as a read only option via XML-RPC.
Fixes #17131 props koke, nacin


git-svn-id: http://svn.automattic.com/wordpress/trunk@17663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 15:26:38 +00:00
azaozz b3bb537735 Press This bookmarklet redesign, props chexee, fixes #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@17662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 07:24:11 +00:00
azaozz 8a9627d150 Fix font color in admin bar site list, fixes #17178
git-svn-id: http://svn.automattic.com/wordpress/trunk@17661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 06:37:23 +00:00
dd32 e2b914fbad Remove support for the PHP HTTP Extension from WP_HTTP. The PHP HTTP Extension is a wrapper around libcurl and fopen() providing limited configuration and is supported on a minority of servers due to its non-default inclusion. Props sivel. Fixes @16978
git-svn-id: http://svn.automattic.com/wordpress/trunk@17659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-19 04:22:59 +00:00
ryan 2317e890c2 Used passed admin bar object instead of global. Props solarissmoke. fixes #16540
git-svn-id: http://svn.automattic.com/wordpress/trunk@17658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 22:03:34 +00:00
ryan 6827de6cd9 Remove PHP4 constructors. Props scribu. fixes #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 21:46:57 +00:00
ryan 7b645b1bfe Remove PHP4 constructor. Props ocean90. see #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 21:45:20 +00:00
ryan 2053dcca12 Don't pollute orderby query var. Props scribu. fixes #16844
git-svn-id: http://svn.automattic.com/wordpress/trunk@17653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 21:27:13 +00:00
ryan 746bb77bf3 More efficient term intersection query. Props tigertech. see #16706
git-svn-id: http://svn.automattic.com/wordpress/trunk@17652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 20:38:59 +00:00
josephscott 03b604d309 Allow Pages to have a status of pending.
Fixes #17000 props mrroundhill, nprasath002


git-svn-id: http://svn.automattic.com/wordpress/trunk@17651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 17:30:58 +00:00
josephscott c8aeb477bc Add support to wp.getPostFormats to provide a list of the currently supported post formats in addition to the complete list.
Fixes #17094 


git-svn-id: http://svn.automattic.com/wordpress/trunk@17650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 17:27:29 +00:00
josephscott ca45144dd5 Include the post status in the response for mt.getRecentPostTitles calls
Fixes #17091 props daniloercoli


git-svn-id: http://svn.automattic.com/wordpress/trunk@17649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 17:16:46 +00:00
josephscott 3f4f150632 Don't reset the post slug on XML-RPC calls.
Fixes #12947 props cfinke, nprasath002


git-svn-id: http://svn.automattic.com/wordpress/trunk@17648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 16:32:26 +00:00
westi 0f7cac9f64 More better phpdoc for XMLRPC functions. See #15238 props koke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 07:26:42 +00:00
westi 50299d53c0 The beginings of better phpdoc for XMLRPC functions. See #15238 props koke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 07:23:47 +00:00
westi eed35967cc Introduce a special wp_die handler for XMLRPC requests to ensure we send an XML response.
Props koke for the original patch. See #16748.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-17 08:35:51 +00:00
westi 9c0a5cd498 Don't do SSL discovery for every RSD request. APP endpoint already respects the SSLness of the site. Fixes #15960.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-17 07:48:34 +00:00
westi 10084a7fb1 Allow custom author elements such as email. Fixes #17149 props niallkennedy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-17 07:39:41 +00:00
azaozz e4bf0a4e78 Fix two rare regressions: alert when the login has expires and when post is edited by another user, fixes #16928
git-svn-id: http://svn.automattic.com/wordpress/trunk@17640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-16 02:37:44 +00:00
azaozz 03c3c94d1e Remove redundant IE restore selection calls for TinyMCE, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-15 04:20:12 +00:00
ryan 3e77cd18c9 Avoid array push/pops for empty filters and actions. fixes #17110
git-svn-id: http://svn.automattic.com/wordpress/trunk@17638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-14 18:05:30 +00:00
ryan 8f8b8d16a7 Remove PHP4 timezone support. Props hakre. fixes #16970
git-svn-id: http://svn.automattic.com/wordpress/trunk@17637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-13 17:30:02 +00:00
ryan 74354459f1 Performance improvements for wptexturize(). Props solarissmoke, hakre. fixes #16684
git-svn-id: http://svn.automattic.com/wordpress/trunk@17636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-13 17:11:35 +00:00
ryan ae9e348cd6 Use proper prefix in query. Fixes user queries ordered by post count. Props ziofix, ericmann. fixes #17123 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-13 17:02:08 +00:00
nacin 1cdd5ad41a Remove more E_RECOVERABLE_ERROR checks. props duck_, see #16920.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-12 09:21:13 +00:00
ryan 4e09dfc8fb Remove PHP4 constructor. Props Jayjdk. see #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 18:57:34 +00:00
ryan 64552a67ee Use stripos() instead of strpos( strtolower() ). Props hakre. see #16920
git-svn-id: http://svn.automattic.com/wordpress/trunk@17630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 18:55:11 +00:00
azaozz 2d51628075 Fix EOL for newly added files
git-svn-id: http://svn.automattic.com/wordpress/trunk@17628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 18:23:51 +00:00
azaozz c1b62ef341 Not 12, 13px, see #17107
git-svn-id: http://svn.automattic.com/wordpress/trunk@17627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 08:01:34 +00:00
azaozz b536e532f0 Stop themes and plugins from overriding the admin bar CSS, props johnjamesjacoby, fixes #17107
git-svn-id: http://svn.automattic.com/wordpress/trunk@17626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 07:51:53 +00:00
azaozz 24599d17f0 Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086
git-svn-id: http://svn.automattic.com/wordpress/trunk@17625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-10 18:36:05 +00:00
azaozz 307e9a0753 Remove width: 99.5% from metaboxes, props andrewryno, fixes #17084
git-svn-id: http://svn.automattic.com/wordpress/trunk@17624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-08 20:35:51 +00:00
azaozz 9ac90e3262 Don't refresh the admin menu after page load, apply the user-state from PHP, fix behaviour after folding the menu, props nacin, props nuxwin, fixes #10646, fixes #17058
git-svn-id: http://svn.automattic.com/wordpress/trunk@17623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 18:45:22 +00:00
markjaquith 86bc31ea2b Add mb_substr() back to compat.php (it is non-default). see #16918. props joostdevalk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 15:46:57 +00:00
markjaquith 613639762a Add _() back to compat.php (it is non-default). see #16918. props aaroncampbell
git-svn-id: http://svn.automattic.com/wordpress/trunk@17620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 15:46:48 +00:00
dd32 619d4d2dba Ensure that the Update API's are always using a non-modified $wp_version. Props nacin. Fixes #14384
git-svn-id: http://svn.automattic.com/wordpress/trunk@17619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 10:04:45 +00:00
dd32 197e081e19 Prevent update API requests on every load of themes.php when no updates are available. Fixes #16362
git-svn-id: http://svn.automattic.com/wordpress/trunk@17618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 09:56:20 +00:00
dd32 c1e70ae5e6 Verify certificate matches both the common name and the provided hostname. WP_HTTP_Curl requires CURLOPT_SSL_VERIFYHOST be either 2 or false. Props sivel. Fixes #16904
git-svn-id: http://svn.automattic.com/wordpress/trunk@17616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 08:38:36 +00:00
nacin 14ec951269 Make underscores valid in sanitize_html_class. fixes #17067.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-06 21:28:52 +00:00
ryan e3895262ef Deprecate wp_clone(). Call clone directly. Props hakre. fixes #16813
git-svn-id: http://svn.automattic.com/wordpress/trunk@17613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-06 17:44:29 +00:00
ryan c5b47b029c Remove setcookie() back compat. Props hakre. see#16920
git-svn-id: http://svn.automattic.com/wordpress/trunk@17612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-06 17:07:59 +00:00
ryan f67a8e70ed There is not a NOT operator. Props scribu. fixes #17054 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-06 16:08:23 +00:00
dd32 ba0153096a Revert [17608] adding back [17596] and actually include the dummy function this time. See #17057 Fixes #17050
git-svn-id: http://svn.automattic.com/wordpress/trunk@17609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-06 00:42:07 +00:00
nacin b4a2ecf0c4 Revert [17596] for now. props kawauso, see #17057, see #17050.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 23:17:10 +00:00
ryan ebaa6ded07 Set is_* flags for AND taxonomy queries. fixes #17054 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 18:48:53 +00:00
ryan b60c345536 Remove PHP4 constructors. Props hakre. see #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 17:25:08 +00:00
ryan 91dc365567 Take out unnecessary compat functions from compat.php. Props hakre, ptahdunbar. see #16918
git-svn-id: http://svn.automattic.com/wordpress/trunk@17603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 17:13:04 +00:00
dd32 864330c766 explode always returns an array in this context. Props hakre. Fixes #16958
git-svn-id: http://svn.automattic.com/wordpress/trunk@17600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 06:41:51 +00:00
dd32 b4d213c7a5 Fix warning in HTTP Header parsing where response message is not specified. Props hakre. Fixes #16885
git-svn-id: http://svn.automattic.com/wordpress/trunk@17599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 06:21:56 +00:00
dd32 d5ae0717c0 Streamline WP_Http_*::test() methods: Check basic SSL requirements, only allow filters to disable transports, not enable them after ::test() has failed. Props mdawaffe for the initial patch. See #16606
git-svn-id: http://svn.automattic.com/wordpress/trunk@17598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 06:09:43 +00:00
dd32 06dab650ac Return 4xx errors as a standard response from WP_HTTP, Brings it in line with the rest of the transports for 4xx error handling. See #17010
git-svn-id: http://svn.automattic.com/wordpress/trunk@17597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 04:06:40 +00:00
dd32 0ec5e89f63 Pass image URL's to thickbox via L10n in script-loader.php. Allows thickbox to be used on any page in the install without defining the image URL variables. Fixes #17050
git-svn-id: http://svn.automattic.com/wordpress/trunk@17596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 03:58:25 +00:00
azaozz ade138d7ac Fix display of apostrophes in the user's first and last names on the User Profile page, partial props andrewryno, see #17004
git-svn-id: http://svn.automattic.com/wordpress/trunk@17587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 20:40:16 +00:00
ryan 05f63a579b s/esc_url_raw/esc_url/. Props duck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 19:29:06 +00:00
dd32 e4e4a084d4 Default WP_LANG_DIR to `WP_CONTENT_DIR/languages` when `wp-includes/languages/` doesn't exist. Fixes #17006
git-svn-id: http://svn.automattic.com/wordpress/trunk@17575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-31 08:11:30 +00:00
ryan 975a6a8c8d Reduce backtracking in make_clickable() regex. Reduce pcre.recursion_limit to avoid segfaulting. Props hakre. For trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 21:39:16 +00:00
dd32 ef063f8508 Use the correct variable name; Simpler static initialisation. Props hakre. See #11613 & #16978
git-svn-id: http://svn.automattic.com/wordpress/trunk@17566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 09:55:15 +00:00
azaozz b8d696b2a6 Handle error response in autosave_update_slug(), props nacin, fixes #16975
git-svn-id: http://svn.automattic.com/wordpress/trunk@17565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-27 20:09:09 +00:00
nacin 66befd1f7e Initialize a variable. props boonebgorges, fixes #16977.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-27 19:46:18 +00:00
dd32 de498967ef Correct logic for cURL Errors, add extra sanity protection in ::processHeaders to guard against null inputs. See #16236
git-svn-id: http://svn.automattic.com/wordpress/trunk@17563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-26 03:32:05 +00:00
azaozz 0aa3cc7f09 Fix position of submenus when showing avatar, props johnjamesjacoby, see #16667 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 20:32:07 +00:00
dd32 00dc7a57d6 First run of introducing Stream-To-File for the WP_HTTP API. Reduces memory consumption during file downloads. Implemented in download_url() for upgraders. Props sivel. See #16236
git-svn-id: http://svn.automattic.com/wordpress/trunk@17555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 02:42:20 +00:00
nacin ec382258b3 Change this string to one that already exists. props ericmann, fixes #16806.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-24 16:12:47 +00:00
ryan 1853efd70a Parse the meta query again if query vars change. Set a global query_vars_changed flag instead of doing multiple hash creation calls. Props greuben. see #16742 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-24 16:07:24 +00:00
dd32 0e08826bbd Allow for array('redirection' => 0) to bypass WP_Error on redirects being encountered; Allows HEAD requests WITH 'redirection' > 0 specified at call time to follow redirections; Standardises on return values from all transports to act the same based on the Unit Tests. Fixes #16855
git-svn-id: http://svn.automattic.com/wordpress/trunk@17551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-24 05:18:34 +00:00
dd32 6dd4dbec38 Fix WP_HTTP to only make a request upon a working transport, as well as to allow Unit Testing. Removes the getTransport() & postTransport() methods as they're no longer needed, replaces them with a single _dispatch_request() method. Fixes #11613
git-svn-id: http://svn.automattic.com/wordpress/trunk@17550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-24 02:16:13 +00:00
markjaquith 1cc45202e6 Prevent Notice if the author object is not set.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 21:25:35 +00:00
ryan c1da7bbb0b Don't die inside db_connect() if connection fails. Let dead_db() handle it. fixes #16640 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 19:57:35 +00:00
nacin d9abef8ea3 Bail early in dynamic_sidebar() if there are no sidebars. fixes #14816.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:59:52 +00:00
nacin bd6fe3c99c Document that the size parameter in image_downsize() can also be an array. props scribu, fixes #16263.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:46:38 +00:00
nacin eb0c3c6419 Reference proper function equivalents in deprecated.php. props pross, fixes #15253.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:44:07 +00:00
nacin a678aa115a Fix copypasta typo in docblock. props scribu, fixes #16384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:42:59 +00:00
nacin edaea210a1 Remove dead globals. props mitchoyoshitaka. fixes #16571.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:39:16 +00:00
ryan f679a75b0c Don't die for failed db connects during install. Props westi. fixes #16640 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 17:46:40 +00:00
dd32 9fec2e59dc Prune PHP5 compat checks in WP_Http, WP_Http_Curl & WP_Http_Streams. Only removes pre PHP 5.2.4 conditional code. See #13915
git-svn-id: http://svn.automattic.com/wordpress/trunk@17535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 11:58:09 +00:00
dd32 ebf169b350 Remove PHP4 based WP_Http_Fopen class. Props sivel for initial patch. See #16917 Fixes #13915
git-svn-id: http://svn.automattic.com/wordpress/trunk@17534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 11:35:41 +00:00
ryan 2a4b3c6c0f Fix display of oversized custom user/site icons in the admin bar. Props jtsternberg, JohnONolan. see #16667 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:42:43 +00:00
ryan 238dff4948 Avoid var name conflict in _get_meta_sql(). Fixes type var passed to get_meta_sql filter. Props Rahe, nacin. fixes #16825 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:35:47 +00:00
ryan 26bdf10db9 Add back compat fields to queried category objects. Props scribu, duck_. fixes #16857 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:27:45 +00:00
ryan ebecb8ffdf Return false instead of WP_Error from get_term_by() if the term does not exist. Makes fetching a term by id consistent with slug and name. Props hakre. fixes #16464 #16717 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:06:38 +00:00
markjaquith d36a6d3d6c Bump PHP requirement to 5.2.4. Bump MySQL requirement to 5.0. see #16917
git-svn-id: http://svn.automattic.com/wordpress/trunk@17523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-21 18:30:56 +00:00
nacin 9d5f123778 Add TinyMCE version number. props SergeyBiryukov, fixes #16674 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-10 18:47:44 +00:00
markjaquith 59f5dff476 Correctly handle PATHINFO CPTs and CTs that specify with_front=false. fixes #16807 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-10 04:24:48 +00:00
markjaquith acb3938c8a Make plugin header parsing slightly more liberal (like it was in 3.0), to allow for PHPdoc style headers. props miqrogroove. fixes #16751 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-09 05:46:58 +00:00
markjaquith 1a7a1d9986 Use with_front properly when creating rules for CPT archive pages. props scribu. fixes #16626 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-09 05:40:52 +00:00
markjaquith afdda66384 Prevent double index.php preprend on PATHINFO custom taxonomy permalinks. Proper use of with_front. props greuben. fixes #16918. fixes #16622. see #15813. see #12659. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-09 05:18:45 +00:00
ryan 5251aec87f Don't show admin bar on login screen. Props nacin. fixes #16588 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:48:05 +00:00
ryan 183cd06cf3 Check for WP_Error return from get_term_by(). Props fabifott, kawauso, nacin. fixes #16717 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:06:35 +00:00
ryan 73799784cc Don't perform taxonomy queries for single post requests. Props scribu. fixes #16793 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:01:19 +00:00
ryan 9e37c6dc0a Don't double process the tag query var. Props scribu. fixes #16730 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-03 16:11:02 +00:00
ryan 0d6c2100fa Do not do canonical redirects for unregistered feeds. fixes #16704 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-03 15:55:24 +00:00
markjaquith 30bc33ad5a Revert to the cat=X permalinks from 3.0 and earlier. props dd32. fixes #16644 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 17:29:11 +00:00
ryan 9d648af0de Do not perform canonical redirects for IISto avoid redirect loops on some IIS setups. fixes #16639 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 15:33:11 +00:00
markjaquith 8c218d87f0 Reparse the taxonomy query if query vars change. fixes #16622 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 04:10:21 +00:00
nacin dc9a897487 3.2-bleeding
git-svn-id: http://svn.automattic.com/wordpress/trunk@17488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-23 16:51:47 +00:00
markjaquith 47a4114b89 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@17485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-23 14:44:55 +00:00
markjaquith 94c9d20a33 Make a written offer pointing to a central WordPress.org URL for obtaining the source to any binary programs included in WordPress, instead of relying on third party sites. Include the MIT license file that the swfupload project omitted from their codebase. fixes #16517 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-21 19:36:16 +00:00
markjaquith a34a772c5a Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-18 06:08:07 +00:00
markjaquith 6e1fc710d9 Do not attach wp_enqueue_scripts to login_head. New login_enqueue_scripts hook. props nacin. fixes #16586 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-18 05:10:58 +00:00
ryan 70a8b60f92 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-17 01:30:56 +00:00
nacin ca83903504 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 19:38:22 +00:00
ryan 4d46e8d95e Lose create_function() in links_add_target() and links_add_base_url(). esc_attr() the target to provide extra coverage for plugins. Props Justin Rainbow, nacin. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 19:24:18 +00:00
ryan a2603e710e Use ->query instead of . Always kick off the parse_query action. fixes #16545 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 16:25:52 +00:00
ryan ffc27243db Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-15 23:59:45 +00:00
ryan c6931fd951 Run parse_query() in get_posts() so that the query vars are always parsed for set(), get_posts() patterns. fixes #16545 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-15 23:57:13 +00:00
nacin 7d7922ba19 s/owpbody/wpbody/. props ptahdunbar, fixes #16559 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-14 22:57:18 +00:00
ryan 55c2425b3b Don't allow passing slugs to get_tag_link() and get_category_link(); they are too ambiguous. Restore WP_Error return to get_term_link(). fixes #16521 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 21:48:40 +00:00
ryan 035b775354 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:41:08 +00:00
ryan 6a8ff66305 Return empty strings instead of WP_Errro from get_category_link(), get_term_link(), and get_tag_link() when passed an invalid term. Clarify phpdoc. Props nacin. fixes #16521 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:17:54 +00:00
ryan f63ccddadb Pink the whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:35:36 +00:00
nacin 3e569036a5 Cleanup crew.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:35:24 +00:00
ryan 3cd43bf6b8 Don't query the post format for post types that don't support formats. Props nacin. fixes #16503 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:13:28 +00:00
ryan 6fbe3c685d Return early if list is not an array. Props nacin. fixes #16499 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:06:22 +00:00
nacin 20c5d823bc Use wp_kses_post instead of wp_kses_data for a better balance between security and flexibility. fixes #16489 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-08 20:17:09 +00:00
ryan 2af129d664 RC4
git-svn-id: http://svn.automattic.com/wordpress/trunk@17417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 23:01:06 +00:00
ryan c7dee15b3c Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:19:41 +00:00
ryan f613349c98 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-06 19:20:00 +00:00
ryan 80f47f270b Run sanitize_key() on post_status, comment_status, and ping_status on the way into the DB. Props duck_. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-06 18:37:20 +00:00
markjaquith 57eeed9f3e Do not use PHP5-only array_combine. props duck_. see #16459 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:46:07 +00:00
ryan 322898f150 Preserve tag escaping. Props koopersmith, Nils Jueneman. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:31:05 +00:00
markjaquith 7cfc0088d6 No translation for post format slugs. Too fragile for the future. fixes #16459 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:24:01 +00:00
markjaquith b9487742e0 Improvement to check_admin_referer() when called without first argument (PLUGIN AUTHORS: STOP DOING THAT). props indie-ulf. fixes #16449 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 20:42:00 +00:00
markjaquith c08a6a4044 restore_current_blog() in add_user_to_blog() and remove_user_from_blog() before early return, to avoid being stuck in a switched state. props mdawaffe. fixes #16444 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 00:17:30 +00:00
markjaquith 790f28fbe1 Remove admin bar CSS cruft that darkened the bar in RTL languages. props ocean90. fixes #16427 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-01 01:42:09 +00:00
nacin e656d1ab86 D'oh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 17:28:27 +00:00
nacin d6a40438f6 Keep trunk and branches/3.1 in sync for now, for the beta tester plugin. Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 17:27:29 +00:00
nacin 95ef90de64 Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 12:18:57 +00:00
markjaquith 9afb883ffa Please switch to branches/3.1! See: http://wp.me/pbNCB-lf for background.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-30 21:23:55 +00:00
ryan f2feff7453 Admin bar CSS fix; removes unnecessary scrollbars. Props WraithKenny. fixes #15507
git-svn-id: http://svn.automattic.com/wordpress/trunk@17368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-27 15:18:22 +00:00
ryan 3d90dfb160 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 20:04:24 +00:00
ryan b345e996c7 Pagination fixes. Props garyc40. fixes #16357
git-svn-id: http://svn.automattic.com/wordpress/trunk@17361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:20:20 +00:00
markjaquith 8e98240a80 Get is_post_type_archive( 'my-post-type' ) working properly outside of the loop. props bit4. fixes #16347
git-svn-id: http://svn.automattic.com/wordpress/trunk@17358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 21:15:50 +00:00
markjaquith 4603a50cae Revert [16832]. see #9591. fixes #16282
git-svn-id: http://svn.automattic.com/wordpress/trunk@17357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 06:26:38 +00:00
nacin 7c2102556c RC3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:50:23 +00:00
ryan 862b5e4da7 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/trunk@17354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:47:42 +00:00
ryan a0b442ede7 Admin bar RTL fixes. Props ocean90. fixes #16340
git-svn-id: http://svn.automattic.com/wordpress/trunk@17348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 13:40:58 +00:00
ryan 498c93cb81 Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
git-svn-id: http://svn.automattic.com/wordpress/trunk@17347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 03:25:29 +00:00
ryan 9d0ec2454f jQuery UI 1.8.9. Props demetris. fixes #16331
git-svn-id: http://svn.automattic.com/wordpress/trunk@17346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 02:30:03 +00:00
markjaquith 47c8008257 Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 21:17:12 +00:00
markjaquith acd8d41b65 Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 20:28:41 +00:00
nacin f8c83ed7d3 Correct the @return for get_term_link. It always has been able to return WP_Error. props SergeyBiryukov, see #16282.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 23:36:42 +00:00
nacin 1dcd3afe46 Compress and bump, see #16308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 20:59:53 +00:00
ryan 4ca193fb7f Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 18:56:21 +00:00
nacin b642ea2c77 Only show 'Edit %s' in the admin bar when show_ui. fixes #16304.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 16:58:30 +00:00
nacin d4dd0fe211 Remove Lucida Grande from the remaining font stacks. We should at least be consistent. props demetris, fixes #16298, see #8352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 09:44:17 +00:00
markjaquith fb6bed81c7 Several list table JS fixes. restores XHR comment status changes. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-18 17:32:35 +00:00
nacin 37075f7f71 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:47:24 +00:00
nacin 94eb65baa0 Revert [17270], [17273], see #16166, see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:34:38 +00:00
nacin f020f81261 Remove cruft overflow:hidden from the admin bar items. props ocean90, fixes #15654.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 04:36:46 +00:00
westi 42f57d4798 Remove this new filter as it didn't get enough discussion prior to addition.
Revisit later. See #14310.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 23:44:06 +00:00
westi 3927f60c18 Things that go bump in the night
git-svn-id: http://svn.automattic.com/wordpress/trunk@17315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 22:39:35 +00:00
nacin 692a2c0ed2 Stop localizing the admin bar. props ocean90, fixes #16155.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 21:13:49 +00:00
westi 96736834de Add explit link to the licence for this file. Fixes #16078
git-svn-id: http://svn.automattic.com/wordpress/trunk@17312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 17:49:03 +00:00
nacin 6b50544ca5 jQuery UI 1.8.8. props demetris, fixes #16234.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 00:39:38 +00:00
markjaquith 2ebbbd7bdd WordPress contains libraries only available under the GPL v2 or later. No one cares about the GPL v1 anymore. We are now specifically saying that WordPress is available under the GPL version 2 or (at your option) any later version. This was discussed with the entire core team.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 19:26:43 +00:00
nacin ccc6cfaafd For admin bar padding, use margin on the html element instead of padding on the body element. Causes far less conflicts. props aldenta, fixes #16222.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 17:52:51 +00:00
nacin 6423c620f8 Don't allow an empty rewrite slug for CPT. If you need something like this, do rewrite=>false. fixes #15082.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 15:42:56 +00:00
nacin 1968829603 Rename wp_admin_bar_init to _wp_admin_bar_init and add a note that removing this action is the wrong way to do it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 05:57:25 +00:00
westi 8a5691b6f8 Switch to using min-width so long titles can be displayed instead of using elipsis. Fixes #15654 props koopersmith.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 02:25:24 +00:00
nacin ce0ebf0c95 Only add the post format post classes when the post type supports post formats. posts posts posts posts. props iandstewart, fixes #16224.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 23:02:24 +00:00
nacin c605738e8b Remove the TinyMCE media plugin. fixes #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 21:57:30 +00:00
markjaquith 4920e7a54f Recompress some JS scripts that were done without YUI munging.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 08:04:58 +00:00
markjaquith 05c334b51d script compress and bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 07:17:22 +00:00
ryan 903abc97fb Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 05:26:06 +00:00
nacin b0ad5b5928 Just a typo of the class name. fixes #14786.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 05:08:40 +00:00
nacin 519449a9f9 Fix plugin-install column hiding and widths. props PeteMall, fixes #16210.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:50:23 +00:00
westi d8c6938af1 Bump script loader versions. See #16211
git-svn-id: http://svn.automattic.com/wordpress/trunk@17280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:35:28 +00:00
westi 2a75d9c511 Add unique ids as well as of classes in the admin bar to make it easier for plugins to extend.
Ensure we escape the classname.
Fixes #16211 props koopersmith.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:34:15 +00:00
ryan 121c9615e1 Resurrect 'tag' query processing. see #16157
git-svn-id: http://svn.automattic.com/wordpress/trunk@17272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 21:44:47 +00:00
nacin 7c5fd789ac Keep sorting and paging for bulk actions. props garyc40, see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 17:06:33 +00:00
westi 43fa1e5294 Admin Bar - show fullsite name in the tooltip. Correct some escaping. Fixes #16197 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 16:02:56 +00:00
nacin 4d7ad91916 Check for a property of the object as well. props koopersmith, see #16194.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 06:11:18 +00:00
nacin 84369f43f9 Admin bar shortlink improvements. props koopersmith, fixes #16155.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 00:32:00 +00:00
ryan 770ca584d5 Expand shortlink menu when clicked. Fix displayed of shortlinks when rel shortlink is missing. Props koopersmith. fixes #16155
git-svn-id: http://svn.automattic.com/wordpress/trunk@17263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 22:45:14 +00:00
nacin f924216639 Give the format taxonomy a name. props SergeyBiryukov, see #16172.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 22:11:32 +00:00
nacin 3e45fdb260 Disallow a self-reference on RSS widget save, which would DoS a site. Checking home/siteurl should cover the vast majority of cases. see #8910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 21:37:12 +00:00
westi db4c62761a Bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@17258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:42:41 +00:00
westi 755a90cb29 Fix wplink version. Bump list-table version. Fixes #16188 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:37:53 +00:00
nacin 6a7411f3b0 Nonce checks for internal linking and list table ajax. fixes #16188.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:03:50 +00:00
markjaquith 6031c43ecd Minify and bump list-table.js see #16190
git-svn-id: http://svn.automattic.com/wordpress/trunk@17253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 19:40:31 +00:00
ryan 1e7b49cece Set tag_id for tag queries. Add NOT support to wp_list_filter(). Props scribu. fixes #16170
git-svn-id: http://svn.automattic.com/wordpress/trunk@17251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:56:59 +00:00
nacin adb4f75729 Limit post format queries to the post types registered for the taxonomy. see #16149.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:30:37 +00:00
nacin e46f21c459 Set a background color for the admin bar css3 gradient. props koopersmith, fixes #16142.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:19:26 +00:00
nacin 727600ac64 RTL fixes. props yoavf, SergeyBiryukov, fixes #16160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:17:53 +00:00
ryan 939d6de748 Don't parse cat query var twice. Don't include children for category__* queries. Props SergeyBiryukov. see #16152
git-svn-id: http://svn.automattic.com/wordpress/trunk@17246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-09 20:49:11 +00:00
ryan 6a812fc677 Cast category and tag query args to array to allow passing a single ID or slug. Props SergeyBiryukov. fixes #14892
git-svn-id: http://svn.automattic.com/wordpress/trunk@17245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-09 16:42:01 +00:00
ryan f06af8506b category__and, tag__and, tag_slug__in, tag_slug__and support. fixes #16157
git-svn-id: http://svn.automattic.com/wordpress/trunk@17244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-09 16:19:48 +00:00
ryan 6baed7c3ea Use correct var. Props westi. fixes #16145
git-svn-id: http://svn.automattic.com/wordpress/trunk@17243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-08 17:21:49 +00:00
nacin caa9770b12 RTL contextual help fix. props rasheed, SergeyBiryukov, fixes #16151.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-08 08:25:31 +00:00
nacin b95f4faa2d Don't check for post format support when registering the post format taxonomy. fixes #16146.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 21:23:52 +00:00
ryan 536564b8ff Selectively reset list-table forms rather than all forms to avoid stompage. Props koopersmith. fixes #16098
git-svn-id: http://svn.automattic.com/wordpress/trunk@17239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 20:52:42 +00:00
nacin d2c179f49e Revert _admin_bar_preferences() and add a class to the table row to allow it to be hidden. Forcing the use of CSS at least attempts to ensure that the developer will recognize that the saving aspect isn't handled. Handle this in the future across all settings screens. Reverts [17161]. fixes #16004.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 16:39:18 +00:00
nacin 9c688c637d Fix typo in phpdoc. props PeteMall, fixes #16120.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 09:06:55 +00:00
ryan 33b875fef8 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 04:19:08 +00:00
ryan 85f1feed84 Bring out the shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 04:11:14 +00:00
ryan 8066547be3 Add some cookie filters to allow plugins more control over SSL cookie delivery. see #15330
git-svn-id: http://svn.automattic.com/wordpress/trunk@17227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 04:08:23 +00:00
ryan 1d6b027adc Revert [15987] [15988] [15989]. Props SergeyBiryukov. see #9824 fixes #16041
git-svn-id: http://svn.automattic.com/wordpress/trunk@17226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 03:59:22 +00:00
markjaquith cc81b6adf0 Funnel unknown values to blank (standard) post format in set_post_format()
git-svn-id: http://svn.automattic.com/wordpress/trunk@17224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-05 22:26:55 +00:00
markjaquith 3509f37ac1 I bungled [17214]. Reverting the revert, so it can be reverted properly! see #14310
git-svn-id: http://svn.automattic.com/wordpress/trunk@17220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 20:55:59 +00:00
nacin d4ce1da900 Giant chunk of phpdoc for multisite functions. props boonebgorges, SergeyBiryukov. fixes #14953.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 09:02:38 +00:00
nacin 82dd4d569c Quick RTL CSS fix in widgets admin. see #16082, props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 07:29:22 +00:00
markjaquith 6fc301a723 Revert [15611] for 3.1. Needs more time for peer review and iteration. see #14310
git-svn-id: http://svn.automattic.com/wordpress/trunk@17214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 07:23:41 +00:00
ryan 2de6f5ba96 Ignore unsupported post types in add_theme_support(). Props garyc40. fixes #16073
git-svn-id: http://svn.automattic.com/wordpress/trunk@17213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 23:56:42 +00:00
ryan 55d6d8af12 PHP4 compat. Props SergeyBiryukov, westi. see #16080
git-svn-id: http://svn.automattic.com/wordpress/trunk@17211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:19:34 +00:00
ryan 979b9eb7c5 wp-admin css bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:18:02 +00:00
nacin 9602072aca Use correct variables. props garyc40, see #15503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-02 10:55:10 +00:00
nacin 1be2df5578 Recommit [15986]. see #15226.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-02 08:34:11 +00:00
nacin 017ef6ccee RC2.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 23:39:05 +00:00
nacin 89b6b2a050 Compress and bump scripts for [17202]. see #15503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 23:20:57 +00:00
ryan a6e8ff128f Introduce include_selected arg for wp_dropdown_users(). Add current author to dropdown in post_author_meta_box(). fixes #16045
git-svn-id: http://svn.automattic.com/wordpress/trunk@17198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 01:52:03 +00:00
nacin e32a14de12 Have menu_name work with show_in_menu = submenu. fixes #14832.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 00:21:18 +00:00
nacin 082e4d3d0e Add a note about E_DEPRECATED in wp_debug_mode() because I keep seeing reports about people trying to define it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 21:01:30 +00:00
nacin ea7ca70470 Defense in depth for comment text.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 16:30:38 +00:00
nacin a18f529d6e Small visual improvements to post formats on edit.php. see #16047.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 04:49:27 +00:00
nacin 96aa2460d9 Use the blue background color around the blue gradient. see #15993.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 03:11:59 +00:00
ryan b6346ae5cd Default to leading and trailing wildcards for site user searches. Require explicit trailing wildcard asterisk request for network user searches. Disallow leading wildcards for network user searches. Move wildcard policy up the stake, allowing more flexibility in WP_User_Query. Props SergeyBiryukov. fixes #16014
git-svn-id: http://svn.automattic.com/wordpress/trunk@17189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 23:38:21 +00:00
ryan 4e17a731ff Show correct title for static page home. Props aaroncampbell, greuben, SergeyBiryukov. fixes #16041
git-svn-id: http://svn.automattic.com/wordpress/trunk@17187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 21:10:45 +00:00
ryan 607c8bf12a Update @author tag contact info. Props hakre. see #16039
git-svn-id: http://svn.automattic.com/wordpress/trunk@17185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 20:07:12 +00:00
ryan d0a0c31b1f Clean up admin bar node removal. Make it PHP4 safe and prevent display of blank spots. Props sorich87, SergeyBiryukov. fixes #16005
git-svn-id: http://svn.automattic.com/wordpress/trunk@17184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 19:04:32 +00:00
ryan 4fd6561b1c Add Copyright Statement, Licensing Information and Disclaimer to kses. Props hakre. Thanks Ulf Harnhammar. fixes #16039
git-svn-id: http://svn.automattic.com/wordpress/trunk@17181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 18:37:18 +00:00
markjaquith e90491bdec Fix some RTL CSS issues. props garyc40. props ocean90. fixes #16017
git-svn-id: http://svn.automattic.com/wordpress/trunk@17179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 16:26:25 +00:00
markjaquith cb018d4e27 Reinstitute Intall Now AYS that was accidentally disabled. props ocean90. fixes #16032
git-svn-id: http://svn.automattic.com/wordpress/trunk@17176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 16:04:07 +00:00
ryan 81cd855720 Don't be case sensitive to attribute names. Handle padded entities when checking for bad protocols. Normalize entities before checking for bad protocols in esc_url(). Props Mauro Gentile, duck_, miqrogroove
git-svn-id: http://svn.automattic.com/wordpress/trunk@17171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-29 20:45:37 +00:00
nacin f508173dc0 get_meta_sql should be private. see #14645.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-29 19:31:35 +00:00
nacin 6a877c5713 RTL fixes for sortable list headings. props RanYanivHartstein, fixes #16008.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-29 14:32:22 +00:00
ryan 9dd32c00c9 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-28 22:36:39 +00:00
ryan b18df57937 Ignore an empty pagename when correcting is_* for page_on_front requests. Props donalmacarthur, SergeyBiryukov, filosofo. fixes #16002
git-svn-id: http://svn.automattic.com/wordpress/trunk@17162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-28 22:34:15 +00:00
nacin a92b6663aa Move the admin bar profile preferences to a hook. fixes #16004.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-28 19:37:11 +00:00
nacin 84119f6e0b Correct the docs for register_post_status. fixes #15947, props simonwheatley.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 22:45:34 +00:00
nacin 16b6d35d23 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 22:07:20 +00:00
ryan b9187228d2 Always output pagination controls. Hide them when they are not needed. Show them upon AJAX result that requires pagination. Props nacin. fixes #15983
git-svn-id: http://svn.automattic.com/wordpress/trunk@17156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 22:06:15 +00:00
ryan 999afab871 Don't sanitize_key() the post type so that colons aren't stripped from attachment types. Props nacin. fixes #15982
git-svn-id: http://svn.automattic.com/wordpress/trunk@17155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 22:00:50 +00:00
ryan 8919310a9a RTL pagination fixes. Props yoavf. fixes #15974
git-svn-id: http://svn.automattic.com/wordpress/trunk@17154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 21:56:07 +00:00
nacin 434087c311 RTL for theme installer. props yoavf, fixes #15984.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-26 06:31:46 +00:00
nacin fc003bf8b1 Happy holidays :D
git-svn-id: http://svn.automattic.com/wordpress/trunk@17148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 23:38:33 +00:00
dd32 9f6d86636a Set taxonomy/term back-compat query vars for all views (not just taxonomy indexes). Fixes #15978
git-svn-id: http://svn.automattic.com/wordpress/trunk@17147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 23:26:09 +00:00
ryan c626339cca link_notes and term_description escaping fixes. Props garyc40. fixes #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@17146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 22:45:09 +00:00
nacin 95726df854 Revert [16995] due to the way the data enters the db. props garyc40, see #15454.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 18:10:59 +00:00
nacin 6ca0be1c1e RTL for the new style pagination links. fixes #15974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-25 13:48:13 +00:00
nacin b9c170c042 More CSS reset for wplink. Give the dialog title a specific line height. see #15561.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 20:40:08 +00:00
nacin a60f2f3e82 Internal linking CSS resets to fix Press This formatting. props garyc40, ocean90. see #15561.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 17:52:45 +00:00
ryan 36170f172d Clear messages when searching, sorting, paginating. Props scribu. fixes #15973
git-svn-id: http://svn.automattic.com/wordpress/trunk@17132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 17:45:59 +00:00
nacin 64c6c96b14 Fix some tab CSS in Press This. props dd32. Also adjust menu bits to default to gray, and then add rules to blue. see #15561.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 17:43:01 +00:00
nacin 7eab7be110 CSS tweaks and arrow fixes for internal linking. props ocean90, see #15739.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 17:33:41 +00:00
ryan 476e468faf Fix comment reply colspan. Props garyc40. fixes #15876
git-svn-id: http://svn.automattic.com/wordpress/trunk@17124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 17:21:29 +00:00
nacin 8a6ec685fb Revert [16915]. Don't honor the page template for the posts page. Deal with this with a better UX in 3.2. see #15513, fixes #15945.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 17:05:47 +00:00
ryan 4f9846e1f3 Don't be so sensitive.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 15:26:49 +00:00
nacin 513b0241b2 The internal linking dialog should be 'Add Link' not 'Save Link'. Not a new string. props jane, see #15739.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 15:22:05 +00:00
ryan ad52588e82 Expand/collapse arrows for internal linking. Props ocean90. fixes #15739
git-svn-id: http://svn.automattic.com/wordpress/trunk@17117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 14:44:51 +00:00
ryan edc2f694ad Fix comment manipulation on edit post screen. Props garyc40. fixes #15876
git-svn-id: http://svn.automattic.com/wordpress/trunk@17113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 19:03:43 +00:00
ryan ec28e5ddb6 Put sort arrows in sprite. Make 100% of th clickable. Align sort indicators. Remove unneeded padding. Props scribu. fixes #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@17110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 18:01:15 +00:00
ryan 09f625b796 Don't assume queried object is a term. Fixes non-existent var notice. Props filosofo. fixes #15944
git-svn-id: http://svn.automattic.com/wordpress/trunk@17109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 17:40:51 +00:00
nacin db7266124a echo OR return, not both, in single_term_title(). props Viper007Bond, fixes #15939.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 00:04:53 +00:00
ryan 8efc94bbeb RTL for wplink. Props ocean90. see #15864
git-svn-id: http://svn.automattic.com/wordpress/trunk@17105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 20:19:56 +00:00
markjaquith d22aac01b6 Remove overly broad CSS rule. fixes #15913
git-svn-id: http://svn.automattic.com/wordpress/trunk@17104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 17:46:39 +00:00
ryan 587ea006b5 Translations in title attributes require esc_attr().
git-svn-id: http://svn.automattic.com/wordpress/trunk@17102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 17:17:58 +00:00
ryan b7838c5f34 Retrieve only IDs and then do a user fetch loop so that all required user data is present. Props scribu. fixes #15888
git-svn-id: http://svn.automattic.com/wordpress/trunk@17100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 16:27:34 +00:00
markjaquith 5053c62d64 Translate post format term names on the fly. props mfields. fixes #15899
git-svn-id: http://svn.automattic.com/wordpress/trunk@17092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 21:59:16 +00:00
ryan 37f32f0431 Add default for who arg. see #15871
git-svn-id: http://svn.automattic.com/wordpress/trunk@17091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 19:02:44 +00:00
ryan 3bce6d9be9 List table spinner. Props scribu. see #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@17090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 18:45:05 +00:00
ryan 8a8785c98b Comment reply and quick edit js fixes. Props garyc40. fixes #15908
git-svn-id: http://svn.automattic.com/wordpress/trunk@17089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 17:53:50 +00:00
ryan eb9fa27602 Add 'who' arg to wp_dropdown_users() and get_users(). Add' hide_if_only_one_author' argument to get_users(). Query only authors (user level greater than 0) when who => author is passed. Query only authors for author meta box and quick edit dropdowns. Props scribu. fixes #15871
git-svn-id: http://svn.automattic.com/wordpress/trunk@17088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 17:25:39 +00:00
nacin 092e3350ec Minify plugin-install.js. see #15842.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:48:19 +00:00
ryan e8468d167a Revert get_users_of_blog() to 3.0 behavior and deprecate. Use get_users() in core. Props scribu. fixes #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:25:35 +00:00
nacin 1a5d8ccdd8 Clarify the _doing_it_wrong message for conditioanl tags. init prevents the fatal error, but the query still isn't run. Just drop the mention of a hook and we end up with better reasoning why this doesn't work to boot. see #14729.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:21:42 +00:00
nacin 60a828c31f Fix placeholder issues when removing comments. props garyc40, fixes #15879.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 15:26:44 +00:00
ryan 65f14e4fd3 Define net and user admin constants for fetch-list case. Props scribu. fixes #15903
git-svn-id: http://svn.automattic.com/wordpress/trunk@17080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 13:30:39 +00:00
ryan a96f9d899f @since additions and updates. Props demetris. fixes #15867
git-svn-id: http://svn.automattic.com/wordpress/trunk@17079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 12:49:18 +00:00
ryan 43a639929f Check is_network in the screen object for AJAX requests. Props scribu. fixes #15903
git-svn-id: http://svn.automattic.com/wordpress/trunk@17077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 11:57:25 +00:00
ryan cb88352144 Relocate isset check. Props TobiasBg, SergeyBiryukov. fixes #15041
git-svn-id: http://svn.automattic.com/wordpress/trunk@17076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 11:41:08 +00:00
nacin 708153f294 Don't let the screen options text escape the box. props ohanesian, fixes #15329.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 11:06:54 +00:00
nacin 881a4cc5e3 Call comment_type() without arguments that way 'Comment' is translated internally with context. fixes #15798.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 10:44:14 +00:00
nacin 0bc42a98cc Docs for get_post_format_slugs(). props demetris, fixes #15867.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 10:22:06 +00:00
nacin e1eec3925a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 09:25:21 +00:00
nacin d6c6444ae8 Don't fatal error when conditional tags are called before init. fixes #14729.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 21:17:52 +00:00
nacin 92da77f127 Have 'My Sites' in admin bar actually link to my-sites.php. props ocean90, fixes #15900.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 21:14:52 +00:00
nacin dfe2759a06 Don't refill the comment list when undoing a spam action on a comment. props greuben, fixes #15884.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 21:14:09 +00:00
nacin 556cc65745 Thorough CSS reset of the admin bar to avoid theme conflicts. props ocean90, JohnONolan, filosofo, duck_. fixes #15851.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 21:11:24 +00:00
ryan 93607280e6 Fix guid generation for page auto drafts. Props shawnparker. fixes #15041
git-svn-id: http://svn.automattic.com/wordpress/trunk@17061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 14:42:17 +00:00
westi c360b4dd5f Less ugly show_admin_bar() enforcement. Fixes #15869 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 09:54:13 +00:00
nacin ade50f7e35 Allow dfault post format selections. fixes #15882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 05:36:11 +00:00
dd32 3d87397272 Revert debug cruft from r17052. See #15885
git-svn-id: http://svn.automattic.com/wordpress/trunk@17053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 04:58:09 +00:00
dd32 e442dd64f0 Fix Pings/Trackback comment table filter. Props greuben. Fixes #15885
git-svn-id: http://svn.automattic.com/wordpress/trunk@17052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-19 04:55:46 +00:00
nacin 0e7a94a6fe Don't limit total_users. props scribu, fixes #15479.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 22:07:26 +00:00
ryan 58e65d1855 Admin bar visibility prefs. Props duck_. see #15829
git-svn-id: http://svn.automattic.com/wordpress/trunk@17032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 21:48:30 +00:00
markjaquith de0fc3026a Strip partial name= parameters when doing canonical redirection on them with default permalinks. props filosofo. fixes #15775
git-svn-id: http://svn.automattic.com/wordpress/trunk@17031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 20:57:03 +00:00
markjaquith 213100d5ba Do not add URL query args twice in certain Canonical Redirect situations. Use add_query_arg(). props filosofo. fixes #15774
git-svn-id: http://svn.automattic.com/wordpress/trunk@17030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 20:23:34 +00:00
nacin 300bee4a8d Make get_the_taxonomies() take an array of arguments. props scribu, fixes #14740.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 16:33:16 +00:00
scribu c1e19baef8 Disable sorting by post count for now. See #15861
git-svn-id: http://svn.automattic.com/wordpress/trunk@17024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 10:25:27 +00:00
westi 8a261e59e2 -- bad white space part deux
git-svn-id: http://svn.automattic.com/wordpress/trunk@17023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 08:42:37 +00:00
westi a97dcfe8a7 -- bad white space
git-svn-id: http://svn.automattic.com/wordpress/trunk@17022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 08:40:15 +00:00
westi ea07e29db6 Ensure show_admin_bar( false ) works after init. Fixes #15856.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 08:34:36 +00:00
westi c1b7a3ef59 If we are previewing don't show the admin bar. See #15856
git-svn-id: http://svn.automattic.com/wordpress/trunk@17020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 08:32:53 +00:00
nacin 1ae98a24ab NULL isn't set.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 08:32:43 +00:00
nacin ef2c7c479b More admin bar css reset. props JohnONolan, see #15851.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 04:51:14 +00:00
scribu 0879929ca7 Make WP_User_Query return regular objects by default. Fixes #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 00:38:15 +00:00
scribu 6151eced55 Get only required fields in wp_getAuthors(). Props duck_. See #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 23:43:24 +00:00
ryan 2cc6b2e7ff phpdoc notation fixes. Props demetris. fixes #15852
git-svn-id: http://svn.automattic.com/wordpress/trunk@17009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 22:46:13 +00:00
ryan 4e7270ab6a Revert [16987]. This pollutes home and siteurl during signup and blog creation. see #14867
git-svn-id: http://svn.automattic.com/wordpress/trunk@17005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 19:48:00 +00:00
scribu af0d6246ae Remove placeholder row when adding first term. See #15849
git-svn-id: http://svn.automattic.com/wordpress/trunk@17003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 19:13:47 +00:00
scribu 5fce5c6d14 Always display the table, with a placeholder row when there are no items. Fixes #15849
git-svn-id: http://svn.automattic.com/wordpress/trunk@17002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 19:05:14 +00:00
ryan 3a66c698ee Remove some unnecessary esc_textarea() calls. Props garyc40. see #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@17001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 17:48:20 +00:00
ryan 8e9cf8c20a Add jquery and utils dependencies for editor js. Props JohnPBloch, jczorkmid. fixes #15830
git-svn-id: http://svn.automattic.com/wordpress/trunk@17000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 17:23:54 +00:00
ryan 7e25e3b363 Add like_escape() to some queries. fixes #15764
git-svn-id: http://svn.automattic.com/wordpress/trunk@16999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 14:22:41 +00:00
westi 64b2d0b046 Bumpity Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@16997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 11:32:08 +00:00
nacin 67dca406aa The user description field should be esc_textarea when context is edit. see #15454.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 10:04:21 +00:00
nacin eb574d4e5f Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 09:31:42 +00:00
markjaquith 49c11dc768 Use ENT_QUOTES in esc_textarea() in case someone uses it in a value='' situation by accident. see #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@16993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 09:24:22 +00:00
nacin 0b1b0f86ab Add scheme arguments to get_blogaddress_by_domain and get_blogaddress_by_id. props adambackstrom for initial patch, fixes #14867.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 07:58:57 +00:00
nacin 6f1016586f Use maybe_network_admin_url. see #15840.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 06:12:55 +00:00
nacin bba5e919af maybe_network_admin_url. see #15840.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 06:06:59 +00:00
scribu 0a68fc29d2 Fetch only the required field in wp_dropdown_users(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@16974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 23:56:53 +00:00
nacin 6c025aa06f Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:48:40 +00:00
PeteMall e69df828df Move search results text in site-themes/site-users. Props sorich87, ocean90. Fixes #15553
git-svn-id: http://svn.automattic.com/wordpress/trunk@16961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:32:25 +00:00
westi 6a69bdd2d5 Allow a plugin to filter our slugs if it wants to. Fixes #15726
git-svn-id: http://svn.automattic.com/wordpress/trunk@16960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 17:56:25 +00:00
nacin 4cc8f440e4 Add theme_mods option if is_admin. props MarkJaquith, fixes #14828.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 17:39:00 +00:00
ryan ff9a04a8ea Pass wp_admin_bar object to admin_bar_menu action. Props TheDeadMedic, JohnPBloch. fixes #15723
git-svn-id: http://svn.automattic.com/wordpress/trunk@16957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 17:33:02 +00:00
nacin e1ff72589d Add user_nicename, nicename, ID to WP_User_Query orderby. props duck_, fixes #15816.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 17:18:04 +00:00
nacin c9e1ab9bd9 _doing_it_wrong takes three arguments. fixes #15824.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 17:14:25 +00:00
nacin 1b18b8e5f0 s/site/user/ if signup doesn't have a domain attached. props wpmuguru, fixes #15780.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 17:09:26 +00:00
nacin 899f0e115d Allow actual DB fields in WP_User_Query orderby. props duck, see #15816.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 16:51:38 +00:00
nacin 27042c1f16 Admin bar blogname handling improvements. Kill visible property vestige. props ocean90, fixes #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 16:48:06 +00:00
nacin fe9e7af8a6 Inline doc fixes for get_next|previous|adjacent_post. props kawauso, fixes #15822.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 16:45:14 +00:00
nacin d8f0f1b4fb TinyMCE 3.3.9.3-dev. fixes #15111.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 16:09:43 +00:00
ryan 93908c2670 Skip confirmation email fixes. Props ocean90, duck_. see #15725
git-svn-id: http://svn.automattic.com/wordpress/trunk@16949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 16:04:19 +00:00
westi 60aa1d3062 Ultimate make_clickable. Fixes #14993 props filosofo
git-svn-id: http://svn.automattic.com/wordpress/trunk@16948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 13:43:30 +00:00
nacin d151bf4d8a You are doing it wrong in query.php. see #15824, see #14729.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 12:21:27 +00:00
nacin a5ae036374 Grammar and spelling. see #15824.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 12:09:53 +00:00
nacin f0b562c861 Move _doing_it_wrong to other debug functions. Modify docs and the output message. see #15824.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 12:06:39 +00:00
westi 232c96860d Clear both in the right now widget so it clears nicely when there are extra comment statuses added. Fixes #14985 props doktorbro.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:52:38 +00:00
westi 465026255f Better message text to reflect that it might not just be an incorrect argument but maybe your calling something way too early. See #15824
git-svn-id: http://svn.automattic.com/wordpress/trunk@16942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:39:23 +00:00
westi 4207e8fa19 Zap the extra * props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@16941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:34:52 +00:00
westi 167df97e81 Switch to _doing_it_wrong(). See #15824
git-svn-id: http://svn.automattic.com/wordpress/trunk@16940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:31:00 +00:00
westi ed33168add Introduce _doing_it_wrong(). See #15824.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:29:50 +00:00
nacin 844636bf1c Don't show extra .0 in _deprecated_argument calls. They should appear in @since docs though.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 11:27:38 +00:00
scribu 87c95d40f8 Limit height only to iframe body. Fixes #15679
git-svn-id: http://svn.automattic.com/wordpress/trunk@16937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 10:39:50 +00:00
westi bb27a217a5 Bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@16936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 09:16:15 +00:00
westi cd582d3a24 Give the Logout menu item the correct parent so it appears when we have avatars as well as when we don't. Fixes #15611 props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 08:38:49 +00:00
ryan 51bc3b0529 Internal linking IE tweaks. Props koopersmith. see #15739
git-svn-id: http://svn.automattic.com/wordpress/trunk@16933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 03:13:10 +00:00
ryan 9cfba9d139 Beta2
git-svn-id: http://svn.automattic.com/wordpress/trunk@16932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 02:37:46 +00:00
ryan 7f88c122ea Expand/collapse in internal linking. Props koopersmith, nacin. see #15739
git-svn-id: http://svn.automattic.com/wordpress/trunk@16931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 02:36:24 +00:00
nacin 5c4e3256fc Fix nesting of parentheses. fixes #14995, props duck_, jakub.misek.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:51:13 +00:00
nacin dd82562191 Remove redundancy. see #14288.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:47:09 +00:00
ryan ec858cde06 Pink trailing whites
git-svn-id: http://svn.automattic.com/wordpress/trunk@16927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:38:38 +00:00
ryan 0e072f2dd7 Pink trailing whites
git-svn-id: http://svn.automattic.com/wordpress/trunk@16926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:37:04 +00:00
nacin e4698ba1be Revert to WP_DEFAULT_THEME if a child theme is in use and no style.css is present. fixes #15712, props greuben.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:19:47 +00:00
nacin 3efc0738b6 Revert to WP_DEFAULT_THEME if a child theme is in use and no style.css is present. fixes #15712.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:17:49 +00:00
nacin f4c1734b60 Remove ceilings on recent comments and posts widgets and dashboard widgets. fixes #14543.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 17:58:47 +00:00
markjaquith eb94b43e3c Fix canonical paged/feed redirects. props rfw. fixes #14288
git-svn-id: http://svn.automattic.com/wordpress/trunk@16920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 16:55:35 +00:00
markjaquith 15ebb1f893 Add WP Rewrite root to front of add_permastruct() call when adding a taxonomy. fixes #15813
git-svn-id: http://svn.automattic.com/wordpress/trunk@16918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 16:28:16 +00:00
ryan 010b2f1eef Honor defaults in wp_dropdown_users(). Props duck_. fixes #15791
git-svn-id: http://svn.automattic.com/wordpress/trunk@16916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 16:19:08 +00:00
ryan 14b8509961 Honor the page template when a page is the home page but not also the front page. Props filosofo. fixes #15513
git-svn-id: http://svn.automattic.com/wordpress/trunk@16915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 15:45:19 +00:00
nacin 79c35059ce Fix admin bar styling when no avatars are in use. props ocean90, see #15611.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 13:42:56 +00:00
nacin caf0ec965e Pass args to nav_menu_css_class filter. props scribu, fixes #15808.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 13:25:07 +00:00
scribu e6d0e7a509 Fix error when trashing a comment on the last page. Props garyc40. Fixes #15500
git-svn-id: http://svn.automattic.com/wordpress/trunk@16911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 11:53:31 +00:00
nacin 9845ee1fcd I have CDO. see #15779.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 11:25:11 +00:00
nacin cd51624aba Ensure the map_meta_cap filter receives the right cap when the map_meta_cap flag is false. fixes #15779.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 11:22:32 +00:00
dd32 9c4b151ba2 Restore pre-3.1 "Status:" header handling for IIS in wp_redirect. Revist in 3.2 to see if it's still required. Fixes #10187
git-svn-id: http://svn.automattic.com/wordpress/trunk@16907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 10:15:31 +00:00
PeteMall 800443d208 Ensure correct HTTP status code is returned. Props nacin, fixes #15799
git-svn-id: http://svn.automattic.com/wordpress/trunk@16906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 08:38:01 +00:00
dd32 99337166eb Other piece of r16904. Limit variable string searching when possible. See #10187
git-svn-id: http://svn.automattic.com/wordpress/trunk@16905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 08:35:48 +00:00
dd32 20e1171ae8 Fix fatal error on IIS after r16797. props peaceablewhale. Limit variable string searching when possible. See #10187
git-svn-id: http://svn.automattic.com/wordpress/trunk@16904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 08:31:33 +00:00
ryan 49ae9c8b6e Make classes global. Props JohnONolan. fixes #15558
git-svn-id: http://svn.automattic.com/wordpress/trunk@16902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:53:26 +00:00
ryan 3949ce12d0 Pink trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:21:50 +00:00
ryan dea20dd26b s/default/standard/ for post format slug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 20:50:10 +00:00
ryan cd009bb900 Admin bar sprite cleanups. Props ocean90, darrenmeehan. see #15611
git-svn-id: http://svn.automattic.com/wordpress/trunk@16897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 20:35:28 +00:00
scribu 6114b7403c Always set groupby when a tax query is involved. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 15:15:58 +00:00
scribu 0aaef4b1ad Always call WP_Tax_Query::get_sql(). Fixes #15797
git-svn-id: http://svn.automattic.com/wordpress/trunk@16893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 15:11:02 +00:00
scribu 6552004a1a Slight logic tweak to [16889]. See #14123
git-svn-id: http://svn.automattic.com/wordpress/trunk@16890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 11:44:53 +00:00
scribu 75478abd5c Prevent redundant wp_usermeta JOIN on single-site installs. See #14123
git-svn-id: http://svn.automattic.com/wordpress/trunk@16889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 11:41:00 +00:00
scribu 244ad8dd17 Re-index categories in get_the_category(). Props greuben. Fixes #15442
git-svn-id: http://svn.automattic.com/wordpress/trunk@16888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 20:32:29 +00:00
scribu ccd9189ca4 Set both column header sorting arrows. Props batmoo. Fixes #15480
git-svn-id: http://svn.automattic.com/wordpress/trunk@16887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 20:21:58 +00:00
scribu 91812fa4a7 Set $wp_query->tax_query earlier. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 16:38:51 +00:00
nacin e201fbbbc0 Oh hai, haven't seen you in a while.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 11:12:16 +00:00
scribu cd02eb7f3f Don't set query flags in parse_tax_query(). See #15487
git-svn-id: http://svn.automattic.com/wordpress/trunk@16880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 15:20:52 +00:00
scribu ff33f41daf Remove excess comments from url_to_postid(). See #15771
git-svn-id: http://svn.automattic.com/wordpress/trunk@16878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 09:28:36 +00:00
scribu 5bc9f1051c Use is_singular in url_to_postid(). See #15771
git-svn-id: http://svn.automattic.com/wordpress/trunk@16877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 09:25:02 +00:00
nacin bbbf5dcff5 Use the blue background in the HTML editor, same as the visual editor. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 09:04:37 +00:00
nacin 86e44f1050 More admin bar styling improvements. Includes RTL fixes. Don't show redundant 'search' value. props ocean90, see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 08:54:41 +00:00
nacin e384bd8c2f Fix admin menu save state. props greuben, fixes #15767, see #15615.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 08:41:48 +00:00
dd32 566f62b824 Include a blank email to prevent a PHP notice when pingbacks are being added, causes XML-RPC responses to be malformed with WP_DEBUG.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 07:17:50 +00:00
dd32 bc8dc99e43 Check to see if WP_Query has returned any posts before blindly accessing posts. Fixes #15771
git-svn-id: http://svn.automattic.com/wordpress/trunk@16872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 06:35:47 +00:00
dd32 3d4b847fbb Coding Standards clean-up, Variable typo fix ($errstr), Svn property correction. See #10588
git-svn-id: http://svn.automattic.com/wordpress/trunk@16871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 05:51:49 +00:00
nacin 96b5c58ec2 use_default_gallery_style boolean filter and new gallery-columns-* class. see #15103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 19:15:37 +00:00
nacin 951549bf93 wp-caption-text class for the gallery shortcode caption. props chipbennett, fixes #14411.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 19:05:50 +00:00
ryan 3fa8398525 jQuery UI 1.8.7. Props demetris. fixes #15766
git-svn-id: http://svn.automattic.com/wordpress/trunk@16863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 19:02:53 +00:00
nacin 4e386b29ce Admin bar script/style improvements. props ocean90, see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 18:47:21 +00:00
ryan 3f98ecf721 like_escape() search string. see #15764
git-svn-id: http://svn.automattic.com/wordpress/trunk@16858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 15:57:48 +00:00
scribu cc34c8aef4 Inline docs for WP_Tax_Query. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 08:20:46 +00:00
scribu ffb54b11c2 Fix notice in get_queried_object(). See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 07:51:04 +00:00
nacin 4b48cc1624 Admin bar CSS cleaning. props ocean90, see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 04:01:16 +00:00
scribu ce9b9a9e78 Always have a WP_Tax_Query instance, to prevent notices. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 19:42:25 +00:00
scribu 6f9d098c9b Correct relation var and PHP4 constructor. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 19:36:33 +00:00
scribu e5690e7ebe Introduce WP_Tax_Query. Fix canonical redirects in the process. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 19:29:21 +00:00
ryan 3ed654c847 Go back to sanitize_user() so that dots are allowed. Props ocean90. see #14910
git-svn-id: http://svn.automattic.com/wordpress/trunk@16848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 19:29:00 +00:00
nacin 0036c52101 Make get_header_image() ssl-aware. fixes #14835.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 17:59:35 +00:00
scribu 5fd4580daa False advertising is bad. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 17:19:23 +00:00
scribu 905f5bf810 Proper check for tax query, which will never be empty, due to 'relation'. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 17:09:42 +00:00
scribu e11b831338 Set tax query defaults earlier, for notice prevention and convenience. See #15752
git-svn-id: http://svn.automattic.com/wordpress/trunk@16843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 17:05:40 +00:00
PeteMall c22bf34978 Kill blog specific menus from admin-bar in net admin. Fixes #15754
git-svn-id: http://svn.automattic.com/wordpress/trunk@16842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 16:55:09 +00:00
nacin b3c96b9bcd Remove the snack bar from core. Will become a plugin. Lay down the red.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 16:29:08 +00:00
nacin 746655175a Remove the snack bar from core. Will become a plugin. Lay down the red.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 16:27:53 +00:00
nacin 5aafa64e34 Use correct query var. see #15378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 14:23:54 +00:00
nacin 5c88aa5e8e _get_post_ancestors() in Walker_Page. props layotte, fixes #14329.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 12:38:23 +00:00
scribu 8ba8d20f16 Make get_term_by() use sanitize_title_for_query() too. See #9591
git-svn-id: http://svn.automattic.com/wordpress/trunk@16832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 10:05:19 +00:00
scribu 474c3f0672 Clarify is_single() inline doc. Fixes #14034
git-svn-id: http://svn.automattic.com/wordpress/trunk@16830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 05:27:37 +00:00
scribu 7af05b685c Correct get_file_data() inline doc. Fixes #14071
git-svn-id: http://svn.automattic.com/wordpress/trunk@16828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 03:30:23 +00:00
nacin 6a83feb219 Remove post_type_supports check from register_post_type caps all together. fixes #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 22:07:29 +00:00
markjaquith e0e9dbb8eb Work around some unset variable notices in xmlrpc.php. props redsweater. props sorich87. fixes #10665
git-svn-id: http://svn.automattic.com/wordpress/trunk@16824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 22:00:40 +00:00
ryan 83d1c0bf29 Use santize_key() in more places. Props WraithKenny. fixes #14910
git-svn-id: http://svn.automattic.com/wordpress/trunk@16822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 21:32:19 +00:00
nacin 62364410c0 Include the username in the incorrect password message, for clarity. fixes #14575.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 21:25:52 +00:00
markjaquith c1a0cf30c3 Do not store empty _wp_old_slug values. fixes #15736
git-svn-id: http://svn.automattic.com/wordpress/trunk@16820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 21:22:16 +00:00
markjaquith 298c858c5b Use is_page_type_hierarchical(). props nacin. see #15140
git-svn-id: http://svn.automattic.com/wordpress/trunk@16819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 21:17:01 +00:00
markjaquith 218867ff3c Do not do slug logging/redirects for hierarchical post types. see #15140
git-svn-id: http://svn.automattic.com/wordpress/trunk@16818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 21:10:38 +00:00
nacin fdb3b09a99 Fix closing admin menu animation. props filosofo, fixes #15615.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:51:22 +00:00
nacin e000cbf83a Better reset for ul and li in the admin bar. props duck_, fixes #15727.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:39:49 +00:00
nacin 224e703d8e Define all margins for the admin bar input. props chrisbliss18, fixes #15216.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:38:27 +00:00
nacin a773f692ba s/method_exists/is_callable/. props hakre, fixes #14933.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:27:49 +00:00
ryan 071c5dff0d Remove stripslashes(). No longer needed. Props RogerTheriault. fixes #12560
git-svn-id: http://svn.automattic.com/wordpress/trunk@16808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 19:25:18 +00:00
westi fe92a01932 Correct the logic as there is no publish_post cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 17:07:55 +00:00
westi b3bc43ab49 Check for extra caps here too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 16:52:08 +00:00
westi 38d526d196 Correct some more cap checks to use the correct caps.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 16:18:42 +00:00
westi d9b7e7cf81 Condense the logic. Props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 15:59:56 +00:00
westi 183e561585 Ensure that we always check the right cap when posts are added or edited.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 15:31:17 +00:00
dd32 5cce49e2b7 Enable canonical redirections for Permalink suporting IIS. Props peaceablewhale See #10187
git-svn-id: http://svn.automattic.com/wordpress/trunk@16797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 11:04:40 +00:00
nacin 13a9058319 Close a quote. see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 09:49:56 +00:00
scribu b624542cc5 Revert logic change made in [16789]. See #13818
git-svn-id: http://svn.automattic.com/wordpress/trunk@16793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 09:15:09 +00:00
scribu 39d0718bff Set queried object on CPT archives. Fixes #15730
git-svn-id: http://svn.automattic.com/wordpress/trunk@16792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 08:57:38 +00:00
nacin 2be192c80e Admin bar styling improvements.
* Ensure there isn't a text shadow for update and comment counts.
 * Hide zero count of pending comments via PHP, not CSS.
 * Show the update title attribute across the entire menu item, props demetris.
 * Let the CSS breathe a little.


git-svn-id: http://svn.automattic.com/wordpress/trunk@16791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 08:50:24 +00:00
nacin 611f511e0f Don't show blurry text shadow in the admin bar count. props demetris, fixes #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 08:28:15 +00:00
scribu 2fd70020ea Use has_archive in get_post_type_archive_link(). See #13818
git-svn-id: http://svn.automattic.com/wordpress/trunk@16789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:51:40 +00:00
nacin 35b4860563 Don't improperly whitescreen on incorrect DB credentials during setup-config. Show error message with an opportunity to try again. fixes #15682.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:12:44 +00:00
nacin 0a61447061 Use pagination base for CPT archives. props scribu, fixes #15728.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:02:52 +00:00
nacin 440671b932 Initialize this variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 01:03:12 +00:00
nacin 69ca141a66 Handle posts without titles better in internal linking. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 00:22:43 +00:00
ryan 693f828149 Don't show Suspend/Unsuspend links for the main site on the admin bar. Props ocean90. fixes #15669
git-svn-id: http://svn.automattic.com/wordpress/trunk@16781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 23:11:19 +00:00
nacin c697ff4926 Initialize a variable. props kapeels for initial patch. fixes #15703.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:55:13 +00:00
ryan 4cfb079fc5 Pass NULL as second arg to wp_upload_bits() to avoid deprecated warning. Props koke. fixes #15698
git-svn-id: http://svn.automattic.com/wordpress/trunk@16769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:32:07 +00:00
ryan 5ce0d9cb7a Apply wp_get_attachment_url to empty urls. Props filosofo. fixes #15494
git-svn-id: http://svn.automattic.com/wordpress/trunk@16768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:16:21 +00:00
nacin 26d7de2d93 We only need strpos here. Ensures PHP4 compat. props mailnew2ster, fixes #14187.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 07:17:06 +00:00
nacin 09e076b152 Remove unnecessary space. props demetris, JohnPBloch. fixes #12797.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 22:56:47 +00:00
ryan daaed10ca0 Add jquery-ui-sortable dependency to nav-menu. fixes #15622
git-svn-id: http://svn.automattic.com/wordpress/trunk@16752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:57:09 +00:00
nacin a64b107868 This should be a string. fixes #15704.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:32:25 +00:00
nacin e03399c715 Fix handling of no titles and long titles in internal linking. see #11240.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:28:06 +00:00
scribu f4c63d53aa Pass $args to login_form_* filters. Props aaroncampbell. Fixes #15702
git-svn-id: http://svn.automattic.com/wordpress/trunk@16749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:24:05 +00:00
nacin 4dd3b77b48 Link to network/update-core when running multisite. Remove theme/plugin editors from blog menu when running multisite. Redirect to network/* when accessing theme/plugin-install/editor. props ocean90, see #15525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:41:19 +00:00
nacin fde64e232f Restore bottom padding in plugin rows. fixes #15547.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:15:09 +00:00
nacin 140c4c5606 Flush these left.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 04:51:52 +00:00
markjaquith 0c10eec60c Highlight home page Custom Nav Menu item even when extra query args are present in the URL (only if all other highlights fail). props filosofo. fixes #13994
git-svn-id: http://svn.automattic.com/wordpress/trunk@16742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:54:57 +00:00
markjaquith 5cfe6c81cc Fix up the PHPdoc for get_file_data(). props hakre. fixes #14071
git-svn-id: http://svn.automattic.com/wordpress/trunk@16741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:44:36 +00:00
markjaquith 7290e527e7 Pass post ID to embed_oembed_html filter to avoid global variable incantations. props filosofo. fixes #15491
git-svn-id: http://svn.automattic.com/wordpress/trunk@16740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:38:27 +00:00
markjaquith 7b83e5082e Remove some unused CSS. props ocean90. fixes #15696
git-svn-id: http://svn.automattic.com/wordpress/trunk@16739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:37:03 +00:00
markjaquith 4fbc3224d5 Get rid of niggling hardcoded blogs.dir path. props scribu. fixes #15383
git-svn-id: http://svn.automattic.com/wordpress/trunk@16738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:35:33 +00:00
nacin a8962d02f8 Please test beta one / More fixes are on the way / Beta two next up
git-svn-id: http://svn.automattic.com/wordpress/trunk@16732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 05:06:14 +00:00
nacin 42394406c1 Check that ancestors are not the currently queried objects in nav menu classes. props filosofo, fixes #14518.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 04:29:56 +00:00
nacin d0098e51bb Unescape ampersands before making an oEmbed request. props Viper007Bond, fixes #14514, see #11311.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 02:23:17 +00:00
markjaquith 9cb7a9b837 We know approximately how tall the QuickPress box will be. Let's reduce the amount of UI twitchiness as it async loads!
git-svn-id: http://svn.automattic.com/wordpress/trunk@16725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 23:31:01 +00:00
nacin 2d90cdddfe Things that go bump in the night
git-svn-id: http://svn.automattic.com/wordpress/trunk@16723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 11:13:47 +00:00
westi cd767d889e Revert [16719] until it has has UI review. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 11:01:23 +00:00
nacin 4e2fb85913 Introduce remove_editor_styles(). fixes #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 10:09:00 +00:00
nacin 373a66db0f Introduce remove_custom_background(). see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 09:59:35 +00:00
scribu 2e2ac55ced Use large spinner instead of 'Loading...' text. Props batmoo. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 09:01:23 +00:00
nacin f3c57e9940 Don't use orange as an on state. Also, restore zero margin on the filename header. fixes #15672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 04:18:27 +00:00
nacin c7fe205805 Don't even show parent theme files when viewing the child theme. see #15672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 03:52:59 +00:00
nacin 72958d1c53 Make sure get_themes() returns the proper template and stylesheet directory paths. Use the correct variables. fixes #15671.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 22:53:01 +00:00
nacin 47cfe8dd05 Post format indexes. First pass. see #15378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 10:13:17 +00:00
westi e69d948ca4 Revert [16649] - The core output on this is for logged out users only - need to rework this if we want to move the output. See #14510
git-svn-id: http://svn.automattic.com/wordpress/trunk@16704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 09:44:17 +00:00
nacin 8d9cf65725 s/occured/occurred/. props aldenta, fixes #15653.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 23:30:21 +00:00
nacin 562c038e71 Remove sticky arg from post support. props michaelh, see #12702.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 23:16:04 +00:00
markjaquith 74f17e9850 Fix typo in PHPdoc. props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 22:56:55 +00:00
markjaquith df1887a81a Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107
git-svn-id: http://svn.automattic.com/wordpress/trunk@16696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:45:47 +00:00
markjaquith f2d1e78ec6 Add class to Tag Cloud widget div. props djzone. fixes #12602
git-svn-id: http://svn.automattic.com/wordpress/trunk@16694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:28:17 +00:00
markjaquith 9edf7af6b4 Another s/default/standard/. see #15582
git-svn-id: http://svn.automattic.com/wordpress/trunk@16693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:24:41 +00:00
westi 1df7f1be64 Revert [16279] - the recursive nature of this regex doesn't play well with stack space. See #14993
git-svn-id: http://svn.automattic.com/wordpress/trunk@16692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 17:26:06 +00:00
westi 57fca2acf3 Clean the cache when deleting a term. Fixes #15651
git-svn-id: http://svn.automattic.com/wordpress/trunk@16691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 17:10:02 +00:00
scribu 3b5707c4be Add note about wp_next_scheduled() in wp_schedule_event(). See #14668
git-svn-id: http://svn.automattic.com/wordpress/trunk@16690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 16:27:16 +00:00
westi 3640dfb0db Restore the fix with to the Create New User form fields. Fixes #15642.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 09:55:13 +00:00
markjaquith b608e8ca3e Argh. Missed another s/default/standard/ in [16679]. Any others? see #15582.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 04:38:42 +00:00
markjaquith e98e5b094b Missed a s/default/standard/ in [16679]. props PeteMall. see #15582.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 04:36:00 +00:00
markjaquith a1b12eb6e5 Make sure media upload thickbox takes admin bar height into account. props ocean90. fixes #15635
git-svn-id: http://svn.automattic.com/wordpress/trunk@16681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 04:20:48 +00:00
markjaquith e7140d23cb The name of the standard post format is now Standard (might offer ability to change Default). fixes #15582
git-svn-id: http://svn.automattic.com/wordpress/trunk@16679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 03:19:14 +00:00
markjaquith ff7ac5a045 Move Post Format UI out of Publish meta box and into its own box. see #15638
git-svn-id: http://svn.automattic.com/wordpress/trunk@16678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 02:42:38 +00:00
nacin 831ffc5483 Return true if not is_admin. Tidy. see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 00:50:23 +00:00
nacin efe850aa42 Introduce remove_custom_image_header(). see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 00:16:35 +00:00
ryan 0eeb985ef2 Deprecate and ignore the refresh arg. fixes #15605
git-svn-id: http://svn.automattic.com/wordpress/trunk@16673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 22:12:09 +00:00
markjaquith 3a7b4b71d4 Prevent double Thickbox caption line for Dashboard QuickPress uploads. props ocean90. fixes #15169
git-svn-id: http://svn.automattic.com/wordpress/trunk@16671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:48:52 +00:00
markjaquith 5b37b224f8 Throw WP_Error if post_type passed to register_post_type() is longer than schema allows. props phrostypoison. fixes #13709
git-svn-id: http://svn.automattic.com/wordpress/trunk@16670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:43:39 +00:00
scribu 57d6d72d2f Remove archaic reference return in get_children(). Props filosofo. Fixes #12372
git-svn-id: http://svn.automattic.com/wordpress/trunk@16667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:23:57 +00:00
scribu 0c8a8c3655 Get rid of misplaced 'taxonomy_template' filter. Fixes #14740
git-svn-id: http://svn.automattic.com/wordpress/trunk@16665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:16:24 +00:00
ryan a9e5cc0817 Hide Extra-Long admin bar text. Props filosofo. fixes #15412
git-svn-id: http://svn.automattic.com/wordpress/trunk@16664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:14:52 +00:00
ryan 1b72cb22a4 Prevent default post formats from entering the DB. see #15629 #15582
git-svn-id: http://svn.automattic.com/wordpress/trunk@16662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:03:39 +00:00
ryan 3f72e340d6 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:24:38 +00:00
scribu 5e43a0760b Make image edit labels more concise. Props lloydbudd. Fixes #13613
git-svn-id: http://svn.automattic.com/wordpress/trunk@16656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 18:40:15 +00:00
ryan ce490df051 Export filtering. Props duck_. fixes #15197
git-svn-id: http://svn.automattic.com/wordpress/trunk@16652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 17:21:58 +00:00
ryan a031db170f Fix comment_notes_before. Props mrmist. fixes #14510
git-svn-id: http://svn.automattic.com/wordpress/trunk@16649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 16:52:32 +00:00
ryan b7d3ba8db8 Fix bulk comment keyboard shortcuts. Props duck_. fixes #15571
git-svn-id: http://svn.automattic.com/wordpress/trunk@16648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 16:51:31 +00:00
scribu 2d2dea8fa2 Validate pagination input. Props batmoo. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 06:02:19 +00:00
markjaquith a0bc51f8d8 Use prepare() instead of addslashes(). props wpmuguru.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 01:51:32 +00:00
nacin bd0a73d083 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 23:38:22 +00:00
markjaquith b246fdf17f Drop pingback/trackback blogroll whitelisting feature. Too many ways to abuse it. props avereha. props vladimir_kolesnikov. fixes #13887 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@16637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 22:46:35 +00:00
ryan 2911ff8ec3 Add bump down for menu bar. Allow themes to add a custom bump callback. Props ocean90. fixes #15592
git-svn-id: http://svn.automattic.com/wordpress/trunk@16636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 21:50:57 +00:00
PeteMall f4e8cf9bb6 Address redirection loop with multiple networks and network admin. Props mwidmann, fixes #15591
git-svn-id: http://svn.automattic.com/wordpress/trunk@16633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:45:40 +00:00
ryan e1bb824b25 Prepare properly. Props Vladimir Kolesnikov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:04:11 +00:00
scribu 6eff593e14 Get rid of in favor of . Fixes #15607. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 20:15:04 +00:00
scribu d171e12580 Update URL when performing ajaxified action. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 18:57:33 +00:00
nbachiyski 368eefd69c comments_number() doesn't need to call get_the_ID(), because get_comments_number() does it if post ID is missing
git-svn-id: http://svn.automattic.com/wordpress/trunk@16613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 17:34:43 +00:00
nbachiyski 442de36663 Add New string fixes. Fixes #15577
git-svn-id: http://svn.automattic.com/wordpress/trunk@16612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 16:54:06 +00:00
ryan 9d8b8ace88 Default Add New menu link to first post type in list. Avoids empty href issues. see #15308
git-svn-id: http://svn.automattic.com/wordpress/trunk@16610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 16:16:29 +00:00
ryan 3342a5b4c0 Admin Bar: Don't show Manage Comments and Add Post link if the user doesn't has the cap for it. Props ocean90. fixes #15597
git-svn-id: http://svn.automattic.com/wordpress/trunk@16609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 16:07:32 +00:00
westi d2bce97ced Make the list of actions that can be performed on a site in the User List in Network admin filterable.
Add classes for all core site status types to the view url.
Move the CSS to a css file rather than including it inline.
See #15558

git-svn-id: http://svn.automattic.com/wordpress/trunk@16607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 13:31:42 +00:00
nacin e466bb9d65 Use get_user_count() if multisite in wp_version_check. props PeteMall, fixes #15599.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 05:27:01 +00:00
nacin d0b26b2d43 Kill check_server_timer(). fixes #15602.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 05:16:24 +00:00
scribu cbca4fd42a Make bottom admin pagination scroll to the top after rows are updated. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-28 19:05:12 +00:00
ryan b1e7c513b7 Remove wp_admin_body_style(). Props ocean90. fixes #15507
git-svn-id: http://svn.automattic.com/wordpress/trunk@16600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 22:05:54 +00:00
ryan 50cb4c26c6 Admin bar phpdoc update. Props filosofo. fixes #15418
git-svn-id: http://svn.automattic.com/wordpress/trunk@16599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 21:51:12 +00:00
ryan d4a7589502 Super admin menu hover fix. Props filosofo. fixes #15524
git-svn-id: http://svn.automattic.com/wordpress/trunk@16598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 21:47:28 +00:00
ryan 6dc6d9892f Revert [16359]. Deal with it in 3.2. see #15361
git-svn-id: http://svn.automattic.com/wordpress/trunk@16597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 21:38:38 +00:00
ryan 21650c59bc Meta data caching improvements. Props mdawaffe. see #15545
git-svn-id: http://svn.automattic.com/wordpress/trunk@16596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 21:35:26 +00:00
nbachiyski 9c6ba6387e Add context to Add New admin bar menu label -- we have many other Add New
git-svn-id: http://svn.automattic.com/wordpress/trunk@16595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 11:16:23 +00:00
scribu 3014920524 Make date columns first sort in descending order. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 02:03:02 +00:00
nacin 37ce5d0c63 Post beta bump for tonight's build.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 19:02:06 +00:00
westi fe18b7024f Things go bump in the night.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 16:16:12 +00:00
scribu 6e2eae9736 Minor code beautification. Props hakre. Fixes #15569
git-svn-id: http://svn.automattic.com/wordpress/trunk@16581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 02:14:33 +00:00
markjaquith f23d5de358 Cast to array, to avoid notices. props hakre. fixes #14997
git-svn-id: http://svn.automattic.com/wordpress/trunk@16576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 20:34:22 +00:00
markjaquith 14be097d5e Revert [15829] for now, consider better solution for 3.2. see #13550
git-svn-id: http://svn.automattic.com/wordpress/trunk@16575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 20:25:26 +00:00
westi b0d6453462 Cast to string so we return the correct datatype. See #15517 props barry.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 17:51:39 +00:00
ryan 43448dc471 Bump tinymce gz. see #15544
git-svn-id: http://svn.automattic.com/wordpress/trunk@16567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 15:34:19 +00:00
westi 59c95ba48e Let SimplePie do more of the date handling for us. Props rmccue.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 11:53:12 +00:00
scribu 42361800ad Correct cache invalidation in update_usermeta() and delete_usermeta(). Props mdawaffe. Fixes #15559
git-svn-id: http://svn.automattic.com/wordpress/trunk@16562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 06:47:52 +00:00
markjaquith dc77ee14f8 Make Linking and Internal Linking keyboard-friendly and URL-paste-friendly. props koopersmith. fixes #15544
git-svn-id: http://svn.automattic.com/wordpress/trunk@16561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 06:44:46 +00:00
ryan 86c173262f Load network plugins for wp-activate.php. Restore MU load order. Props blamenacin. fixes #14718
git-svn-id: http://svn.automattic.com/wordpress/trunk@16558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 00:19:38 +00:00
scribu 719b8d8f4a Introduce 'relation' operator between tax queries. Props Otto42 for initial patch. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 20:22:27 +00:00
scribu c891b0ebc7 Ajaxify theme feature filter. Props ocean90 for initial patch. See #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@16553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 20:17:22 +00:00
scribu 3230b44f63 Make get_file_data() regex even more precise. Props hakre. See #15193
git-svn-id: http://svn.automattic.com/wordpress/trunk@16552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 19:37:31 +00:00
ryan 104c9ed3d8 Make sure create_users is strippped from blog admins for multisite setups where add_new_users is not enabled. see #15357
git-svn-id: http://svn.automattic.com/wordpress/trunk@16551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 16:29:21 +00:00
scribu d941809a3c Remove debug cruft from [16543]. See #14590
git-svn-id: http://svn.automattic.com/wordpress/trunk@16544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:49:23 +00:00
scribu 696bfb5fc6 Minor cleanup in queried object setting logic. See #14590
git-svn-id: http://svn.automattic.com/wordpress/trunk@16543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:47:45 +00:00
nacin 53a2e0667e Cast term_id to int for queried_object_id. props wojtek.szkutnik, fixes #14590.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:32:19 +00:00
scribu 5fa3c84fdb Remove vestige code from theme.js. See #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@16540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:06:15 +00:00
nacin 9134684d84 escape URL in wp_link_pages. fixes #14271.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 23:54:30 +00:00
scribu f93ca9618a Prevent notice when checking for hierarchical tax rewrite. Props demetris. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 21:56:20 +00:00
scribu 2ec0d0509e Fix 'timeinfo' cache invalidation. Fixes #14922
git-svn-id: http://svn.automattic.com/wordpress/trunk@16537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 21:45:45 +00:00
nacin 69b3167678 Revert [15688], [15689], [15691]. Try again in 3.2. see #14966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:17:26 +00:00
nacin 0d56b69953 Add the audio post format, the final format we plan to support. see #14746.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:05:14 +00:00
nacin 60685a399d Yeah, about that comma... Fix internal linking for both IE6 and IE7. props koopersmith, fixes #15485.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 06:32:18 +00:00
scribu 06c1418787 Consider only IN tax queries when returning the queried object. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 05:14:47 +00:00
ryan 9f9c57934f Bump tinymce version. see #15532
git-svn-id: http://svn.automattic.com/wordpress/trunk@16529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 03:03:28 +00:00
ryan 42bb6c326a Bring link dialog to front when TinyMCE is fullscreen. Props koopersmith. see #15532
git-svn-id: http://svn.automattic.com/wordpress/trunk@16528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 02:48:58 +00:00
scribu 0a1d745a54 Move s/ /+ out of WP_Query, so that 'category_name=Some Category' works again. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 16:33:05 +00:00
scribu e3126350ce Don't display search subtitle on themes page. Props ocean90. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 16:20:08 +00:00
nacin c50bb5c082 Use correct name in script loader. see #14936.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 14:10:33 +00:00
scribu 24f00c889f Update get_tax_sql() docblock. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 14:09:01 +00:00
nacin 72a354331b Add a simple filter to allow removing the recent comments default widget styles. fixes #15493, see #14876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:55:11 +00:00
nacin d30ef21e80 Revert [15994] for now, as the default widgets then go through an identity crisis. see #14876, #15493.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:48:35 +00:00
nacin 4d6e524d90 Escape the wrap ID and class attributes going into sprintf() and s/slug/wrap_id/ to make it more obvious. see #14235.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:37:09 +00:00
nacin 17a87ff30f Introduce items_wrap arg to wp_nav_menu(). props filosofo, fixes #14235.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:32:02 +00:00
scribu 1f4da8bfc6 re-minify edit-comments.js. See #15504
git-svn-id: http://svn.automattic.com/wordpress/trunk@16517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 22:03:54 +00:00
scribu cbd4ea48ca Don't do any taxonomy stuff if is_singular. See #15487
git-svn-id: http://svn.automattic.com/wordpress/trunk@16515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:51:21 +00:00
ryan 66d34fa710 array_unique() category__in and category__not_in to eliminate dupes from multiple runs of parse_tax_query(). Fixes canonical redirects for cat, category__in, and category__not_in requests. see #12891 #15487
git-svn-id: http://svn.automattic.com/wordpress/trunk@16513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:43:19 +00:00
scribu 36658f37ca Fix logic for when excluding a non-existant term. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:28:50 +00:00
ryan 44733f9635 If the queried term does not exist make sure no posts are returned in the query rather than falling through to querying all posts. Fixes 404s when querying cats that do not exist. see #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:10:20 +00:00
nacin d29759048d Use 'Update' and 'Save Link' for internal linking submit button. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 19:27:12 +00:00
westi 1a0818d477 Ensure that we return post IDs as strings to honour API defintions. See #15517
git-svn-id: http://svn.automattic.com/wordpress/trunk@16508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 15:50:56 +00:00
scribu b21ec2cbd5 Remove debug cruft from [16505]. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 13:48:24 +00:00
scribu 7f59d20fb5 Don't set post_type to 'any' for category and tag queries. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 13:39:07 +00:00
westi 91a375041d Use do_items rather than do_item so the output of the l10n script is recorded. Fixes #15124.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 12:01:15 +00:00
westi 0441736806 Add missing calls to convertEntities for js l10n
git-svn-id: http://svn.automattic.com/wordpress/trunk@16503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 11:56:59 +00:00
nacin 384b75278c IE8 fixes for internal linking. props koopersmith, see #15485, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 02:02:37 +00:00
ryan 1310eaa966 should not be an array of arrays. Props nickmomrik
git-svn-id: http://svn.automattic.com/wordpress/trunk@16497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 23:58:29 +00:00
markjaquith d1d83710e7 Do not set is_category/is_tax/is_tax for is_singular requests. props mtekk. fixes #15487
git-svn-id: http://svn.automattic.com/wordpress/trunk@16495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 19:25:53 +00:00
nacin f1b54c5029 Bump wplink.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 19:02:57 +00:00
ryan 39f72f982f Fill http by default. Props koopersmith. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:59:43 +00:00
ryan 203079e963 Clear fields on refresh. Props koopersmith. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:54:03 +00:00
ryan ad499c6131 wplink IE fixes. Props koopersmith. see #15485
git-svn-id: http://svn.automattic.com/wordpress/trunk@16490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:49:12 +00:00
ryan 42ce1825ac Remove debug cruft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 17:10:35 +00:00
ryan 0b37bd0b6d Populate post term relationship cache in get_the_terms(). Restores caching lost when we moved away from get_the_category(). see #15407
git-svn-id: http://svn.automattic.com/wordpress/trunk@16487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 17:09:21 +00:00
scribu 8ab7aafec4 Use event delegation in wp-lists.js. Fixes #15488
git-svn-id: http://svn.automattic.com/wordpress/trunk@16486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 16:11:56 +00:00
josephscott 43ff5a69a8 Expose post format details in XML-RPC:
- New method: wp.getPostFormats
- New field in methods dealing with posts: wp_post_format

props ericmann, fixes #15405



git-svn-id: http://svn.automattic.com/wordpress/trunk@16484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 13:57:05 +00:00
scribu 7879bcaee5 Force GROUP BY when there's a tax query. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 09:17:59 +00:00
nacin 8233e4f6b5 Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 05:31:07 +00:00
ryan 7cb2ad6d3a Return false if empty cat passed. Restores old behavior.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 05:06:48 +00:00
markjaquith 8cd425bf92 Use "default" as the key (not "0") for the default post format string in the translation array. props josephscott
git-svn-id: http://svn.automattic.com/wordpress/trunk@16477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 04:32:33 +00:00
ryan 374cfa11b4 Link to edit profile screen within same admin if in network or user admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 23:07:59 +00:00
scribu 762eca08ca Fix user pagination. Props duck_. Fixes #15479
git-svn-id: http://svn.automattic.com/wordpress/trunk@16473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 22:51:36 +00:00
scribu d5b3719be8 Make entire sortable header clickable. Props batmoo. Fixes #15352
git-svn-id: http://svn.automattic.com/wordpress/trunk@16472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 21:39:22 +00:00
nacin 0d7979ea9a s/flush/flush_rules/ in a comment. fixes #15474, props hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:21:54 +00:00
nacin b8ce0261df More param fixes, props duck_. see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:12:48 +00:00
nacin a40a66dfe1 s/ui-dialog/wp-dialog/ in our dialog styles. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:07:59 +00:00
markjaquith e2879c73fa Exclude term exclusions even if they are also inclusions. props foofy, scribu. see #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:04:47 +00:00
scribu d23ca4da48 Clarify doc-block for wp_delete_object_term_relationships(). Props simonwheatley. Fixes #15472
git-svn-id: http://svn.automattic.com/wordpress/trunk@16466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 18:46:41 +00:00
ryan 9829892631 Script bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@16464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 14:23:05 +00:00
nacin 7a2af1c100 Second half of [16462]. props duck_. see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 09:51:50 +00:00
nacin d32722275e Clean up logic when selecting post types for the admin bar content drop-down. see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 09:01:07 +00:00
nacin f9434dc3f6 Kill the background from the default jQuery UI dialog theme. We'll get this from .wp-dialog in the colors stylesheets. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 08:50:20 +00:00
nacin d9b2230489 More svn add. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 08:20:19 +00:00
nacin 485daddde1 Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 07:59:05 +00:00
nacin 9820a48b54 Second pass on internal linking preloading. Adjust styles, svn add the wpdialogs plugin, adjust files and docs. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 07:56:47 +00:00
nacin 3bb8ace4e2 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 06:22:13 +00:00
nacin 31f08706f7 Style the on-hover state for collapsed admin menus in the blue theme. props PeteMall, fixes #15462.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 04:29:27 +00:00
nacin d37c4b0ebc WP_Http_ExtHTTP variable fix. Don't pass an empty array to http_request, props mdawaffe, fixes #13730.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 03:34:28 +00:00
nacin 695644cc72 Allow is_feed() to drill down the feed being checked. props johnbillion for initial patch, fixes #15460.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 03:19:08 +00:00
nacin 8ff32f52df Add list_pages filter. props johnjamesjacoby, fixes #13668.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 02:23:05 +00:00
nacin d397326116 When inserting an image via oEmbed, wrap it in a link. props MarkJaquith, fixes #14945.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 02:17:13 +00:00
ryan c50cc5c57a Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:48:27 +00:00
ryan 847499e531 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:47:34 +00:00
ryan 01a32c0af0 Use wp_cache_add() instead of wp_cache_set() in update_meta_cache(). fixes #15452
git-svn-id: http://svn.automattic.com/wordpress/trunk@16437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:25:42 +00:00
markjaquith c8b4e1cf5d admin-bar.js is stale. Bumping the version number.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:55:09 +00:00
markjaquith 3e53432b7b Make admin bar update bubbles DARK text on LIGHT background, per janeforshort. see #15308
git-svn-id: http://svn.automattic.com/wordpress/trunk@16435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:35:24 +00:00
markjaquith 78e63786d0 Add admin-bar class to body_class() if the admin bar is showing. fixes #15455
git-svn-id: http://svn.automattic.com/wordpress/trunk@16432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:21:45 +00:00
markjaquith 6482610f9a esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@16431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:12:01 +00:00
nacin 4beb3ab36e get_tag_link and get_category_link can also return WP_Error. fixes #15449.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:10:50 +00:00
scribu 0921736b76 Differentiate between localized and raw total pages. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:03:27 +00:00
markjaquith bbaa4eb8a1 The path goes INSIDE home_url(). fixes #15413
git-svn-id: http://svn.automattic.com/wordpress/trunk@16425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:38:28 +00:00
ryan a6cdc2dea4 Register the default theme dir in wp-settings.php so that it is registered even when get_themes() doesn't run. Fix counting of theme dirs. Add option to get_raw_theme_root() to disregard the current theme root cache. see #14911
git-svn-id: http://svn.automattic.com/wordpress/trunk@16424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:11:44 +00:00
scribu a0e5b38765 Fix ambiguous column error. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 12:33:32 +00:00
nacin e5f944a913 Don't check post_type_supports in map_meta_cap. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 06:21:34 +00:00
nacin 4fda3f791f Fix the screen options sprite in RTL. Also compress and bump for previous commits. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 04:52:01 +00:00
nacin 7b078d3b9b Finalize conflicts from [16136]. Final pass on wp-admin css cleanup. props JohnONolan, fixes #14770.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 03:30:27 +00:00
scribu 275888f2e6 Re-introduce ->tax_query as a read-only var. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 02:04:08 +00:00
scribu f58b21e69d Optimize get_tax_sql(). See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 01:56:01 +00:00
scribu d2a5add61a Deprecate update_category_cache(). Fixes #15446
git-svn-id: http://svn.automattic.com/wordpress/trunk@16412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 00:56:00 +00:00
nacin de65e1f2f3 Fix arin whois link. props ozh. @todo consider its removal. see #15281.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 00:54:22 +00:00
scribu 8cf88a2e84 Minor get_meta_sql() cleanup. See #9124
git-svn-id: http://svn.automattic.com/wordpress/trunk@16410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 00:27:34 +00:00
nacin 3f5b442306 Revert changes to wptexturize() until test cases pass. Reverts [16280], [16378]. see #4539 and #15241.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 22:18:48 +00:00
nacin 200f550862 More updates to post.js. see [16248].
git-svn-id: http://svn.automattic.com/wordpress/trunk@16408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 22:13:17 +00:00
nacin c09b2e5b22 Improve internal linking river feedback. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 18:30:34 +00:00
azaozz 4002b79b7a Revert the TinyMCE spellchecker to its old behaviour, update to tinymce_spellchecker_php_2_0_3, fixes #15268
git-svn-id: http://svn.automattic.com/wordpress/trunk@16405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 17:30:18 +00:00
scribu 8b107e23f4 Revert [16402] outright. Causes issues with themes. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:36:20 +00:00
scribu af6dbfde54 Revert taxonomy.php part of [16402]. Not fully backed yet. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:24:14 +00:00
scribu 690cd434d1 Don't pollute the 'tax_query' query var. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:22:09 +00:00
nacin 99f3141859 Use user_trailingslashit in get_author_posts_url(). fixes #15441.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:09:46 +00:00
scribu aa0e750a9f Update some @since tags. Props demetris. Fixes #15438
git-svn-id: http://svn.automattic.com/wordpress/trunk@16400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 13:16:13 +00:00
nacin 2f107efd02 Internal linking functionality updates. Scrap pagination for a river of results. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 05:11:41 +00:00
nacin 16327a7dbb Internal linking UI updates. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 04:25:14 +00:00
ryan bbd70cabe7 Minify wplink js. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 01:21:18 +00:00
nacin 50ca771db7 Bump wplink version. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 00:47:22 +00:00
nacin d042642802 Properly force variable to an array. props Viper007Bond, fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 00:19:51 +00:00
azaozz c121aa0ae3 Remove invalid parent paragraph when pasting in the visual editor or switching visual to HTML and back, keep multiple empty lines in a <pre> tag, fixes #15095 fixes #15367
git-svn-id: http://svn.automattic.com/wordpress/trunk@16394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 23:57:27 +00:00
nacin afcbc49e62 Next pass on internal linking. Functional, but needs styling. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 23:48:24 +00:00
nbachiyski 27200382fa Fallback to only RTL attributes in wp_die()'s HTML tag if it's very early in the execution. Fixes #6132. Props RanYanivHartstein and nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 20:13:05 +00:00
ryan 4b8b1bbbba Minify wplink js. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 18:42:49 +00:00
ryan ee8966d821 Auto focus URL field. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 18:40:34 +00:00
nacin 29203134cb Sanity cast. see #15192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 18:06:57 +00:00
nacin bd638424fc set_post_thumbnail(). fixes #15192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 17:59:25 +00:00
nacin c5aa88412a capability_type = page and no custom caps should also kick on map_meta_cap. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 17:11:34 +00:00
scribu e55bee786e Revert [16384]. See #15433
git-svn-id: http://svn.automattic.com/wordpress/trunk@16385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 15:23:04 +00:00
scribu b20d93c69c Ignore 'name' qv if 'p' qv is set. Fixes #15433
git-svn-id: http://svn.automattic.com/wordpress/trunk@16384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 13:33:16 +00:00
scribu 9e939da4f3 Fix get_tax_sql() docs. Props Viper007Bond. Fixes #15431
git-svn-id: http://svn.automattic.com/wordpress/trunk@16382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 11:24:55 +00:00
scribu cc72395bbb Set 'taxonomy' and 'term' query vars for back-compat. Fixes #12659
git-svn-id: http://svn.automattic.com/wordpress/trunk@16381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 10:51:39 +00:00
scribu 7cb5240bd6 Re-parse tax query just before calling get_tax_sql(). Fixes #15161
git-svn-id: http://svn.automattic.com/wordpress/trunk@16380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 10:11:25 +00:00
scribu 2b58e241d0 Better error handling in get_meta_sql(). Props Viper007Bond. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 10:02:39 +00:00
westi 17d25e2cdc Fix regression in wptexturize with single quotes when used for contraction. See #15241 props norbertm.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 08:52:36 +00:00
nacin 478186859b Properly check, initialize, or cast a number of variables. props ChenHui. see #14642.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 06:38:10 +00:00
scribu 14fa85ba94 Make submitted-on a class instead of an id. Fixes #15426
git-svn-id: http://svn.automattic.com/wordpress/trunk@16375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 20:28:55 +00:00
scribu a41a7b5b5b Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:00:09 +00:00
scribu 03dd41a0d2 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: http://svn.automattic.com/wordpress/trunk@16365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 15:50:02 +00:00
scribu 5ed4e6d260 Fix empty query vars being passed as 'true' instead of ''. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 00:48:30 +00:00
scribu 6b2aa2177f Update doc for WP_Query::post. Fixes #15105
git-svn-id: http://svn.automattic.com/wordpress/trunk@16360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:32:18 +00:00
scribu 5f0adf4d70 Use wp_start_object_cache() in switch_to_blog(). Props prettyboymp. Fixes #15361
git-svn-id: http://svn.automattic.com/wordpress/trunk@16359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:11:50 +00:00
scribu 7640c5748b Add colon after Upload/Insert. Fixes #14810
git-svn-id: http://svn.automattic.com/wordpress/trunk@16358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 22:52:51 +00:00
scribu 9c4ab78301 Always apply comment_text filter in check_comment(). Props hakre. Fixes #14680
git-svn-id: http://svn.automattic.com/wordpress/trunk@16357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 22:30:36 +00:00
scribu 40b2c5b6c5 Kill WP_Object_Query. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 18:32:43 +00:00
scribu cd60463f36 Revert most of [16018]. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 18:26:15 +00:00
scribu 6267650ddd Split get_search_sql(). See #15170. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 18:18:45 +00:00
scribu 4b927768fd Prevent horizontal scrollbar. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 15:33:12 +00:00
nacin 134adb6ec1 Move cast to within array_keys to prevent warning when get_the_terms returns false. see #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 15:32:20 +00:00
scribu e56413ae33 Add 'get_the_terms' filter. Props filosofo. Fixes #15410
git-svn-id: http://svn.automattic.com/wordpress/trunk@16342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 14:08:27 +00:00
nacin 7b010efc77 Escape the class arg in wp_list_categories. props hakre, fixes #11514.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 11:06:26 +00:00
nacin 81a8f2d3ce Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 09:53:55 +00:00
nacin f6d1e9c634 Only a static class method or function can be used in an uninstall hook. props scribu, fixes #13786.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 09:45:57 +00:00
nacin 3ccfb56e3c Set map_meta_cap to true when capability_type = post and no custom caps are specified. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 08:40:38 +00:00
westi 00b232ea51 Revert [16320] and [16321] for now. Breaks things
git-svn-id: http://svn.automattic.com/wordpress/trunk@16336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 22:44:16 +00:00
westi 435c4c2dbf Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 21:53:15 +00:00
scribu 98cda5bd65 Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 20:05:37 +00:00
scribu 18116f12c6 Don't use deprecated category properties. Props filosofo. Fixes #15408
git-svn-id: http://svn.automattic.com/wordpress/trunk@16331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 18:40:51 +00:00
nacin 3f7374b8e6 Self-close embed tag for googlevideo embed handler. props pross, fixes #14230.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 11:17:35 +00:00
nacin fd4b0965f8 Only register post_format taxonomy to posts. see #15396, #14746.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 10:58:58 +00:00
nacin 2ad9865886 Only mysql_free_result if we have a valid resource, and remove error suppression there. see #15402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 10:40:43 +00:00
nacin 83fbd4e36b Memory usage and execution improvements in wpdb. Store and work with resources directly, rather than full copies of results. Plugins which incorrectly used wpdb->last_result (a private property) will need to shift to wpdb->get_results() with no \$query. Magic getter is introduced for back compat when using PHP5. props joelhardi, fixes #12257.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 10:15:18 +00:00
nacin 96835b99d0 Use term cache in get_post_format() to save a boatload of queries. see #15396.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 09:49:34 +00:00
nacin b80fc23177 jQuery 1.4.4. props demetris, fixes #15201, #15227.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 07:13:11 +00:00
nacin 1478fb89f1 Typo fix. see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 07:04:34 +00:00
markjaquith 75d045de8e Add checks for WP_Error. props ptahdunbar. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:10:56 +00:00
markjaquith 6d78cf73f9 Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:05:33 +00:00
nacin 5f4a583fb1 Remove more create_function calls. props huichen, see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:50:36 +00:00
nacin 7ec4e83dc5 Remove old header/footer link active state. props dremeda, fixes #14487.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:17:11 +00:00
ryan a071a3a1df Admin bar fixes. Props ocean90. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@16310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 20:02:52 +00:00
ryan 5cef2ca0a6 Register admin menus against admin_bar_menu action to be consistent with other menu hooks. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@16309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 19:11:12 +00:00
ryan e0aaecc573 Make the My Sites menu items use admin_url() instead of hardcoding the url. Props caesarsgrunt. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@16308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 18:48:38 +00:00
ryan 7440948514 phpdoc fixes. Props hakre. fixes #12526
git-svn-id: http://svn.automattic.com/wordpress/trunk@16307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 17:02:14 +00:00
ryan 6304a38db7 Farbtastic 1.3u. Props flashingcursor. fixes #14707
git-svn-id: http://svn.automattic.com/wordpress/trunk@16305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:34:22 +00:00
nacin d974a35fb0 Don't notify the author when they posted or moderated the comment. fixes #12774.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:28:49 +00:00
ryan 3a4671f530 Prevent stomping of global. Props prettyboymp. fixes #13945
git-svn-id: http://svn.automattic.com/wordpress/trunk@16303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:22:18 +00:00
ryan c10218f665 Admin bar tweaks. Props filosofo. see #15308
git-svn-id: http://svn.automattic.com/wordpress/trunk@16302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:19:25 +00:00
ryan 113d5e7529 Admin bar tweaks. Props filosofo. see #15308
git-svn-id: http://svn.automattic.com/wordpress/trunk@16301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:19:14 +00:00
ryan 6ea5924298 Faster is_serialized(). Props duck_, hakre, Denis-de-Bernardy. see #14429
git-svn-id: http://svn.automattic.com/wordpress/trunk@16300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:10:16 +00:00
ryan 0a1fa29fe2 Return false if upload_space_check_disabled is true in upload_is_user_over_quota(). Props SergeyBiryukov. fixes #14121
git-svn-id: http://svn.automattic.com/wordpress/trunk@16299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:03:51 +00:00
westi 9acf6d451e Don't show duff links if someone decides that they want the admin bar for all users - even those who are logged out.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 11:49:37 +00:00
westi 0027abcb1a Strip back the stats in the memory based object cache to something less verbose and useless.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 10:55:06 +00:00
westi 58c936f7df Link the shortlink button to the shortlink. Props caesarsgrunt see #14772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 10:24:56 +00:00
scribu 8885e4f78e Add context to get_meta_sql(). See #15018
git-svn-id: http://svn.automattic.com/wordpress/trunk@16286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 10:06:05 +00:00
westi ae213c99ca Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 23:31:54 +00:00
westi 9e30ccd803 Add support for ID style classes in get_body_class(). Fixes #12397 props filosofo
git-svn-id: http://svn.automattic.com/wordpress/trunk@16283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 22:07:07 +00:00
westi 583ac68a44 Move the l10n helper function into a seperate js file so we can always output it first.
Fixes #15124.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 21:53:30 +00:00
westi 71fab5576a Improved RegEx for quote matching in wptexturize. Fixes #4539 and #15241 props norbertm.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 19:23:57 +00:00
westi 2d09607167 Don't capture the pesky trailing punctuation. Fixes #14993 props filosofo
git-svn-id: http://svn.automattic.com/wordpress/trunk@16279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 17:47:46 +00:00
nacin 8b6cb32160 Ensure we have a valid post type object when checking for has_archive. props filosofo, fixes #15364.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 16:42:59 +00:00
ryan d26a1aa4ef Pass post ID to get_enclosed filter. Props willnorris. fixes #14018
git-svn-id: http://svn.automattic.com/wordpress/trunk@16275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 16:40:49 +00:00
ryan 6764a0c3fa Admin bar hover fixes. Props filosofo. see #15307
git-svn-id: http://svn.automattic.com/wordpress/trunk@16274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 16:19:55 +00:00
nacin 795ab6d0f3 Cripple capability_type. Produced inconsistent, janky meta cap mapping; now only acts as a capability base. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 14:50:14 +00:00
nacin 42fbeea783 Properly set up menu_name. We're handling it differently because it defaults off other labels. fixes #14832.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 00:42:43 +00:00
scribu 3cbc8ef308 Make get_tax_sql() a standalone function. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 23:30:35 +00:00
scribu db1d9369eb Make get_meta_sql() a standalone function. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 23:22:13 +00:00
ryan d24a3cfe04 Always allow super admins to have create_users. see #15357
git-svn-id: http://svn.automattic.com/wordpress/trunk@16264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 21:45:06 +00:00
nacin faa53fa488 Better better message.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 20:37:47 +00:00
ryan 8a62fb6cb5 Drop display_name from user search columns. It doesn't have an index. see #15170
git-svn-id: http://svn.automattic.com/wordpress/trunk@16262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 20:01:56 +00:00
scribu e9952075ee Allow mix of 'taxonomy' => 'foo', 'term' => 'bar' and 'foo2' => 'bar2'. Props filosofo. Fixes #15363
git-svn-id: http://svn.automattic.com/wordpress/trunk@16259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 16:45:51 +00:00
scribu 3a7d16a308 Set 'operator' field. Fixes #15350. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 12:27:03 +00:00
westi b14547df9b Better message.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 10:45:30 +00:00