Commit Graph

8866 Commits

Author SHA1 Message Date
ryan e91971979b Properly return referrer when referer = true and echo = false. Props scribu, webduo. fixes #11953
git-svn-id: http://svn.automattic.com/wordpress/trunk@18130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 18:23:41 +00:00
ryan 75660d68a0 Add cache_domain argument to get_terms() to allow caching to a unique set of cache buckets. Useful when taxonomy queries have been modified via filters and need their own cache space. Props mfields. fixes #13318
git-svn-id: http://svn.automattic.com/wordpress/trunk@18128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-03 15:24:14 +00:00
azaozz b0804966b2 Squeeze 10 more pixels for longer menu names, fixes #17544
git-svn-id: http://svn.automattic.com/wordpress/trunk@18122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 21:21:15 +00:00
ryan eca48b71f1 Remove summary attribute. Props ocean90. fixes #11554
git-svn-id: http://svn.automattic.com/wordpress/trunk@18120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 20:43:31 +00:00
ryan d92ecb674e Revert [17663]. fixes #17131
git-svn-id: http://svn.automattic.com/wordpress/trunk@18119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 20:03:27 +00:00
koopersmith e62e01b928 Remove Courier from the monospace font stack. fixes #17640.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 19:55:27 +00:00
ryan e3906cf663 Validation fixes. Props ocean90, xknown. fixes #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 17:19:10 +00:00
ryan 46d0e53c7b RTL fixes for dfw tagline, permalink editing, and hscroll. Props yoavf. fixes #17639
git-svn-id: http://svn.automattic.com/wordpress/trunk@18113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 16:04:02 +00:00
ryan 38e198f8f1 Resurrect hash_hmac() compat for hosts that --disable-hash. Props aaroncampbell. fixes #17647
git-svn-id: http://svn.automattic.com/wordpress/trunk@18111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 14:21:09 +00:00
nacin 30729cc791 Take that, PHP 5.0.5. Good riddens. see #14160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 22:03:36 +00:00
azaozz 92343666f3 Set DFW background color to match the admin theme's background, see #17644
git-svn-id: http://svn.automattic.com/wordpress/trunk@18108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:50:04 +00:00
westi 3af271ea94 Fix typo in PHPMailer. Fixes #17614 props pross.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:42:47 +00:00
azaozz 40c95fc8f7 Make DFW use the exact same style as the normal editor, remove width resizing in DFW as it would clash with editor-style.css for some themes, fixes #17644
git-svn-id: http://svn.automattic.com/wordpress/trunk@18103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 20:01:29 +00:00
markjaquith fb76d8852b Use monospaced font for HTML editor. props iammattthomas. fixes #17640
git-svn-id: http://svn.automattic.com/wordpress/trunk@18102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 19:31:42 +00:00
westi 5d31e03a4c Bump the version on the updated CSS. See #17178.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 16:59:25 +00:00
westi 1b68451354 Fix hover styles in the admin bar sites menu too. Fixes #17178 props ocean90 and johnjamesjacoby.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 16:50:00 +00:00
nacin 0fc43cf648 s/displayied/displayed/. props kawauso, fixes #17633.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 16:44:13 +00:00
azaozz 9972597f91 Widgets RTL fixes, props yoavf, fixes #16082
git-svn-id: http://svn.automattic.com/wordpress/trunk@18095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 16:29:10 +00:00
westi 15fe54e3e0 Add .ics / text/calendar to the whitelist of allowed file types. Fixes #15916 props SergeyBiryukov
git-svn-id: http://svn.automattic.com/wordpress/trunk@18091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 15:08:48 +00:00
westi 54511399a8 Only apply the admin bar bump down css to the screen media type so it doesn't affect printouts. Fixes #17512 props kawauso.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 14:30:12 +00:00
westi 2ad5ccbe7b Only close comments on old posts by default. Fixes #16090 props nacin and johnjamesjacoby.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 14:24:02 +00:00
westi ea720f6a36 Make the css for the row status highlighting more specific so that it works regardless of the ordering of the CSS loading. Fixes #16827 props wpmuguru.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 13:52:49 +00:00
westi 307a9c79cc Bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@18085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 13:36:51 +00:00
ryan 7b1a753fc9 Use array_combine() to avoid a hard-coded copy of the post format slugs. Props mfields. fixes #17576
git-svn-id: http://svn.automattic.com/wordpress/trunk@18083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 19:52:38 +00:00
ryan 4c1c3af0d6 Remove misleading phpdoc. Props mfields. fixes #17558
git-svn-id: http://svn.automattic.com/wordpress/trunk@18081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 15:54:48 +00:00
ryan b188576030 phpdoc typo fix. Props Caspie. fixes #17616
git-svn-id: http://svn.automattic.com/wordpress/trunk@18080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 15:23:21 +00:00
dd32 6d7b36269e More specific Tazonomy canonicalisation; Allows custom vars through, strips all per-taxonomy query vars. See #17174
git-svn-id: http://svn.automattic.com/wordpress/trunk@18079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-31 06:13:27 +00:00
azaozz e18aac6f90 Force-hide the adminbar when DFW opens to keep IE7 users happy, fixes #17622
git-svn-id: http://svn.automattic.com/wordpress/trunk@18075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 19:22:09 +00:00
azaozz 21dc3865c3 Add some delay to allow the flash uploader swf to load in FF4, fixes #17329
git-svn-id: http://svn.automattic.com/wordpress/trunk@18073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-30 02:23:45 +00:00
azaozz 2d2f8d4c6f s/Colse/Close/, props nacin, fixes #17399
git-svn-id: http://svn.automattic.com/wordpress/trunk@18070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 05:07:32 +00:00
azaozz 9739cfea3c Don't close DFW when closing modal dialogs with Escape key, fixes #17399
git-svn-id: http://svn.automattic.com/wordpress/trunk@18069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 02:04:52 +00:00
nacin bf839322ee Remove terrible suggestion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 00:56:50 +00:00
nacin 5a63a11c7c Remove accidental tint on the post-box div. Should be a white background.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-28 19:29:32 +00:00
azaozz ab509b2ea6 Fix the spellchecker button for the visual editor.
Fix focusing the editor in IE, props greuben, fixes #17467

