Commit Graph

4935 Commits

Author SHA1 Message Date
Ryan Boren
3a9b0e0c08 Stripslashes post meta values before handing off to add_post_meta. Use wpdb::escape instead of addslashes. Props takayukister. fixes #4028
git-svn-id: https://develop.svn.wordpress.org/trunk@5249 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 02:58:41 +00:00
Ryan Boren
d8c8ecb711 Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
git-svn-id: https://develop.svn.wordpress.org/trunk@5248 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 02:27:12 +00:00
rob1n
e8c058cfc1 Use get_var and only select cat_ID. see #4040
git-svn-id: https://develop.svn.wordpress.org/trunk@5247 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 02:08:40 +00:00
rob1n
f9ab937ce7 Use cat_name instead of cat_nicename when creating categories from import. Props takayukister. fixes #4040
git-svn-id: https://develop.svn.wordpress.org/trunk@5246 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 01:49:46 +00:00
Ryan Boren
e58cfd6981 Preserve page hierarchy. Props takayukister. fixes #4025
git-svn-id: https://develop.svn.wordpress.org/trunk@5245 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 01:34:15 +00:00
rob1n
f8680b6c3a <!--more--> regex fixes. Props Nazgul. fixes #3698
git-svn-id: https://develop.svn.wordpress.org/trunk@5244 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 22:47:36 +00:00
Ryan Boren
73feece365 Allow passing an empty tag set to wp_set_post_tags() so all tags can be removed from a post. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5243 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 18:04:49 +00:00
rob1n
0fced13a94 Don't use fancy permalinks on draft previews. Props Viper007Bond. fixes #4117
git-svn-id: https://develop.svn.wordpress.org/trunk@5242 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 16:52:58 +00:00
rob1n
95918aee5d Add the_meta_key filter with $key and $value arguments. Props mdawaffe. fixes #2861
git-svn-id: https://develop.svn.wordpress.org/trunk@5241 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 05:38:30 +00:00
rob1n
5327a547db Rollback wonky part of [5193]. see #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5240 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:41:42 +00:00
rob1n
9b7feef7a9 Don't die because of output by badly-written plugins upon activation. Props masquerade. fixes #4127
git-svn-id: https://develop.svn.wordpress.org/trunk@5239 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:23:23 +00:00
rob1n
9dcdbbd7ae Tweak displaying comments awaiting moderation to their authors. Props wnorris. fixes #4108
git-svn-id: https://develop.svn.wordpress.org/trunk@5238 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:12:11 +00:00
rob1n
f69917f454 Take out duplicate ID. Props JeremyVisser. fixes #3432
git-svn-id: https://develop.svn.wordpress.org/trunk@5237 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 23:44:58 +00:00
rob1n
c014b4d5fe Run make_clickable before texturize. Props Nazgul. fixes #4116
git-svn-id: https://develop.svn.wordpress.org/trunk@5236 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 23:21:00 +00:00
Ryan Boren
513726b6c7 Change get_the_tags() to return an array of tags. Move tag list code to the_tags(). fixes #4123
git-svn-id: https://develop.svn.wordpress.org/trunk@5235 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 21:23:11 +00:00
Ryan Boren
e075553eba Tag clouds from mdawaffe. fixes #4129
git-svn-id: https://develop.svn.wordpress.org/trunk@5234 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 19:52:15 +00:00
Ryan Boren
f9dbc69605 Bumpage
git-svn-id: https://develop.svn.wordpress.org/trunk@5233 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 19:08:49 +00:00
Ryan Boren
b5bb5e3ee6 Add get_tags(). See #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5232 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 18:55:51 +00:00
Ryan Boren
4f59c037ce s/get_post_tags/wp_get_post_tags/ to match the rest of the API.
git-svn-id: https://develop.svn.wordpress.org/trunk@5231 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 18:30:55 +00:00
rob1n
b88969be23 Bump jQuery and Interface versions in script loader. Props Viper007Bond. fixes #4124
git-svn-id: https://develop.svn.wordpress.org/trunk@5230 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 17:01:52 +00:00
rob1n
e1ea2d169e Use own category_exists() function, and only list categories to convert. fixes #4107
git-svn-id: https://develop.svn.wordpress.org/trunk@5229 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 16:57:21 +00:00
rob1n
7ffd36eeb0 Fix some i18n and typographical stuff in the UTW importer. Props nbachiyski. fixes #4121
git-svn-id: https://develop.svn.wordpress.org/trunk@5228 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 09:27:50 +00:00
Matt Mullenweg
4c1d1977b7 Missing change from last commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@5227 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 07:39:47 +00:00
Matt Mullenweg
c144679edf This fixes the broken paginate_links on the comments and users page, however the way this function works is rather awkward and should be redone. There is far too much complexity for what it's trying to do.
git-svn-id: https://develop.svn.wordpress.org/trunk@5226 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 07:38:36 +00:00
rob1n
c4c416ce62 empty() only takes variables. Props filosofo. fixes #4118
git-svn-id: https://develop.svn.wordpress.org/trunk@5224 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 04:28:40 +00:00
rob1n
f2216ff99f Don't autop <script> blocks. Props Nazgul. fixes #3854
git-svn-id: https://develop.svn.wordpress.org/trunk@5223 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 00:49:18 +00:00
rob1n
537e017277 Don't autop <hr />. fixes #3952
git-svn-id: https://develop.svn.wordpress.org/trunk@5222 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 00:47:08 +00:00
rob1n
16194b9fbd Change edit comment link to 'edit' rather than 'e'. Props pishmishy. fixes #3977
git-svn-id: https://develop.svn.wordpress.org/trunk@5221 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 21:08:46 +00:00
rob1n
087a36b357 Default to 'en' for TinyMCE language if get_locale() is empty, to avoid meltdowns. Props m0n5t3r. fixes #4118
git-svn-id: https://develop.svn.wordpress.org/trunk@5220 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 16:33:43 +00:00
rob1n
ee25d5d700 Just check for manage_categories. fixes #4107
git-svn-id: https://develop.svn.wordpress.org/trunk@5218 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 16:27:22 +00:00
rob1n
47a79f2001 And that's a wrap, folks.
git-svn-id: https://develop.svn.wordpress.org/trunk@5217 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 16:15:50 +00:00
rob1n
9862ce334e Link to categories to tags converter and UTW importer. fixes #4100 #4107
git-svn-id: https://develop.svn.wordpress.org/trunk@5216 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 06:35:32 +00:00
rob1n
5dd06ccdb7 Don't show categories in getCategoryList. fixes #4114
git-svn-id: https://develop.svn.wordpress.org/trunk@5215 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 02:12:29 +00:00
Ryan Boren
ab74cb7a60 Google spell connect fix. Props Nazgul. see #3857
git-svn-id: https://develop.svn.wordpress.org/trunk@5214 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 00:09:42 +00:00
rob1n
bd96ee067f Add initial UTW tag converter. Props MellerTime. fixes #4100
git-svn-id: https://develop.svn.wordpress.org/trunk@5213 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-08 04:51:35 +00:00
rob1n
995ac94ed7 Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5212 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 19:31:54 +00:00
rob1n
f691bc31ec Fixed sorting -- uasort() instead of usort().
git-svn-id: https://develop.svn.wordpress.org/trunk@5211 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 19:06:33 +00:00
rob1n
f75f20b517 Put the sorting on hold, and add empty contructor.
git-svn-id: https://develop.svn.wordpress.org/trunk@5210 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 19:04:57 +00:00
rob1n
e4620977f5 Add wp_add_post_tags() and $append variable for wp_set_post_tags(). fixes #4109
git-svn-id: https://develop.svn.wordpress.org/trunk@5209 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 19:00:19 +00:00
rob1n
f429599f0f Add menu_order and page_name to WP import/export. Props takaykister. fixes #4024
git-svn-id: https://develop.svn.wordpress.org/trunk@5208 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 16:36:10 +00:00
rob1n
f42f14fb91 Add a bit of warning (red background on hover) to the Deactivate All Plugins button, and make align="right" XHTML-compliant.
git-svn-id: https://develop.svn.wordpress.org/trunk@5207 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 16:03:38 +00:00
rob1n
9e69234db5 Sort the importers by name, instead of filename. Easier to find stuff, no?
git-svn-id: https://develop.svn.wordpress.org/trunk@5206 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 15:53:19 +00:00
rob1n
6cc6c1de4f Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5205 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 15:52:53 +00:00
rob1n
0a98870027 Import cleanup and optimizations.
git-svn-id: https://develop.svn.wordpress.org/trunk@5204 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 15:46:09 +00:00
rob1n
143c7eb4c1 Add clean_category_cache() and capability checking. see #4107
git-svn-id: https://develop.svn.wordpress.org/trunk@5203 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 15:43:20 +00:00
Ryan Boren
c113ddaa1f Avoid php notices.
git-svn-id: https://develop.svn.wordpress.org/trunk@5202 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 05:24:37 +00:00
rob1n
ab8c90f89e Add initial category to tag importing. see #4107
git-svn-id: https://develop.svn.wordpress.org/trunk@5201 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 04:58:28 +00:00
rob1n
2ea44df759 Move the stripslashes(), and change it to stripslashes_deep(). Props mdawaffe. fixes #4105
git-svn-id: https://develop.svn.wordpress.org/trunk@5200 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 01:24:40 +00:00
rob1n
2e64f813ec Set the post ID when calling wp_get_attachment_url(). Props chess64. fixes #4104
git-svn-id: https://develop.svn.wordpress.org/trunk@5199 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 23:42:38 +00:00
rob1n
00cabf391f Fix Back to Authors and Users link. fixes #4102
git-svn-id: https://develop.svn.wordpress.org/trunk@5198 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 23:09:02 +00:00