Commit Graph

4810 Commits

Author SHA1 Message Date
rob1n
404dd03317 Don't autop <script> blocks. Props Nazgul. fixes #3854
git-svn-id: http://svn.automattic.com/wordpress/trunk@5223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 00:49:18 +00:00
rob1n
7507125fd3 Don't autop <hr />. fixes #3952
git-svn-id: http://svn.automattic.com/wordpress/trunk@5222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-10 00:47:08 +00:00
rob1n
f3cc3e6049 Change edit comment link to 'edit' rather than 'e'. Props pishmishy. fixes #3977
git-svn-id: http://svn.automattic.com/wordpress/trunk@5221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 21:08:46 +00:00
rob1n
dd96826c34 Default to 'en' for TinyMCE language if get_locale() is empty, to avoid meltdowns. Props m0n5t3r. fixes #4118
git-svn-id: http://svn.automattic.com/wordpress/trunk@5220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 16:33:43 +00:00
rob1n
a0d725d980 Just check for manage_categories. fixes #4107
git-svn-id: http://svn.automattic.com/wordpress/trunk@5218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 16:27:22 +00:00
rob1n
d5bb675acb And that's a wrap, folks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 16:15:50 +00:00
rob1n
80706e269d Link to categories to tags converter and UTW importer. fixes #4100 #4107
git-svn-id: http://svn.automattic.com/wordpress/trunk@5216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 06:35:32 +00:00
rob1n
8516de020f Don't show categories in getCategoryList. fixes #4114
git-svn-id: http://svn.automattic.com/wordpress/trunk@5215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 02:12:29 +00:00
ryan
9442a8806b Google spell connect fix. Props Nazgul. see #3857
git-svn-id: http://svn.automattic.com/wordpress/trunk@5214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-09 00:09:42 +00:00
rob1n
bf3110bb49 Add initial UTW tag converter. Props MellerTime. fixes #4100
git-svn-id: http://svn.automattic.com/wordpress/trunk@5213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-08 04:51:35 +00:00
rob1n
96535f8d01 Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 19:31:54 +00:00
rob1n
ccfa543340 Fixed sorting -- uasort() instead of usort().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 19:06:33 +00:00
rob1n
6f3c55b1de Put the sorting on hold, and add empty contructor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 19:04:57 +00:00
rob1n
1948792ee1 Add wp_add_post_tags() and $append variable for wp_set_post_tags(). fixes #4109
git-svn-id: http://svn.automattic.com/wordpress/trunk@5209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 19:00:19 +00:00
rob1n
62b2339e4b Add menu_order and page_name to WP import/export. Props takaykister. fixes #4024
git-svn-id: http://svn.automattic.com/wordpress/trunk@5208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 16:36:10 +00:00
rob1n
c7f54c6afe Add a bit of warning (red background on hover) to the Deactivate All Plugins button, and make align="right" XHTML-compliant.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 16:03:38 +00:00
rob1n
8373a8074f Sort the importers by name, instead of filename. Easier to find stuff, no?
git-svn-id: http://svn.automattic.com/wordpress/trunk@5206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 15:53:19 +00:00
rob1n
192d5a3e33 Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 15:52:53 +00:00
rob1n
88a90414bb Import cleanup and optimizations.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 15:46:09 +00:00
rob1n
e874adadaa Add clean_category_cache() and capability checking. see #4107
git-svn-id: http://svn.automattic.com/wordpress/trunk@5203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 15:43:20 +00:00
ryan
c3508de5be Avoid php notices.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 05:24:37 +00:00
rob1n
8661af0977 Add initial category to tag importing. see #4107
git-svn-id: http://svn.automattic.com/wordpress/trunk@5201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 04:58:28 +00:00
rob1n
f826cb98cc Move the stripslashes(), and change it to stripslashes_deep(). Props mdawaffe. fixes #4105
git-svn-id: http://svn.automattic.com/wordpress/trunk@5200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-07 01:24:40 +00:00
rob1n
4a4d37f9f3 Set the post ID when calling wp_get_attachment_url(). Props chess64. fixes #4104
git-svn-id: http://svn.automattic.com/wordpress/trunk@5199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 23:42:38 +00:00
rob1n
d82463f788 Fix Back to Authors and Users link. fixes #4102
git-svn-id: http://svn.automattic.com/wordpress/trunk@5198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 23:09:02 +00:00
ryan
9e6ab0a59d Relocate get_post_tags.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 18:22:54 +00:00
ryan
142582999e Typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@5196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 17:53:34 +00:00
ryan
ab510803f4 Pass link indentifier to mymysql_affected_rows(). Props Doug Kaye.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 17:22:53 +00:00
rob1n
b5eab92808 Add AND. fixes #4101
git-svn-id: http://svn.automattic.com/wordpress/trunk@5194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 14:53:46 +00:00
rob1n
a7d8f6aa74 Re-encode query values after passed to add_query_arg(). Props mdawaffe. fixes #4084
git-svn-id: http://svn.automattic.com/wordpress/trunk@5193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 04:21:21 +00:00
rob1n
b557846efd Add the argument back in. Whoops.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:34:01 +00:00
rob1n
1efba04041 Add private posts to Recent Posts for those who can read them. Props molecularbear. fixes #3877
git-svn-id: http://svn.automattic.com/wordpress/trunk@5191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:33:21 +00:00
rob1n
3f0fa28e19 Add private posts to get_usernumposts() when the current_user_can read_private_posts. Props molecularbear. fixes #3868
git-svn-id: http://svn.automattic.com/wordpress/trunk@5190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:29:44 +00:00
rob1n
7bb92d3873 Add a function to unify private posts SQL based on capabilities -- get_private_posts_cap_sql().
Usage: get_private_posts_cap_sql($type), where $type is either 'post' or 'page'.