git-svn-id: http://svn.automattic.com/wordpress/trunk@18066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-28 16:46:13 +00:00
azaozz b6fff6534a Fix background color for approved comments, props DH-Shredder, fixes #17405
git-svn-id: http://svn.automattic.com/wordpress/trunk@18065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-28 02:30:04 +00:00
azaozz 41a001a682 Fix regression: the visual editor removes empty paragraphs, fix CSS for the spellchecker button, fixes #17368
git-svn-id: http://svn.automattic.com/wordpress/trunk@18064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-27 19:27:19 +00:00
ryan fce00c287b Properly handle return value of DDL statements. Props scribu, marcis20. fixes #11372
git-svn-id: http://svn.automattic.com/wordpress/trunk@18063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-27 15:46:56 +00:00
ryan 47ff74214f Return false from is_page_template() if the template is default. Props johnbillion. fixes #17458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-27 15:24:33 +00:00
ryan a7d3ff7df0 Remove duplicate sentence search terms. Props scribu. fixes #17152
git-svn-id: http://svn.automattic.com/wordpress/trunk@18056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 16:41:59 +00:00
nacin ec8442d890 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@18055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-26 06:06:10 +00:00
nacin 95279728ae Upddate FSF address in kses. props mcepl, fixes #14967.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 22:15:12 +00:00
ryan d9bce6c729 Bump. Beta 2
git-svn-id: http://svn.automattic.com/wordpress/trunk@18045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 18:20:49 +00:00
ryan a5b8036b8c Support Chrome Frame. fixes #14537
git-svn-id: http://svn.automattic.com/wordpress/trunk@18036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:15:00 +00:00
ryan 4da684cf9a Update @since
git-svn-id: http://svn.automattic.com/wordpress/trunk@18032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 15:47:17 +00:00
azaozz 65f9c441a7 Replace .attr() with .prop() as per jQuery 1.6.1. Also fixes couple places where the JS wasn't working because attr('some', '') does not remove the HTML property now, see #17311
git-svn-id: http://svn.automattic.com/wordpress/trunk@18027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 01:04:12 +00:00
azaozz 5d756ba5d2 Fix another .attr() vs .prop() case, props ocean90, fixes #17546
git-svn-id: http://svn.automattic.com/wordpress/trunk@18024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 16:49:01 +00:00
ryan c1bb49bb55 Rename duplicate delete_post and deleted_post actions to before_delete_post and after_delete_post. Props scribu. fixes #13731
git-svn-id: http://svn.automattic.com/wordpress/trunk@18012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:43:14 +00:00
ryan e4157ae4cd Correct phpdoc for replacing/extending thewpdb class. Props johnbillion. fixes #17533
git-svn-id: http://svn.automattic.com/wordpress/trunk@18011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:37:16 +00:00
westi 5e908c7190 Update wp_mail to correctly call the Address adding functions on PHPMailer for To, CC, BCC in a way which preserves our support for full RFC2822 address specifications.
Older versions of PHPMailer were not too careful about validating what we passed in to them as a plain email address - the new version expects we pass in the Name and Email address seperately.
Fixes #17305 based on a patch from dllh.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 11:14:05 +00:00
nacin 00f7846136 s/WordPress MU/WordPress/ and remove an unused sprintf param. props wpmuguru, fixes #17529.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 05:43:07 +00:00
ryan 593a95d70a Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@18000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:59:55 +00:00
ryan 2cfb1592f0 Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:25:28 +00:00
ryan bde9c01453 Prepare some LIKEs
git-svn-id: http://svn.automattic.com/wordpress/trunk@17997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:22:59 +00:00
ryan 7ba7176d62 Cast widget and height to int in WP_oEmbed:fetch() so we don't have to rely on providers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:20:48 +00:00
ryan 81a5f821fb Sanitize guid on save and display. Sanitize mime type on save. Don't allow changing mime type via edit form handlers. Protect hidden meta.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:19:42 +00:00
ryan f166e119f3 Don't do a canonical redirect from author=x to /author/foo/ if the user is not an author
git-svn-id: http://svn.automattic.com/wordpress/trunk@17991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:18:06 +00:00
ryan 569c17df7f Properly anchor mime preg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:17:09 +00:00
nacin fad60afa23 Code readability improvements. props niallkennedy, fixes #17166, #17182, #17231, #16474.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 22:30:05 +00:00
nacin d96d3a74b8 Single quotes and spaces in ms-blogs.php. props niallkennedy, fixes #17522.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 22:19:36 +00:00
azaozz 7815408b7a Fix Reply and Approve when replying from the comment moderation page, see #15898
git-svn-id: http://svn.automattic.com/wordpress/trunk@17983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-21 17:11:13 +00:00
nacin 98bd4c0b2f s/coma/comma/. props ocean90.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-21 15:20:25 +00:00
azaozz e99503cf91 Fix updating of custom fields, fixes #17483
git-svn-id: http://svn.automattic.com/wordpress/trunk@17981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-21 14:38:56 +00:00
azaozz a34fe128c2 Fix select all checkboxes JS function, another .attr() vs .prop() case in jQuery 1.6.1, fixes #17527
git-svn-id: http://svn.automattic.com/wordpress/trunk@17979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-20 22:47:36 +00:00
nacin 7c4f97f677 Update the blip.tv regex. props blepoxp, fixes #17495.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-20 15:52:39 +00:00
azaozz 5e5f344a48 When viewing Help in DFW, show only the shortcuts tab, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 18:49:36 +00:00
azaozz 14fd42c850 Add the missing icon to the TinyMCE buttons, props empireoflight, props saracannon, see #15986
git-svn-id: http://svn.automattic.com/wordpress/trunk@17972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 16:26:07 +00:00
azaozz 33b0327924 Add JS detection to wp_iframe output, remove "display:none" from the Flash uploader button, props jacobwg, fixes #17473
git-svn-id: http://svn.automattic.com/wordpress/trunk@17971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 16:12:13 +00:00
azaozz 7ecc640949 FIx the position of Enter title here, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 15:34:37 +00:00
westi 951afb3f13 Bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@17969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 08:52:26 +00:00
azaozz 96c6667c5c Don't show the Fullscreen button on the comment edit page, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 07:34:54 +00:00
azaozz 3938bcc3e7 Fix race condition in the comments river XHR, props mintindeed, fixes #17483
git-svn-id: http://svn.automattic.com/wordpress/trunk@17965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 06:09:52 +00:00
azaozz 5175149c03 IE7 fixes, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 02:23:02 +00:00
azaozz 87d32ef07a New sprite for the TinyMCE buttons, props empireoflight, props saracannon, see #15986
git-svn-id: http://svn.automattic.com/wordpress/trunk@17961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 21:10:12 +00:00
ryan b2c2e302be Revert part of [17920]. Support for empty tz must remain. Props johnjamesjacoby. fixes #17448
git-svn-id: http://svn.automattic.com/wordpress/trunk@17958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 18:56:42 +00:00
markjaquith 9f11444c89 Better CSS background color fallback for TinyMCE icons (for browsers without gradient support). props greuben. fixes #17469
git-svn-id: http://svn.automattic.com/wordpress/trunk@17956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 17:40:49 +00:00
markjaquith 33aba110ee Prevent the browser-out-of-date dashboard nag from being minimized and hide minimization arrow. props aaroncampbell. fixes #17441. see #17323.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 17:06:04 +00:00
azaozz d2e54b7932 Revert [17943] as it breaks plugins, props johnjamesjacoby, fixes #17484
git-svn-id: http://svn.automattic.com/wordpress/trunk@17950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 06:20:30 +00:00
azaozz 24f315692d Fix width shortcuts in DFW, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 00:59:12 +00:00
azaozz dcb9985b13 Use the "media" admin menu icon for the add media button in DFW, move the tagline, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 17:33:22 +00:00
azaozz 9d72f52bab Update jQuery Form plugin, props duck_, fixes #15909
git-svn-id: http://svn.automattic.com/wordpress/trunk@17944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 14:22:50 +00:00
azaozz 5869d175f6 Blue styles for DFW toolbar, props jorbin, fixes #17436
git-svn-id: http://svn.automattic.com/wordpress/trunk@17939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 03:58:27 +00:00
azaozz 3bb59dbc9c Fix autosave and word count for DFW HTML editor, always update word count on autosave, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-16 06:17:44 +00:00
azaozz 3a9f1dcc5c Center admin menu icons when menu is folded, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-15 22:50:26 +00:00
azaozz 091e96b27c Update imgareaselect Jquery plugin, props duck_, fixes #17446
git-svn-id: http://svn.automattic.com/wordpress/trunk@17934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-15 18:03:51 +00:00
dd32 dc12474561 svn:eol-stle:native (CRLF for licenses) for new files
git-svn-id: http://svn.automattic.com/wordpress/trunk@17933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-15 08:54:32 +00:00
azaozz b42b310743 Refresh word count when switching editors in DFW.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-15 05:51:33 +00:00
azaozz e2baacdb2e Remove blocking alert when login cookie has expired.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-15 05:48:35 +00:00
koopersmith 8cae005972 Blue theme revisions. Migrate colors from nav-menu.css to colors-*.css. Props saracannon. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 19:57:24 +00:00
nacin bd5090cbd6 Don't fetch auto-draft pages in WP_Rewrite::page_uri_index(). props duck_, see #17176.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 19:47:29 +00:00
nacin da2732c7de Use wp_remote_retrieve_* helper functions instead of the raw HTTP response array. props aaroncampbell, fixes #17416.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 19:45:07 +00:00
westi 65e341d0cb Fix typos and inconsistencies in PHPdoc / function declarations. See #17414 props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@17925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 09:50:20 +00:00
markjaquith c379a72852 Blue admin theme updates for the new UI style. props saracannon. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-14 04:40:48 +00:00
ryan 0a26ef9d38 s/Content-type/Content-Type/. Props dvwallin. fixes #17256
git-svn-id: http://svn.automattic.com/wordpress/trunk@17922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 19:31:36 +00:00
ryan 58767691f4 Remove PHP5 back compat code from get_gmt_from_date. Props technosailor. fixes #16920
git-svn-id: http://svn.automattic.com/wordpress/trunk@17920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 19:17:07 +00:00
ryan d4abef7def s/login_form/login_init/. Props sorich87. fixes #17411
git-svn-id: http://svn.automattic.com/wordpress/trunk@17918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 18:33:20 +00:00
westi a6057fe8b9 Bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@17916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 10:03:16 +00:00
westi a851aaa167 Typo fix props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@17915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 10:00:40 +00:00
westi 81cd0218ec Introduce wp_http_supports as a much less hacky replacement for the http_transport_(get|post)_debug hooks that plugins could have
been using to detect if things like ssl requests were working.
See #17251 props mdawaffe


