Commit Graph

4949 Commits

Author SHA1 Message Date
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
matt fde70e7623 Fixes bottlenecks found in filter system using xdebug + kcachegrind. merge_filters was being called 1000+ times.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-02 07:03:38 +00:00
rob1n 3788d718be Localize admin tag form and classic theme's tag output. Props nbachiyski. fixes #4031
git-svn-id: http://svn.automattic.com/wordpress/trunk@5168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 19:42:06 +00:00
ryan 99f1babe59 i18n for quicktags.js. Props Nazgul. fixes #3958
git-svn-id: http://svn.automattic.com/wordpress/trunk@5167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 16:06:19 +00:00
ryan e273f11ec5 Translate APP and XMLRPC errors. Props nbachiyski. fixes #3997
git-svn-id: http://svn.automattic.com/wordpress/trunk@5166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 15:59:50 +00:00
rob1n 2a035cdab8 Add CSS class in if it's not empty when there's no comments. fixes #2180
git-svn-id: http://svn.automattic.com/wordpress/trunk@5165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 15:57:13 +00:00
rob1n fa33be1162 Run the post titles through the the_title filter. fixes #3366
git-svn-id: http://svn.automattic.com/wordpress/trunk@5164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 15:40:50 +00:00
matt afb8aafcbf Don't forget the tag_cache
git-svn-id: http://svn.automattic.com/wordpress/trunk@5163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-01 08:44:10 +00:00
matt 3bf8b1699a Use category_exists instead of a direct query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 22:38:51 +00:00
matt 64771eb61d Move it to the more intuitive right side of the page, with the rest of the activation links
git-svn-id: http://svn.automattic.com/wordpress/trunk@5161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 22:15:58 +00:00
matt 9784d05317 Make most of the buttons a map, helps the write page load faster.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 22:12:35 +00:00
matt 01961fba45 Kill the slow-loading iframe in favor of a popup link
git-svn-id: http://svn.automattic.com/wordpress/trunk@5159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 22:02:19 +00:00