Props molecularbear. fixes #3861


git-svn-id: http://svn.automattic.com/wordpress/trunk@5189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 03:25:41 +00:00
rob1n
7068240303 Add support to wp-mail.php for quoted-printable Content-Transfer-Encoding. Props Nazgul. fixes #2460
git-svn-id: http://svn.automattic.com/wordpress/trunk@5188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 02:57:46 +00:00
rob1n
4a5335aee6 Add stripos() for compatibility for PHP < 5. This will be needed for a patch later, I think.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 02:54:12 +00:00
rob1n
2d799e437b Add DBX to link-add.php. Props Nazgul. fixes #3922
git-svn-id: http://svn.automattic.com/wordpress/trunk@5186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 00:56:28 +00:00
rob1n
0b5b8fb535 Use fixed widths instead of pixels, so it stays the same at all resolutions. see #4068
git-svn-id: http://svn.automattic.com/wordpress/trunk@5185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 00:38:30 +00:00
ryan
00e9ff778a Bit twiddling. Add type bitfield to categories table. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-05 21:16:02 +00:00
rob1n
e551e9f390 Add RTL support for new view-link class. see #4068
git-svn-id: http://svn.automattic.com/wordpress/trunk@5183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-05 04:54:54 +00:00
rob1n
c2ab78d52c Move inline styles to wp-admin.css. see #4068
git-svn-id: http://svn.automattic.com/wordpress/trunk@5182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-05 02:03:40 +00:00
rob1n
c864976754 Add admin_xml_ns action to <html> in the admin header. Props jhodgdon. fixes #4077
git-svn-id: http://svn.automattic.com/wordpress/trunk@5181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 23:54:47 +00:00
rob1n
ad243d0be3 Fix typo. Props Nazgul. fixes #4083
git-svn-id: http://svn.automattic.com/wordpress/trunk@5180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 23:35:37 +00:00
ryan
2c31712d3a Category listing speedups. see #3985
git-svn-id: http://svn.automattic.com/wordpress/trunk@5179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 22:32:24 +00:00
ryan
7f0a905ee6 Cache category hierarchy to make cat listing faster. Phase 1. see #3985
git-svn-id: http://svn.automattic.com/wordpress/trunk@5178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 20:44:45 +00:00
rob1n
57cf80f5d1 Add exit hook to wp_delete_link(). Props kevinB. fixes #4078
git-svn-id: http://svn.automattic.com/wordpress/trunk@5177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 04:25:44 +00:00
rob1n
04f7f566b0 Fix typo. Props johnbillion. fixes #4057
git-svn-id: http://svn.automattic.com/wordpress/trunk@5176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-04 00:58:55 +00:00
ryan
ae7fa6c616 Cast to int after escaping. Props Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-03 07:11:13 +00:00
markjaquith
923ba23e88 Fix category_name=foo WP_Queries. fixes #4069
git-svn-id: http://svn.automattic.com/wordpress/trunk@5171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-02 19:40:15 +00:00
matt
06d577a539 Because of the next we should always do a reset.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-02 07:46:05 +00:00