git-svn-id: http://svn.automattic.com/wordpress/trunk@17914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 09:56:59 +00:00
azaozz 799e614e68 DFW: scroll to top when opening so the user is not disoriented, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 06:27:49 +00:00
azaozz 955134770f jQuery UI 1..8.12, props hebbet, fixes #16656
git-svn-id: http://svn.automattic.com/wordpress/trunk@17912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-13 05:44:42 +00:00
azaozz b1fe99c5ce jQuery 1.6.1 and fix for some small bugs that popped up while testing it, props JDTrower, fixes #17311
git-svn-id: http://svn.automattic.com/wordpress/trunk@17907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 22:00:31 +00:00
nacin bd7956b4f5 Update wp-logo.png version number. props zekeweeks, fixes #17402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 18:26:17 +00:00
markjaquith 91c323b7e7 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 07:57:01 +00:00
westi 81e98acc69 Update script loader version for quicktags to match when it last changed. Props mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@17902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 07:41:46 +00:00
westi f26f40776f Introduce new is_multi_author() template tag to make it easier for themes to have different behaviour when a site has more than one
author. Fixes #14405 props filosofo.


git-svn-id: http://svn.automattic.com/wordpress/trunk@17901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 07:14:44 +00:00
koopersmith b1a2d38dc8 Prevent shadow from showing in dfw visual editor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:51:33 +00:00
koopersmith a5e724c025 Fix padding on 'save draft' button. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:48:37 +00:00
koopersmith e391c3fc2e Restore lines in publish box, speed up misc-action edit animations. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 05:06:47 +00:00
koopersmith d22cbc0ed4 Improve publish box styles. Props chexee. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 04:08:00 +00:00
nacin 4277cdb196 Don't allow indexing of replytocom URLs. fixes #16893.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:59:16 +00:00
koopersmith b22734bd7f Add colored hover/active state to tinymce icons. props chexee, empireoflight. fixes #15986.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:57:01 +00:00
nacin dfdc7d22a9 Allow get_pages() to take multiple post statuses. see #8592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:53:46 +00:00
azaozz 8fe1d44938 Warning for out of date and insecure browsers, props aaroncampbell, fixes #17323
git-svn-id: http://svn.automattic.com/wordpress/trunk@17887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:33:27 +00:00
koopersmith 1585387c59 Style upload form on custom header/background pages consistently. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:16:52 +00:00
nacin 70a4181fc7 Cache post thumbnails in the loop. props garyc40, scribu, greuben. fixes #15447.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 03:06:03 +00:00
koopersmith ed94bd035b Widgets style refresh. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 02:43:06 +00:00
koopersmith e3e2cb9710 Menu style updates. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 02:03:02 +00:00
azaozz beae1e56aa Improve code for DFW buttons, fix colors in some rare TinyMCE popups, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 01:53:51 +00:00
koopersmith 2438287327 Prevent content from colliding with footer. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 01:32:36 +00:00
koopersmith 83d86edc1d Tighten list table styles. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 00:57:25 +00:00
koopersmith 4a33d56ab4 Remove unnecessary CSS important declarations from gradient stacks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 00:34:02 +00:00
koopersmith 2207bfe689 Admin Header 2: The Return of 32px Icons. Props, iammattthomas. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-12 00:22:22 +00:00
koopersmith 973d4901a1 New gradient menu shadow. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 23:18:15 +00:00
koopersmith 342aa25c3e Widgets: nibble the corners and use new arrows. Props chexee. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 22:37:48 +00:00
koopersmith fb65cc1f7f Editor toolbar/textarea styling. Props chexee. see #17324, #15986.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 22:28:29 +00:00
markjaquith 4584d39d5a Add missing Press This image, CSS background tweak. props Chexee. fixes #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@17867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 21:44:58 +00:00
koopersmith 7667a1ca2f Menu tweaks. Bold top level items, less padding on submenu items. Props iammattthomas. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 21:26:27 +00:00
koopersmith 29ca82dba7 Fix footer whitespace/clearing issues, support two-line footer for low widths. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 20:27:59 +00:00
markjaquith 301be4eeef Rename submenus to not clash with top level menus. Introduce all_items CPT string, defaulting to menu_name. fixes #17378
git-svn-id: http://svn.automattic.com/wordpress/trunk@17864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 20:09:28 +00:00
koopersmith eec97f87c8 Style tweaks: remove accidental border, improve metabox arrow.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 19:04:28 +00:00
koopersmith a0f0a70d15 Gradients for everyone! Provide additional browser prefixes (including old webkit syntax) and clean up syntax errors. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 18:48:26 +00:00
koopersmith 8ed8b8751c Add new metabox styles. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 18:15:16 +00:00
koopersmith c90a7a674d Embiggen fonts. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 17:04:40 +00:00
markjaquith c1d58d7b75 change the padding on .wrap h2 by one pixel to make it align with the icon better. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 17:01:56 +00:00
azaozz e96949c9bd DFW: add tagline, move the Word count under the editor, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 09:18:32 +00:00
koopersmith 1109c6b919 Increase size of page title. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 08:56:49 +00:00
koopersmith 8cac666407 Font-size tweaks. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 08:42:16 +00:00
koopersmith da5dae46ce Improve 'howdy' dropdown styles, add 'your profile' item and no-js. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 07:05:47 +00:00
azaozz 55fcecdba8 DFW: add Blockquote button, enable After the Deadline button if plugin is installed, set button state, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-10 23:21:34 +00:00
koopersmith 33a0cf3286 Trigger 'howdy' dropdown by click instead of hover. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-10 20:36:12 +00:00
markjaquith d822248130 Lighten the big menu separators and make them 1px taller. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-10 19:58:04 +00:00
koopersmith 6e356e3b0a Increase size of blog title in admin header. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-10 00:19:45 +00:00
koopersmith b4f8a1d0c4 Improve 'howdy user' dropdown trigger, delay, and animation. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 17:48:14 +00:00
azaozz d73acccc10 Lighter background for the TinyMCE buttons, props chexee, see #15986
git-svn-id: http://svn.automattic.com/wordpress/trunk@17843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 03:36:17 +00:00
azaozz 20528f3463 Add the new grey TinyMCE icons, see #15986
git-svn-id: http://svn.automattic.com/wordpress/trunk@17842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 03:20:50 +00:00
westi da5ca1d1c6 Restore the functionality of date_i18n to pre [17747] so that is works without a provided timestamp again. Fixes #17278.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 17:14:36 +00:00
markjaquith a51dd95511 More mouse-nibbled corners. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 10:52:04 +00:00
azaozz a2fcf40bd8 DFW: change width resizing to use hotkeys only: Alt (Win, Linux) or Ctrl (Mac) 0/reset, +/wider, -/narrower, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 06:32:44 +00:00
azaozz 8267ff9aae DFW: import editor-style.css, fine-tune transition times, add width resizing setting, some cleanup, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-08 02:01:53 +00:00
markjaquith 69ea469e12 Revert [17835] temporarily, as it accidentally reverted something else.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 18:19:07 +00:00
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