Commit Graph

2481 Commits

Author SHA1 Message Date
ryan
fd4c86f9a4 Resurrect noquery
git-svn-id: http://svn.automattic.com/wordpress/trunk@5784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-06 20:45:46 +00:00
markjaquith
2304077c2b Entitize lone less-than characters. Props mdawaffe. fixes #4409
git-svn-id: http://svn.automattic.com/wordpress/trunk@5783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-06 12:53:15 +00:00
ryan
0d05f746cf Don't richedit for comments. Props Joseph Scott. fixes #4587 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-05 20:11:32 +00:00
markjaquith
45db1a512a Automatically quote strings in $wpdb->prepare(). Use vsprintf(). see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@5779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-05 17:32:46 +00:00
markjaquith
fbdfcce157 Introducing "prepare", a WPDB method for sprintf()-prepared SQL statements. see #4553. Implementation details to follow.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-04 16:18:57 +00:00
markjaquith
6e0ef646b7 Make it possible for a plugin to replace the feed-parsing engine. see: #4547
git-svn-id: http://svn.automattic.com/wordpress/trunk@5776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-03 18:10:20 +00:00
matt
d31029a026 Upgrade to jQuery 1.1.3, fixes #4576
git-svn-id: http://svn.automattic.com/wordpress/trunk@5775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-02 23:57:52 +00:00
ryan
46110c7774 Delete term relationship only for the given object.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-02 15:47:27 +00:00
markjaquith
a2f7332558 Mark pingback as already pinged when the target site says it already got the pingback. props mdawaffe. fixes #4289
git-svn-id: http://svn.automattic.com/wordpress/trunk@5772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-27 23:28:36 +00:00
ryan
c1adb3c7ad Allow rules to be added to the top of the rule stack.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-27 21:39:50 +00:00
markjaquith
0e2d9ff004 Fix typo in get_the_author_url(). props pgdx. fixes #4542
git-svn-id: http://svn.automattic.com/wordpress/trunk@5767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-27 00:51:04 +00:00
markjaquith
64ef1ed841 Correctly grab Content-Type from old-school headers, skip blank headers. fixes #4296
git-svn-id: http://svn.automattic.com/wordpress/trunk@5764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-26 20:18:56 +00:00
markjaquith
9a91481a2b Don't add MIME-Version header twice (PHPMailer already adds it). see #4296
git-svn-id: http://svn.automattic.com/wordpress/trunk@5763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-26 19:11:23 +00:00
markjaquith
d9d5fde1e7 compare mail headers case-insensitively and actually use the Content-Type specified. Props Nazgul. see: #4296
git-svn-id: http://svn.automattic.com/wordpress/trunk@5762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-26 18:28:56 +00:00
markjaquith
829ace3e68 strpos() is "haystack,needle", not "needle,haystack" Props pishmishy. fixes #4520
git-svn-id: http://svn.automattic.com/wordpress/trunk@5761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-26 18:06:17 +00:00
ryan
267997a4fd Add name_like query to get_terms(). Use it in suggestCategories.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 21:28:19 +00:00
ryan
0e7483cc5a s/cat_name/name/ see #4537
git-svn-id: http://svn.automattic.com/wordpress/trunk@5755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 20:06:02 +00:00
ryan
a5e56dc9db s/cat_name/name/ see #4537
git-svn-id: http://svn.automattic.com/wordpress/trunk@5754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 19:51:26 +00:00
ryan
ed549303d7 Move the_title filter to get_the_title. Props jhodgdon. fixes #4477
git-svn-id: http://svn.automattic.com/wordpress/trunk@5752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 17:48:35 +00:00
markjaquith
ad9271f86f Don't init widgets if the blog isn't installed yet. fixes #4504
git-svn-id: http://svn.automattic.com/wordpress/trunk@5747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-23 05:32:16 +00:00
markjaquith
eefdd4cef7 Upgrade to Prototype 1.5.1.1 (bugfix release). Props Nazgul. fixes #4502
git-svn-id: http://svn.automattic.com/wordpress/trunk@5743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-21 22:01:21 +00:00
ryan
74bc9bb8a6 Term count fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@5741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-21 15:46:49 +00:00
ryan
21e8f43f8c Don't create '0' categories. fixes #4413
git-svn-id: http://svn.automattic.com/wordpress/trunk@5739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-20 22:06:29 +00:00
ryan
9d84bef608 js_escape improvements from Alexander Concha. Catches &#39 &#039 ' ' ' ' &#x000027 etc.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 22:46:55 +00:00
rob1n
7b09e504e7 Change references of get_object_terms() to wp_get_object_terms(). fixes #4490
git-svn-id: http://svn.automattic.com/wordpress/trunk@5728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 18:03:12 +00:00
rob1n
0eb86404da Fix up wp_list_authors() SQL. fixes #4485
git-svn-id: http://svn.automattic.com/wordpress/trunk@5727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 17:57:53 +00:00
ryan
e2dc2a8dd3 Add some taxonomy validation. Rearrange funcs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 00:33:44 +00:00
ryan
e30a9ba012 Upgrade code for multiple category widgets. Props Andy. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-16 02:03:25 +00:00
ryan
64d3a54b85 Don't use permalinks for pending posts. see #4446
git-svn-id: http://svn.automattic.com/wordpress/trunk@5716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 22:11:01 +00:00
rob1n
404e50bfb3 Show the name, not the slug. fixes #4473
git-svn-id: http://svn.automattic.com/wordpress/trunk@5715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 18:26:43 +00:00
ryan
aac03a2066 wp_parse_str() from mdawaffe. see #4467
git-svn-id: http://svn.automattic.com/wordpress/trunk@5709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 22:46:59 +00:00
ryan
9d3d20f063 Use EXTR_SKIP when extracting. see #4468
git-svn-id: http://svn.automattic.com/wordpress/trunk@5708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 22:45:40 +00:00
markjaquith
7f44512c5d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: http://svn.automattic.com/wordpress/trunk@5707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 16:24:28 +00:00
markjaquith
e211aa64e7 use FALSE to designate lack of user-supplied URL in *_query_arg() funcs. fixes #4465 for 2.3 (trunk)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 05:12:22 +00:00
markjaquith
99f0971b73 only strip question marks from the RIGHT side of the query string. fixes #4464 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 04:44:06 +00:00
rob1n
9fac8dcbae Use display_name instead. Props Pal Gronas Drange. fixes #4459
git-svn-id: http://svn.automattic.com/wordpress/trunk@5701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:30:26 +00:00
ryan
2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
ryan
72c169c2f1 Don't output author uri tag if uri is empty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 18:03:17 +00:00
rob1n
cbdc90759c wp_rss() updates. fixes #3834
git-svn-id: http://svn.automattic.com/wordpress/trunk@5698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 17:23:38 +00:00
markjaquith
8187ddb3d7 correct CSS link for install. Props Viper007Bond. fixes #4443
git-svn-id: http://svn.automattic.com/wordpress/trunk@5694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 06:33:17 +00:00
matt
81dd1f1737 Update in_category to use the new object_term_cache, it wasn't so much with the working before.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 00:16:33 +00:00
rob1n
e3328ca20b Don't include HTML in gettext call. Props nbachiyski and Nazgul. fixes #4437
git-svn-id: http://svn.automattic.com/wordpress/trunk@5688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 21:48:55 +00:00
markjaquith
6d5da3e33c Force $autoload to be either "yes" or "no". see #4440. props Nazgul
git-svn-id: http://svn.automattic.com/wordpress/trunk@5686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 20:57:58 +00:00
markjaquith
cf2b700d93 Make sure post titles longer than 200 chars get unique slugs. fixes #4433. props AaronCampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 20:49:40 +00:00
ryan
21dff0640c Add a prophylactic sanitize_user()
git-svn-id: http://svn.automattic.com/wordpress/trunk@5683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 18:11:06 +00:00
ryan
66e6a55c7e escapeshellarg the sender
git-svn-id: http://svn.automattic.com/wordpress/trunk@5682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-11 23:19:33 +00:00
rob1n
ff6f1383d1 Maintain "Page order" for consistency. fixes #4431
git-svn-id: http://svn.automattic.com/wordpress/trunk@5677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-11 21:11:40 +00:00
rob1n
6e5e54b5ae Revert multiple category stuff. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-09 00:59:14 +00:00
rob1n
32a890bd26 Some more multiple category widget stuff. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 22:50:37 +00:00
rob1n
64b91fc94b Add support for multiple instances of the category widget. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 14:49:30 +00:00
ryan
f2f6101e1c Comment caching. Reduce queries on edit-comments.php page. Add non-persistent cache groups. Hat tip to hovenko. fixes #4387
git-svn-id: http://svn.automattic.com/wordpress/trunk@5666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 00:20:22 +00:00
ryan
a09031ecd0 Use get_term_children() and get_term_field(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-06 16:13:12 +00:00
ryan
bac1fccf3a Fix category renaming. fixes #4415 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-06 16:10:52 +00:00
ryan
9f46c4af44 Term sanitization. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-05 00:57:23 +00:00
ryan
16e8f842f5 Fix link category dropdown and filter. Add some back compat to get_categories. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-03 17:28:27 +00:00
rob1n
9ce729e656 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: http://svn.automattic.com/wordpress/trunk@5640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 05:21:18 +00:00
rob1n
64820ed1ae wp_mail() rewrite that handles HTML mail. fixes #4296
git-svn-id: http://svn.automattic.com/wordpress/trunk@5639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 03:18:24 +00:00
rob1n
026cdded71 phpDoc effort for wp-includes/author-template.php. fixes #4393
git-svn-id: http://svn.automattic.com/wordpress/trunk@5638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 03:04:01 +00:00
ryan
4214428322 Separate AJAX cat adder into post and link flavors. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 02:53:09 +00:00
rob1n
cac67278d2 Move JavaScript to js subfolder, and CSS to css subfolder. see #4334
git-svn-id: http://svn.automattic.com/wordpress/trunk@5631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:37:51 +00:00
rob1n
c927ae3f37 Keep greedy regex's in control. fixes #4165
git-svn-id: http://svn.automattic.com/wordpress/trunk@5630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-02 00:02:06 +00:00
rob1n
168c858844 Move uploads JS to jQuery. Props filosofo. see #3824
git-svn-id: http://svn.automattic.com/wordpress/trunk@5629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 23:52:27 +00:00
rob1n
d9757a4426 phpDoc for wp-includes/registration.php. fixes #4383
git-svn-id: http://svn.automattic.com/wordpress/trunk@5627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 23:13:41 +00:00
rob1n
82e3bf32c3 Fix a strpos typo. fixes #4390
git-svn-id: http://svn.automattic.com/wordpress/trunk@5626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 23:10:03 +00:00
rob1n
a437fa5e23 Fix wp_title single post title filters. Props jhodgdon. fixes #3755
git-svn-id: http://svn.automattic.com/wordpress/trunk@5625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 22:54:46 +00:00
markjaquith
06e670d043 Allow wp_list_authors() to optionally return. fixes #4323. see #3567.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 05:43:24 +00:00
rob1n
b8c26df7e0 Fix nestable HTML, including <blockquote>'s. Props anonymousbugger (!) and Nazgul. fixes #1170
git-svn-id: http://svn.automattic.com/wordpress/trunk@5623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 02:33:03 +00:00
ryan
9e8bfa7f7b query by parent, not child_of, in get_nested_categories(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-01 02:24:07 +00:00
markjaquith
bd89b78f8d get_bloginfo("comments_atom_url") now works properly. fixes #4382 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 22:44:21 +00:00
markjaquith
09202da539 correct "type" in Atom comments feed alternate links. fixes #4381 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 22:13:06 +00:00
ryan
fbe9b4d76e Abstract object term cache a bit more. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 21:38:33 +00:00
rob1n
71a095d0ee Don't translate "you haven't installed" text yet, because text domain isn't installed. Props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 12:29:46 +00:00
rob1n
01af55cbf7 Bring tinyspell.php into sync. Props Nazgul. fixes #4368
git-svn-id: http://svn.automattic.com/wordpress/trunk@5614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 12:22:06 +00:00
rob1n
e836ded63b Fix variable typo. Props schulte. fixes #4374
git-svn-id: http://svn.automattic.com/wordpress/trunk@5613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:51:03 +00:00
ryan
e7e4c113fd If a term has no children, return an empty array for child_of queries. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:44:18 +00:00
rob1n
d268eae391 Some more get_pagenum_link() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:36:40 +00:00
rob1n
544f18ce7d Fix get_pagenum_link() for query strings. fixes #3930
git-svn-id: http://svn.automattic.com/wordpress/trunk@5610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:29:44 +00:00
rob1n
fb2f7fb6b0 Fix some typos in query.php. Props schulte. fixes #4373
git-svn-id: http://svn.automattic.com/wordpress/trunk@5609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:19:38 +00:00
rob1n
ba3abf0733 Add option to exclude pages to pages widget. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 01:57:10 +00:00
rob1n
fc76cc488d Prototype fix to keep Safari < 2 from blowing up. fixes #4363
git-svn-id: http://svn.automattic.com/wordpress/trunk@5604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 01:38:11 +00:00
rob1n
ebee78ae54 Check that tinyMCE is defined. Props johnbillion. fixes #4257
git-svn-id: http://svn.automattic.com/wordpress/trunk@5602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 00:24:31 +00:00
rob1n
e83a798987 Upgrade TinyMCE spell checker to 1.0.5. fixes #4368
git-svn-id: http://svn.automattic.com/wordpress/trunk@5601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 00:21:55 +00:00
ryan
7800ed531e Fix slug queries. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 21:50:57 +00:00
ryan
df1a8696d5 Some term caching. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 03:36:59 +00:00
ryan
7c39499aa0 Category hierarchy fixes. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 01:39:47 +00:00
ryan
facc7245fa Add ignore_empty option to wp_count_terms(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-30 01:05:44 +00:00
ryan
e2a9845a94 Add missing taxonomy argument. Props nbachiyski. fixes #4362 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 23:06:46 +00:00
ryan
083dfb059b Fix listing of categories with parents. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 21:50:00 +00:00
ryan
3176f1acd2 get_term_children() and category query fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 21:27:49 +00:00
ryan
6a314d85d8 Use taxonomy instead of post2cat. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 16:52:31 +00:00
markjaquith
b0ffd98c95 switch to term_id and name for category sorting. see #4189. sort by term_id for category permalinks, by name for get_the_category(). fixes #4335 for trunk. Props Erik Barzeski for the find.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:54:45 +00:00
ryan
4efb612c1a Post and page management filter additions from mdawaffe. see #3945
git-svn-id: http://svn.automattic.com/wordpress/trunk@5587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:28:10 +00:00
ryan
c09ea05543 Use API instead of SELECT. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:26:36 +00:00
ryan
13a01467dc get_objects_in_term()
git-svn-id: http://svn.automattic.com/wordpress/trunk@5585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:25:09 +00:00
markjaquith
fcf640dd6b declare $user_ID global in load_template(). fixes #4354.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 21:32:35 +00:00
rob1n
4b9d4641be Add a is_user_logged_in() check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 20:39:24 +00:00
rob1n
5aedce1521 Update TinyMCE to 2.1.1.1 (look at all those 1's...). fixes #4262
git-svn-id: http://svn.automattic.com/wordpress/trunk@5577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 19:30:05 +00:00
ryan
6621b8eed0 Fix category permalinks. Update cat_ID to term_id. fixes #4349 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 18:47:08 +00:00
ryan
a438f8a92a Better draft, private, and future post/page management from mdawaffe. fixes #3945
git-svn-id: http://svn.automattic.com/wordpress/trunk@5575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 18:34:06 +00:00
rob1n
6800fa5564 Actually, this makes more sense.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 17:11:42 +00:00
rob1n
673cab8183 Turn string to upper. Props Donncha. fixes #4350
git-svn-id: http://svn.automattic.com/wordpress/trunk@5572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 17:05:46 +00:00
markjaquith
6a41f63aae permalink_link() is deprecated, and should reference its replacement.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 04:39:40 +00:00
rob1n
0617eb51d0 Add rel="tag" to tag links. fixes #4159
git-svn-id: http://svn.automattic.com/wordpress/trunk@5568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 02:07:59 +00:00
ryan
965e63b970 Register taxonomies as object instead of arrays. Fix tt_ids query in get_post_terms().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 00:51:24 +00:00
ryan
ee5ec0c505 Fix up exporter. Remove more refrences to the categories table. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 19:32:45 +00:00
ryan
333d77ea9c Typo fix from flinkflonk. fixes #4347 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 17:45:31 +00:00
ryan
eb541a962f Link category fixes. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 17:21:04 +00:00
ryan
49953705f1 Delete term if no taxonomies use it. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 06:29:52 +00:00
ryan
128bbfa161 Change term count callback style. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 06:17:50 +00:00
ryan
3e59a81327 Remove debug. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 05:28:30 +00:00
ryan
c816b51b8c Fix object term relationship deletion and count updating.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 05:15:18 +00:00
ryan
2918f50e90 Term cache work. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 23:32:06 +00:00
ryan
80ce3031d1 Update cat2tag converter. Some term API tweaks. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 18:54:16 +00:00
ryan
b068bd6447 During upgrade, make slugs unique and put like slugs in a term group. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-26 17:47:20 +00:00
rob1n
77a141151f Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 16:27:34 +00:00
rob1n
a98bb3abda Fix Atom feeds' categories. fixes #4307
git-svn-id: http://svn.automattic.com/wordpress/trunk@5548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 15:55:30 +00:00
ryan
f7e5557f6e Don't load category cache from old tables. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 09:45:55 +00:00
ryan
92e7d3c3bc Make sure sanitize_option() is always called when updating options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-25 02:22:30 +00:00
ryan
6445fc55a2 Category/tag to taxonomy upgrade. First cut.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-24 22:40:24 +00:00
rob1n
315fcd5cd6 the_search_query() revamp. fixes #4327
git-svn-id: http://svn.automattic.com/wordpress/trunk@5536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-24 03:37:10 +00:00
rob1n
cf3f7ac197 Use selected() to clean that up. Thanks Mark. fixes #4291
git-svn-id: http://svn.automattic.com/wordpress/trunk@5535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-24 00:29:51 +00:00
ryan
76d2530a7e No more TAXONOMY bit fiels. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 22:11:02 +00:00
ryan
6251eb3ca6 wp_delete_term(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 22:03:24 +00:00
ryan
1b783b9b9a More rel_type elimination. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 20:59:11 +00:00
ryan
b00beb3027 Convert category queries and list cats to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 18:59:12 +00:00
ryan
0e05576999 Set and get post cats to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 18:07:53 +00:00
ryan
675cc0d029 wp_insert_category(), cat_rows(), and others using taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 17:28:13 +00:00
rob1n
4d9a6e1a98 Fix bloginfo() filtering when it comes to links. Props Nazgul. fixes #4116
git-svn-id: http://svn.automattic.com/wordpress/trunk@5526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 14:58:32 +00:00
ryan
42df47a478 Add get_term_by() and taxonomy registration bits. Move more category stuff to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 10:32:33 +00:00
ryan
557eafd82e Add some term hooks. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 07:26:52 +00:00
ryan
4bbddb6559 Start moving link categories to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 07:15:10 +00:00
ryan
b450105bfd wp_insert_term() and wp_update_term(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 05:42:31 +00:00
ryan
0b795ff92b Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 03:57:20 +00:00
rob1n
6a1b3fcd19 Run it through the filter. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 22:36:56 +00:00
ryan
c5967f3432 Remove the_content filter from widget text. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 21:32:07 +00:00
ryan
6ecc901391 Fix primary key on term_relationships. Add wp_set_object_terms(). Setting post tags working now. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 20:39:26 +00:00
ryan
634a33c206 Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 05:12:38 +00:00
rob1n
3ed5b0a01e Don't show title if user leaves it blank. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 00:25:44 +00:00
rob1n
7048b27ede Don't call is_wp_error() in wp_die() if it hasn't been defined yet. fixes #4308
git-svn-id: http://svn.automattic.com/wordpress/trunk@5507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 22:50:32 +00:00
ryan
aeb569d93d Fix theme template field. fixes #4310 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 20:11:53 +00:00
ryan
b634b18433 Check if is_array before unsetting array index. fixes #4306 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 16:39:08 +00:00
rob1n
041135b01b Pass text widget text through format_to_edit. Props Ryan. fixes #4302
git-svn-id: http://svn.automattic.com/wordpress/trunk@5499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 13:13:22 +00:00
rob1n
b83c9dae09 Fix wp-ajax.js addArg's hashes. Props technosailor. fixes #4277
git-svn-id: http://svn.automattic.com/wordpress/trunk@5498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 12:56:39 +00:00
rob1n
4a83568904 Check for switch_themes, not edit_themes. Props Denis de Bernardy. fixes #4292
git-svn-id: http://svn.automattic.com/wordpress/trunk@5492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 04:38:51 +00:00
rob1n
1d47f812cd Select the option if it's set to that. fixes #4291
git-svn-id: http://svn.automattic.com/wordpress/trunk@5490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 04:26:02 +00:00
ryan
592c3c0767 Fix tinymce colorpicker. Props azaozz. fixes #4188 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 00:10:24 +00:00
rob1n
5d40bf562c Texturize and autop the text widgets, and allow pages to be sorted by a specified field. Props Denis de Bernardy. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-18 02:29:11 +00:00
ryan
8da6590866 Restore crack-headed arg passing to register_sidebar_widget(). fixes #4275 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-16 17:49:32 +00:00
rob1n
349ba3a536 Fix some attribute misnamings. Props Erunafailaro. fixes #4274
git-svn-id: http://svn.automattic.com/wordpress/trunk@5483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-16 17:37:55 +00:00
rob1n
d6b4808d80 Update Prototype to 1.5.1 and script.aculo.us to 1.7.1-b2. Props zamoose. fixes #4265
git-svn-id: http://svn.automattic.com/wordpress/trunk@5482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-16 03:27:07 +00:00