Commit Graph

2695 Commits

Author SHA1 Message Date
Ryan Boren
810ebfe299 AND get_terms() field queries
git-svn-id: https://develop.svn.wordpress.org/trunk@5807 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-17 02:02:52 +00:00
Ryan Boren
fbf238ca99 Eliminate post_pingback stuff since we always use default_pingback_flag. fixes pingback problems caused by [5797] for #4620
git-svn-id: https://develop.svn.wordpress.org/trunk@5806 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-16 23:11:51 +00:00
Ryan Boren
1c5c2aee5c Make balanceTags() option independent. Props mdawaffe. fixes #4626
git-svn-id: https://develop.svn.wordpress.org/trunk@5805 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-16 19:23:41 +00:00
Ryan Boren
bd72aa8e00 jquery data selector for post timestamps. Props tellyworth. fixes #4641
git-svn-id: https://develop.svn.wordpress.org/trunk@5804 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-16 19:22:27 +00:00
Ryan Boren
4c70bb896e Show upload file size in upload browser. Props tellyworth. fixes #4561
git-svn-id: https://develop.svn.wordpress.org/trunk@5801 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-15 17:52:50 +00:00
Ryan Boren
c315fbacdb Fix variable name. Props bgracewood. fixes #4621
git-svn-id: https://develop.svn.wordpress.org/trunk@5797 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-12 16:00:51 +00:00
Ryan Boren
9fe6a868ca Post filter rework. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5796 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-11 19:57:43 +00:00
Ryan Boren
f1dfa6dec0 Don't load all includes by default. We have our own script loader. fixes #4512
git-svn-id: https://develop.svn.wordpress.org/trunk@5794 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-09 21:22:38 +00:00
Ryan Boren
9d34d5cdef Bump scriptaculous ver in script loader. fixes #4512
git-svn-id: https://develop.svn.wordpress.org/trunk@5793 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-09 20:20:34 +00:00
Ryan Boren
e99c75ddf5 Update to scriptaculous 1.7.1_beta3. Props Nazgul. fixes #4512
git-svn-id: https://develop.svn.wordpress.org/trunk@5792 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-09 20:14:28 +00:00
Mark Jaquith
bd75df9d1e Undo pre-doublequoting in prepare(). Props JeremyVisser. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@5791 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-09 17:55:32 +00:00
Ryan Boren
29053671df Update jquery to 1.1.3.1. Fixes http://bugs.kde.org/show_bug.cgi?id=147661
git-svn-id: https://develop.svn.wordpress.org/trunk@5790 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-08 21:10:14 +00:00
Mark Jaquith
3e87a2b88d Properly unset notoptions cache in add_option() so that get_option() and update_option() work on the same load. fixes #4429 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5788 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-07 04:06:29 +00:00
Mark Jaquith
13d390e40f Pass extra args to pre_kses hook. Props mdawaffe. see #4409
git-svn-id: https://develop.svn.wordpress.org/trunk@5787 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-06 22:47:24 +00:00
Ryan Boren
8817ee2c8e Resurrect noquery
git-svn-id: https://develop.svn.wordpress.org/trunk@5784 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-06 20:45:46 +00:00
Mark Jaquith
258e179448 Entitize lone less-than characters. Props mdawaffe. fixes #4409
git-svn-id: https://develop.svn.wordpress.org/trunk@5783 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-06 12:53:15 +00:00
Ryan Boren
538cbd0046 Don't richedit for comments. Props Joseph Scott. fixes #4587 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5780 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-05 20:11:32 +00:00
Mark Jaquith
0ccba3e8bb Automatically quote strings in $wpdb->prepare(). Use vsprintf(). see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@5779 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-05 17:32:46 +00:00
Mark Jaquith
b0b9c7946b Introducing "prepare", a WPDB method for sprintf()-prepared SQL statements. see #4553. Implementation details to follow.
git-svn-id: https://develop.svn.wordpress.org/trunk@5778 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-04 16:18:57 +00:00
Mark Jaquith
408ad189aa Make it possible for a plugin to replace the feed-parsing engine. see: #4547
git-svn-id: https://develop.svn.wordpress.org/trunk@5776 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-03 18:10:20 +00:00
Matt Mullenweg
0f41997422 Upgrade to jQuery 1.1.3, fixes #4576
git-svn-id: https://develop.svn.wordpress.org/trunk@5775 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-02 23:57:52 +00:00
Ryan Boren
35f2f13526 Delete term relationship only for the given object.
git-svn-id: https://develop.svn.wordpress.org/trunk@5774 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-02 15:47:27 +00:00
Mark Jaquith
de83c2db51 Mark pingback as already pinged when the target site says it already got the pingback. props mdawaffe. fixes #4289
git-svn-id: https://develop.svn.wordpress.org/trunk@5772 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-27 23:28:36 +00:00
Ryan Boren
aa85dfe187 Allow rules to be added to the top of the rule stack.
git-svn-id: https://develop.svn.wordpress.org/trunk@5769 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-27 21:39:50 +00:00
Mark Jaquith
bf00906f7a Fix typo in get_the_author_url(). props pgdx. fixes #4542
git-svn-id: https://develop.svn.wordpress.org/trunk@5767 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-27 00:51:04 +00:00
Mark Jaquith
94563d9f33 Correctly grab Content-Type from old-school headers, skip blank headers. fixes #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5764 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 20:18:56 +00:00
Mark Jaquith
b614486625 Don't add MIME-Version header twice (PHPMailer already adds it). see #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5763 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 19:11:23 +00:00
Mark Jaquith
e51152beb3 compare mail headers case-insensitively and actually use the Content-Type specified. Props Nazgul. see: #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5762 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 18:28:56 +00:00
Mark Jaquith
d0bb265782 strpos() is "haystack,needle", not "needle,haystack" Props pishmishy. fixes #4520
git-svn-id: https://develop.svn.wordpress.org/trunk@5761 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 18:06:17 +00:00
Ryan Boren
66ec9bee20 Add name_like query to get_terms(). Use it in suggestCategories.
git-svn-id: https://develop.svn.wordpress.org/trunk@5756 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 21:28:19 +00:00
Ryan Boren
b692c7395f s/cat_name/name/ see #4537
git-svn-id: https://develop.svn.wordpress.org/trunk@5755 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 20:06:02 +00:00
Ryan Boren
8133ebad65 s/cat_name/name/ see #4537
git-svn-id: https://develop.svn.wordpress.org/trunk@5754 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 19:51:26 +00:00
Ryan Boren
72be6cb001 Move the_title filter to get_the_title. Props jhodgdon. fixes #4477
git-svn-id: https://develop.svn.wordpress.org/trunk@5752 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 17:48:35 +00:00
Mark Jaquith
f3de8f4aab Don't init widgets if the blog isn't installed yet. fixes #4504
git-svn-id: https://develop.svn.wordpress.org/trunk@5747 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-23 05:32:16 +00:00
Mark Jaquith
f6f946df9a Upgrade to Prototype 1.5.1.1 (bugfix release). Props Nazgul. fixes #4502
git-svn-id: https://develop.svn.wordpress.org/trunk@5743 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-21 22:01:21 +00:00
Ryan Boren
f63d130503 Term count fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@5741 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-21 15:46:49 +00:00
Ryan Boren
fdb786ba7f Don't create '0' categories. fixes #4413
git-svn-id: https://develop.svn.wordpress.org/trunk@5739 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-20 22:06:29 +00:00
Ryan Boren
d907ae8841 js_escape improvements from Alexander Concha. Catches &#39 &#039 ' ' ' ' &#x000027 etc.
git-svn-id: https://develop.svn.wordpress.org/trunk@5734 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 22:46:55 +00:00
rob1n
ad84c8381a Change references of get_object_terms() to wp_get_object_terms(). fixes #4490
git-svn-id: https://develop.svn.wordpress.org/trunk@5728 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 18:03:12 +00:00
rob1n
a1f451b72a Fix up wp_list_authors() SQL. fixes #4485
git-svn-id: https://develop.svn.wordpress.org/trunk@5727 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 17:57:53 +00:00
Ryan Boren
7df77b79b9 Add some taxonomy validation. Rearrange funcs.
git-svn-id: https://develop.svn.wordpress.org/trunk@5726 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 00:33:44 +00:00
Ryan Boren
5bac944f80 Upgrade code for multiple category widgets. Props Andy. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5717 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-16 02:03:25 +00:00
Ryan Boren
6177fec7fa Don't use permalinks for pending posts. see #4446
git-svn-id: https://develop.svn.wordpress.org/trunk@5716 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-15 22:11:01 +00:00
rob1n
55845bb061 Show the name, not the slug. fixes #4473
git-svn-id: https://develop.svn.wordpress.org/trunk@5715 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-15 18:26:43 +00:00
Ryan Boren
6b7bc3b1b6 wp_parse_str() from mdawaffe. see #4467
git-svn-id: https://develop.svn.wordpress.org/trunk@5709 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:46:59 +00:00
Ryan Boren
09da00f7fe Use EXTR_SKIP when extracting. see #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +00:00
Mark Jaquith
0f0788d24d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: https://develop.svn.wordpress.org/trunk@5707 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 16:24:28 +00:00
Mark Jaquith
2a6e8a08be use FALSE to designate lack of user-supplied URL in *_query_arg() funcs. fixes #4465 for 2.3 (trunk)
git-svn-id: https://develop.svn.wordpress.org/trunk@5705 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 05:12:22 +00:00
Mark Jaquith
e542bbdde1 only strip question marks from the RIGHT side of the query string. fixes #4464 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5704 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 04:44:06 +00:00
rob1n
eb1518f95e Use display_name instead. Props Pal Gronas Drange. fixes #4459
git-svn-id: https://develop.svn.wordpress.org/trunk@5701 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:30:26 +00:00
Ryan Boren
b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
Ryan Boren
0f4225621d Don't output author uri tag if uri is empty.
git-svn-id: https://develop.svn.wordpress.org/trunk@5699 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 18:03:17 +00:00
rob1n
60794fc8e2 wp_rss() updates. fixes #3834
git-svn-id: https://develop.svn.wordpress.org/trunk@5698 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 17:23:38 +00:00
Mark Jaquith
37b3dc98fe correct CSS link for install. Props Viper007Bond. fixes #4443
git-svn-id: https://develop.svn.wordpress.org/trunk@5694 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 06:33:17 +00:00
Matt Mullenweg
526eac00b8 Update in_category to use the new object_term_cache, it wasn't so much with the working before.
git-svn-id: https://develop.svn.wordpress.org/trunk@5693 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-13 00:16:33 +00:00
rob1n
019eff6399 Don't include HTML in gettext call. Props nbachiyski and Nazgul. fixes #4437
git-svn-id: https://develop.svn.wordpress.org/trunk@5688 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 21:48:55 +00:00
Mark Jaquith
ce7fd94edf Force $autoload to be either "yes" or "no". see #4440. props Nazgul
git-svn-id: https://develop.svn.wordpress.org/trunk@5686 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 20:57:58 +00:00
Mark Jaquith
78c8d3f3f6 Make sure post titles longer than 200 chars get unique slugs. fixes #4433. props AaronCampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@5685 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 20:49:40 +00:00
Ryan Boren
d993430968 Add a prophylactic sanitize_user()
git-svn-id: https://develop.svn.wordpress.org/trunk@5683 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 18:11:06 +00:00
Ryan Boren
edeae9cc8e escapeshellarg the sender
git-svn-id: https://develop.svn.wordpress.org/trunk@5682 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-11 23:19:33 +00:00
rob1n
f7d1916e11 Maintain "Page order" for consistency. fixes #4431
git-svn-id: https://develop.svn.wordpress.org/trunk@5677 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-11 21:11:40 +00:00
rob1n
96dac9ed94 Revert multiple category stuff. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5675 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-09 00:59:14 +00:00
rob1n
1367219198 Some more multiple category widget stuff. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5673 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 22:50:37 +00:00
rob1n
4726ebca94 Add support for multiple instances of the category widget. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5669 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 14:49:30 +00:00
Ryan Boren
163f22deb5 Comment caching. Reduce queries on edit-comments.php page. Add non-persistent cache groups. Hat tip to hovenko. fixes #4387
git-svn-id: https://develop.svn.wordpress.org/trunk@5666 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 00:20:22 +00:00
Ryan Boren
e1ef29586c Use get_term_children() and get_term_field(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5660 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-06 16:13:12 +00:00
Ryan Boren
09c96b4292 Fix category renaming. fixes #4415 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5658 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-06 16:10:52 +00:00
Ryan Boren
400c2064ad Term sanitization. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5652 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-05 00:57:23 +00:00
Ryan Boren
ce17f71ccb Fix link category dropdown and filter. Add some back compat to get_categories. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5642 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-03 17:28:27 +00:00
rob1n
12c2ef6be0 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: https://develop.svn.wordpress.org/trunk@5640 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 05:21:18 +00:00
rob1n
8998b56e76 wp_mail() rewrite that handles HTML mail. fixes #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5639 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 03:18:24 +00:00
rob1n
8dc0ba5036 phpDoc effort for wp-includes/author-template.php. fixes #4393
git-svn-id: https://develop.svn.wordpress.org/trunk@5638 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 03:04:01 +00:00
Ryan Boren
67013eb065 Separate AJAX cat adder into post and link flavors. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5637 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 02:53:09 +00:00
rob1n
42a1f116d5 Move JavaScript to js subfolder, and CSS to css subfolder. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5631 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 00:37:51 +00:00
rob1n
e2513b5643 Keep greedy regex's in control. fixes #4165
git-svn-id: https://develop.svn.wordpress.org/trunk@5630 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 00:02:06 +00:00
rob1n
e6d32e8761 Move uploads JS to jQuery. Props filosofo. see #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@5629 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:52:27 +00:00
rob1n
21ad1a92f8 phpDoc for wp-includes/registration.php. fixes #4383
git-svn-id: https://develop.svn.wordpress.org/trunk@5627 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:13:41 +00:00
rob1n
a79b7c6772 Fix a strpos typo. fixes #4390
git-svn-id: https://develop.svn.wordpress.org/trunk@5626 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 23:10:03 +00:00
rob1n
747a7a14f4 Fix wp_title single post title filters. Props jhodgdon. fixes #3755
git-svn-id: https://develop.svn.wordpress.org/trunk@5625 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 22:54:46 +00:00
Mark Jaquith
9a4c736b19 Allow wp_list_authors() to optionally return. fixes #4323. see #3567.
git-svn-id: https://develop.svn.wordpress.org/trunk@5624 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 05:43:24 +00:00
rob1n
d6bf26da3c Fix nestable HTML, including <blockquote>'s. Props anonymousbugger (!) and Nazgul. fixes #1170
git-svn-id: https://develop.svn.wordpress.org/trunk@5623 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 02:33:03 +00:00
Ryan Boren
9aae8013a8 query by parent, not child_of, in get_nested_categories(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5622 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-01 02:24:07 +00:00
Mark Jaquith
2731fd5a54 get_bloginfo("comments_atom_url") now works properly. fixes #4382 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5619 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 22:44:21 +00:00
Mark Jaquith
3cc7b4cbe3 correct "type" in Atom comments feed alternate links. fixes #4381 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5617 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 22:13:06 +00:00
Ryan Boren
0b91f4aaca Abstract object term cache a bit more. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5616 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 21:38:33 +00:00
rob1n
46745ee278 Don't translate "you haven't installed" text yet, because text domain isn't installed. Props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@5615 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 12:29:46 +00:00
rob1n
c92fe17918 Bring tinyspell.php into sync. Props Nazgul. fixes #4368
git-svn-id: https://develop.svn.wordpress.org/trunk@5614 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 12:22:06 +00:00
rob1n
a1bedd8f11 Fix variable typo. Props schulte. fixes #4374
git-svn-id: https://develop.svn.wordpress.org/trunk@5613 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:51:03 +00:00
Ryan Boren
b4d7d80744 If a term has no children, return an empty array for child_of queries. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5612 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:44:18 +00:00
rob1n
5d7ce647d2 Some more get_pagenum_link() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5611 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:36:40 +00:00
rob1n
3b60a5107b Fix get_pagenum_link() for query strings. fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5610 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:29:44 +00:00
rob1n
f0cd9cb22a Fix some typos in query.php. Props schulte. fixes #4373
git-svn-id: https://develop.svn.wordpress.org/trunk@5609 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:19:38 +00:00
rob1n
8233bb1c4f Add option to exclude pages to pages widget. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5605 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 01:57:10 +00:00
rob1n
7e281b4507 Prototype fix to keep Safari < 2 from blowing up. fixes #4363
git-svn-id: https://develop.svn.wordpress.org/trunk@5604 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 01:38:11 +00:00
rob1n
91d0e796ef Check that tinyMCE is defined. Props johnbillion. fixes #4257
git-svn-id: https://develop.svn.wordpress.org/trunk@5602 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 00:24:31 +00:00
rob1n
4fec7327ed Upgrade TinyMCE spell checker to 1.0.5. fixes #4368
git-svn-id: https://develop.svn.wordpress.org/trunk@5601 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 00:21:55 +00:00
Ryan Boren
55e37c4843 Fix slug queries. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5599 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 21:50:57 +00:00
Ryan Boren
5a8598cd15 Some term caching. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5598 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 03:36:59 +00:00
Ryan Boren
18c1cade87 Category hierarchy fixes. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5597 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 01:39:47 +00:00
Ryan Boren
1bb6925679 Add ignore_empty option to wp_count_terms(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5596 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-30 01:05:44 +00:00
Ryan Boren
7480586494 Add missing taxonomy argument. Props nbachiyski. fixes #4362 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5595 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 23:06:46 +00:00
Ryan Boren
479ecdf5f8 Fix listing of categories with parents. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5594 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 21:50:00 +00:00
Ryan Boren
cfa5ecfd4b get_term_children() and category query fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5593 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 21:27:49 +00:00
Ryan Boren
e0bf0ffa02 Use taxonomy instead of post2cat. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5592 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 16:52:31 +00:00
Mark Jaquith
1a08c04371 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: https://develop.svn.wordpress.org/trunk@5590 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:54:45 +00:00
Ryan Boren
442ef7253a Post and page management filter additions from mdawaffe. see #3945
git-svn-id: https://develop.svn.wordpress.org/trunk@5587 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:28:10 +00:00
Ryan Boren
c4bb18caa6 Use API instead of SELECT. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5586 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:26:36 +00:00
Ryan Boren
ac1db497fc get_objects_in_term()
git-svn-id: https://develop.svn.wordpress.org/trunk@5585 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:25:09 +00:00
Mark Jaquith
d7ed90532a declare $user_ID global in load_template(). fixes #4354.
git-svn-id: https://develop.svn.wordpress.org/trunk@5581 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 21:32:35 +00:00
rob1n
6b9af86a5c Add a is_user_logged_in() check.
git-svn-id: https://develop.svn.wordpress.org/trunk@5579 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 20:39:24 +00:00
rob1n
b906e9dd95 Update TinyMCE to 2.1.1.1 (look at all those 1's...). fixes #4262
git-svn-id: https://develop.svn.wordpress.org/trunk@5577 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 19:30:05 +00:00
Ryan Boren
13dade0e8d Fix category permalinks. Update cat_ID to term_id. fixes #4349 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5576 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 18:47:08 +00:00
Ryan Boren
c9b37847ce Better draft, private, and future post/page management from mdawaffe. fixes #3945
git-svn-id: https://develop.svn.wordpress.org/trunk@5575 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 18:34:06 +00:00
rob1n
5b7256e644 Actually, this makes more sense.
git-svn-id: https://develop.svn.wordpress.org/trunk@5573 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 17:11:42 +00:00
rob1n
d5816ce68b Turn string to upper. Props Donncha. fixes #4350
git-svn-id: https://develop.svn.wordpress.org/trunk@5572 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 17:05:46 +00:00
Mark Jaquith
4308eff227 permalink_link() is deprecated, and should reference its replacement.
git-svn-id: https://develop.svn.wordpress.org/trunk@5569 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 04:39:40 +00:00
rob1n
6e0db32ccc Add rel="tag" to tag links. fixes #4159
git-svn-id: https://develop.svn.wordpress.org/trunk@5568 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 02:07:59 +00:00
Ryan Boren
7baf9a0320 Register taxonomies as object instead of arrays. Fix tt_ids query in get_post_terms().
git-svn-id: https://develop.svn.wordpress.org/trunk@5567 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 00:51:24 +00:00
Ryan Boren
ed0d41fb04 Fix up exporter. Remove more refrences to the categories table. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5563 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 19:32:45 +00:00
Ryan Boren
668f977343 Typo fix from flinkflonk. fixes #4347 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5561 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 17:45:31 +00:00
Ryan Boren
cb8250ff30 Link category fixes. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5560 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 17:21:04 +00:00
Ryan Boren
bbcffa4c56 Delete term if no taxonomies use it. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5559 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 06:29:52 +00:00
Ryan Boren
6485c0e03f Change term count callback style. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5558 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 06:17:50 +00:00
Ryan Boren
2ea53fa534 Remove debug. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5557 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 05:28:30 +00:00
Ryan Boren
b41b02db5d Fix object term relationship deletion and count updating.
git-svn-id: https://develop.svn.wordpress.org/trunk@5556 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 05:15:18 +00:00
Ryan Boren
455d73121f Term cache work. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5555 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 23:32:06 +00:00
Ryan Boren
4c2cd543c1 Update cat2tag converter. Some term API tweaks. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5553 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 18:54:16 +00:00
Ryan Boren
dc77043278 During upgrade, make slugs unique and put like slugs in a term group. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5552 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-26 17:47:20 +00:00
rob1n
a030294e1d Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5549 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 16:27:34 +00:00
rob1n
cc0dcf4992 Fix Atom feeds' categories. fixes #4307
git-svn-id: https://develop.svn.wordpress.org/trunk@5548 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 15:55:30 +00:00
Ryan Boren
6bf777e1d9 Don't load category cache from old tables. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5544 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 09:45:55 +00:00
Ryan Boren
c018ceb6bd Make sure sanitize_option() is always called when updating options.
git-svn-id: https://develop.svn.wordpress.org/trunk@5541 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 02:22:30 +00:00
Ryan Boren
d8f42243a9 Category/tag to taxonomy upgrade. First cut.
git-svn-id: https://develop.svn.wordpress.org/trunk@5539 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-24 22:40:24 +00:00
rob1n
4fd95fab28 the_search_query() revamp. fixes #4327
git-svn-id: https://develop.svn.wordpress.org/trunk@5536 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-24 03:37:10 +00:00
rob1n
2bc1518cb8 Use selected() to clean that up. Thanks Mark. fixes #4291
git-svn-id: https://develop.svn.wordpress.org/trunk@5535 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-24 00:29:51 +00:00
Ryan Boren
9cee075e30 No more TAXONOMY bit fiels. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5534 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 22:11:02 +00:00
Ryan Boren
5bfabcf2d3 wp_delete_term(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5533 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 22:03:24 +00:00
Ryan Boren
510799abe8 More rel_type elimination. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5532 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 20:59:11 +00:00
Ryan Boren
3261234a0d Convert category queries and list cats to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5530 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 18:59:12 +00:00
Ryan Boren
2b134cc1f7 Set and get post cats to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5529 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 18:07:53 +00:00
Ryan Boren
a0e6f06194 wp_insert_category(), cat_rows(), and others using taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5528 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 17:28:13 +00:00
rob1n
7a394a909e Fix bloginfo() filtering when it comes to links. Props Nazgul. fixes #4116
git-svn-id: https://develop.svn.wordpress.org/trunk@5526 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 14:58:32 +00:00
Ryan Boren
4c2f2563a9 Add get_term_by() and taxonomy registration bits. Move more category stuff to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5525 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 10:32:33 +00:00
Ryan Boren
3502ab6a8e Add some term hooks. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5524 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 07:26:52 +00:00
Ryan Boren
feb66bda9c Start moving link categories to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5523 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 07:15:10 +00:00
Ryan Boren
7f3e74ffca wp_insert_term() and wp_update_term(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5522 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 05:42:31 +00:00
Ryan Boren
0bc2a4b956 Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5521 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 03:57:20 +00:00
rob1n
a24222a0f0 Run it through the filter. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5519 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 22:36:56 +00:00
Ryan Boren
d575d01059 Remove the_content filter from widget text. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5518 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 21:32:07 +00:00
Ryan Boren
9aa94b995b Fix primary key on term_relationships. Add wp_set_object_terms(). Setting post tags working now. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5515 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 20:39:26 +00:00
Ryan Boren
523a3724bb Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5510 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 05:12:38 +00:00
rob1n
d0c8498d66 Don't show title if user leaves it blank. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5509 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 00:25:44 +00:00
rob1n
62c94190fb Don't call is_wp_error() in wp_die() if it hasn't been defined yet. fixes #4308
git-svn-id: https://develop.svn.wordpress.org/trunk@5507 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 22:50:32 +00:00
Ryan Boren
137da349c3 Fix theme template field. fixes #4310 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5506 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 20:11:53 +00:00
Ryan Boren
e50ab910fb Check if is_array before unsetting array index. fixes #4306 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5501 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 16:39:08 +00:00
rob1n
d713e47401 Pass text widget text through format_to_edit. Props Ryan. fixes #4302
git-svn-id: https://develop.svn.wordpress.org/trunk@5499 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 13:13:22 +00:00
rob1n
1a25ba4bdb Fix wp-ajax.js addArg's hashes. Props technosailor. fixes #4277
git-svn-id: https://develop.svn.wordpress.org/trunk@5498 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 12:56:39 +00:00
rob1n
ac98122657 Check for switch_themes, not edit_themes. Props Denis de Bernardy. fixes #4292
git-svn-id: https://develop.svn.wordpress.org/trunk@5492 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 04:38:51 +00:00
rob1n
2a8574bd7b Select the option if it's set to that. fixes #4291
git-svn-id: https://develop.svn.wordpress.org/trunk@5490 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 04:26:02 +00:00
Ryan Boren
986653124a Fix tinymce colorpicker. Props azaozz. fixes #4188 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5487 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 00:10:24 +00:00
rob1n
aec72baa24 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: https://develop.svn.wordpress.org/trunk@5486 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-18 02:29:11 +00:00
Ryan Boren
3e813379d0 Restore crack-headed arg passing to register_sidebar_widget(). fixes #4275 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5485 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 17:49:32 +00:00
rob1n
ab415652d9 Fix some attribute misnamings. Props Erunafailaro. fixes #4274
git-svn-id: https://develop.svn.wordpress.org/trunk@5483 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 17:37:55 +00:00
rob1n
97209ba734 Update Prototype to 1.5.1 and script.aculo.us to 1.7.1-b2. Props zamoose. fixes #4265
git-svn-id: https://develop.svn.wordpress.org/trunk@5482 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 03:27:07 +00:00
rob1n
5357b1a0af Fix get_pagenum_link(). fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5481 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 02:47:24 +00:00
Ryan Boren
2b002dfab6 Theme screenshot fix from mdawaffe. fixes #4266 for 2.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@5476 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-14 23:30:17 +00:00
Ryan Boren
25e659472d Allow sidebar names to be passed to dynamic_sidebar(). fixes #4258 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5474 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-14 05:13:39 +00:00
Ryan Boren
fb8a712fdb Flush all output buffers during shutdown to avoid PHP 5 bustage. see #3354
git-svn-id: https://develop.svn.wordpress.org/trunk@5462 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 22:06:31 +00:00
Ryan Boren
d9da4028a2 Return proper protocol. fixes #3886 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5460 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 21:55:14 +00:00
rob1n
9688bcaff3 Seeing double. Good spot momo360modena. fixes #4251 for 2.1, 2.2 and 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5459 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 19:47:47 +00:00
rob1n
0aa8cebe86 Don't make useless status_header() call. fixes #4249
git-svn-id: https://develop.svn.wordpress.org/trunk@5458 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 19:30:38 +00:00
rob1n
6508eb9d47 Don't call the function if it doesn't exist yet. fixes #4249
git-svn-id: https://develop.svn.wordpress.org/trunk@5455 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 16:24:17 +00:00
rob1n
031cf54afe Bring get_pagenum_link() into this century. Props Mark Jaquith. fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5454 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 00:17:34 +00:00
rob1n
90dc5682f3 git-svn-id: https://develop.svn.wordpress.org/trunk@5451 602fd350-edb4-49c9-b593-d223f7449a82 2007-05-11 04:02:30 +00:00
rob1n
e6c570e45e Ugh. I thought I had fixed all of these.
git-svn-id: https://develop.svn.wordpress.org/trunk@5450 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 04:01:54 +00:00
rob1n
c9fc18c591 Filter get_theme_data() data through KSES to get rid of evil XSS things. fixes #4236
git-svn-id: https://develop.svn.wordpress.org/trunk@5447 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:44:03 +00:00
rob1n
3deb0fe500 New status_header code, and WP-DB bail() errors send a 503 Service Unavailable. see #2409
Also, the new header code to text array has 302 as Found. fixes #4183


git-svn-id: https://develop.svn.wordpress.org/trunk@5446 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:34:50 +00:00
rob1n
c213997f48 Use wp_parse_args(). fixes #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5444 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:10:05 +00:00
Ryan Boren
90cd098abe Escapage
git-svn-id: https://develop.svn.wordpress.org/trunk@5441 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 00:56:12 +00:00
Ryan Boren
7073026058 Add missing preg delimiter. see #4241
git-svn-id: https://develop.svn.wordpress.org/trunk@5433 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 16:37:44 +00:00
rob1n
d679f06b33 Show WP-Adv TinyMCE button by default. Props johnbillion. fixes #3171
git-svn-id: https://develop.svn.wordpress.org/trunk@5429 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 02:42:00 +00:00
rob1n
222bb819b7 Don't discard non-default args in wp_parse_args(). see #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5428 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 02:33:01 +00:00
rob1n
9abc3c9374 Let WebKit 420 or above get in. And clean up that overgrown ternary. Props Andy. fixes #4241
git-svn-id: https://develop.svn.wordpress.org/trunk@5425 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 01:31:12 +00:00
rob1n
ea71ef4d71 Don't add port if port == 80 (default port). fixes #3993
git-svn-id: https://develop.svn.wordpress.org/trunk@5424 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 01:26:56 +00:00
Ryan Boren
d213ecdab4 Obey show_post_count for dropdown.
git-svn-id: https://develop.svn.wordpress.org/trunk@5421 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-09 21:54:30 +00:00
rob1n
13d4d782a5 Bit of clean-up.
git-svn-id: https://develop.svn.wordpress.org/trunk@5415 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-09 04:19:19 +00:00
Ryan Boren
23018b434d Make sure wp_actions is set before counting.
git-svn-id: https://develop.svn.wordpress.org/trunk@5413 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-08 17:59:52 +00:00
Ryan Boren
3ae3baa8ff Don't send header from wp_die() if admin header already sent. fixes #4234 for 2.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@5411 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 23:24:44 +00:00
Ryan Boren
622bc51507 Fix did_action to properly account for actions that have no callbacks attached.
git-svn-id: https://develop.svn.wordpress.org/trunk@5409 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 23:22:50 +00:00
Ryan Boren
7c1f56b9b7 attribute_escape for widgets. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5403 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 02:16:28 +00:00
Ryan Boren
e83f137798 Make sure Widgets menu comes after Themes. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5401 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-06 20:36:11 +00:00
Ryan Boren
0568d96794 Fix widget registration back compat by splitting API. Fix feed widget. For 2.3. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5399 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-06 07:08:11 +00:00
rob1n
e191edb9ca Return based on whether the hook was removed or not. Props mdawaffe. fixes #4223
Note that this will almost definitely *not* affect existing implementations. The way most code is set up now is to just call remove_filter() or remove_action().


git-svn-id: https://develop.svn.wordpress.org/trunk@5393 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 23:27:12 +00:00
Ryan Boren
18bb3b4811 Set eol-style
git-svn-id: https://develop.svn.wordpress.org/trunk@5390 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 21:28:50 +00:00
rob1n
7929eca3cc Don't take out class attribute for <abbr />, for hReview. fixes #3420
git-svn-id: https://develop.svn.wordpress.org/trunk@5383 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 03:52:11 +00:00
Ryan Boren
7c61a32074 Add 'Select' text to the dropdowns. Props Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@5381 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 02:23:49 +00:00
rob1n
c30d0f3c57 Load order fixed.
git-svn-id: https://develop.svn.wordpress.org/trunk@5377 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:52:14 +00:00
rob1n
e6ab5d6f99 Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
git-svn-id: https://develop.svn.wordpress.org/trunk@5376 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:43:57 +00:00
rob1n
d03a237b24 Add lang and xml:lang attributes to allowed list for p, div and blockquote. fixes #4128
git-svn-id: https://develop.svn.wordpress.org/trunk@5375 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:31:30 +00:00
rob1n
ae87af4ce8 Spring cleaning, extreme edition.
git-svn-id: https://develop.svn.wordpress.org/trunk@5374 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:26:57 +00:00
rob1n
00c7a213a0 Clean that mess up so it's more easily managed.
git-svn-id: https://develop.svn.wordpress.org/trunk@5373 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:17:43 +00:00
Ryan Boren
9414b0a110 Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5370 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 00:32:22 +00:00
Ryan Boren
4b4d4d9bb5 Remove wp_ prefix from default widget class names. For back compat.
git-svn-id: https://develop.svn.wordpress.org/trunk@5366 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 22:51:52 +00:00
rob1n
0cf5f8cf12 New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5363 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:58:18 +00:00
rob1n
3f99d19cc3 Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5362 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:27:46 +00:00
rob1n
697a38d8e8 Move widget stuff around. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5360 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:13:06 +00:00
Ryan Boren
9b87344634 Widget registration fixes from Andy. For 2.3. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5358 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 20:02:02 +00:00
Ryan Boren
3c6b689f0e When using the traditional list view of the categories,
make sure the wp_list_categories() doesn't add in another title. This
was causing a second Categories to show up on the category widget.  Props Jospeh Scott

git-svn-id: https://develop.svn.wordpress.org/trunk@5356 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 17:43:11 +00:00
Ryan Boren
176a6414e9 Fix typo breaking recent comment cache deletion for widgets.
git-svn-id: https://develop.svn.wordpress.org/trunk@5354 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 16:45:23 +00:00
Ryan Boren
1eb7a5f1e5 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@5351 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 03:47:14 +00:00
Ryan Boren
77fb496bc6 Don't use deprecated category API.
git-svn-id: https://develop.svn.wordpress.org/trunk@5349 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 03:32:33 +00:00
rob1n
fdc3ca298c Bring back old behavior for sidebar ID's. Props filosofo. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5348 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 02:35:28 +00:00
Ryan Boren
97bf7944c2 Fix widget control registration where id is not passed in.
git-svn-id: https://develop.svn.wordpress.org/trunk@5341 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 17:04:16 +00:00
Ryan Boren
386eb41adf Fix edit comment links
git-svn-id: https://develop.svn.wordpress.org/trunk@5340 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 16:45:47 +00:00
Ryan Boren
af32dce26a Create widget id from widget name when id not specified.
git-svn-id: https://develop.svn.wordpress.org/trunk@5338 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 06:08:27 +00:00
Ryan Boren
f6f5f61311 Kick widgets init from init hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@5336 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 00:35:47 +00:00
Ryan Boren
91e1cb92ec Some widgets gettext.
git-svn-id: https://develop.svn.wordpress.org/trunk@5334 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 00:29:27 +00:00
rob1n
510a57a763 Don't double encode gzip output if gzip is already set in php.ini. Props
welcomb. fixes #4205


git-svn-id: https://develop.svn.wordpress.org/trunk@5333 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 20:55:05 +00:00
Ryan Boren
d9f2285155 Use the right field name ya idjit.
git-svn-id: https://develop.svn.wordpress.org/trunk@5329 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 04:34:44 +00:00
Ryan Boren
b9b37cd426 Consult global comment in get_comment(). Don't show empty edit links.
git-svn-id: https://develop.svn.wordpress.org/trunk@5328 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 03:51:36 +00:00
Ryan Boren
004f9d7d27 Fix text and rss widget registration. fixes #4204 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5320 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 17:49:11 +00:00
Ryan Boren
09d31c8edb Add dropdown option to archives and categories widgets. Props Joseph Scott. fixes #4194 for 2.2
git-svn-id: https://develop.svn.wordpress.org/trunk@5319 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 17:17:30 +00:00
rob1n
2d6c38c7cf Links widget fixes from Otto42. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5317 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 03:43:59 +00:00
rob1n
7a6aba312d WordPress.com -> .org and change widgetize link to Automattic's site for now. We still need to make a Codex page, just to make it more "WordPressy."
Props foolswisdom. fixes #4200


git-svn-id: https://develop.svn.wordpress.org/trunk@5316 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 02:13:18 +00:00
rob1n
7a30348f90 Firefox uses Alt+Shift for access keys. Props johnbillion. fixes #4193
git-svn-id: https://develop.svn.wordpress.org/trunk@5315 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 02:02:59 +00:00
rob1n
b724739d74 Housekeeping -- a misspelling.
git-svn-id: https://develop.svn.wordpress.org/trunk@5312 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 03:14:11 +00:00
rob1n
a40b296021 Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: https://develop.svn.wordpress.org/trunk@5308 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 00:49:57 +00:00
rob1n
2b3f6e3070 Housekeeping -- clean out debug calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@5307 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:58:51 +00:00
rob1n
69e811bb7c Add ODT to allowed file types. Props Nazgul. fixes #4136
git-svn-id: https://develop.svn.wordpress.org/trunk@5304 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:28:39 +00:00
rob1n
215dca2430 Add unfiltered_upload cap, and allow for admins. Props Nazgul. fixes #4136
git-svn-id: https://develop.svn.wordpress.org/trunk@5303 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:27:20 +00:00
rob1n
b0e84dde88 get_edit_*_link() functions. fixes #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5302 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:21:56 +00:00
Ryan Boren
78226c0f85 Update widgets to latest bits. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5301 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 21:36:17 +00:00
Ryan Boren
774a35bbec widgets.php be doubling down. Once is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@5300 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 18:41:42 +00:00
rob1n
ffc63c60e3 Widgets for 2.3. fixes #4186
git-svn-id: https://develop.svn.wordpress.org/trunk@5297 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 01:05:17 +00:00
Ryan Boren
01dad3491e Fix variable collission in _get_cat_children. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5295 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-23 20:28:38 +00:00
rob1n
7aca30b768 has_excerpt() template tag. fixes #4177 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5293 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-22 04:25:47 +00:00
Ryan Boren
c883733d72 2.3-alpha
git-svn-id: https://develop.svn.wordpress.org/trunk@5288 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 04:05:39 +00:00
rob1n
baff4f7040 Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
git-svn-id: https://develop.svn.wordpress.org/trunk@5285 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 02:53:19 +00:00
rob1n
642b38246b Cast substr()'s to int before passing through mktime() to prevent warning. Props josephscott. fixes #4166
git-svn-id: https://develop.svn.wordpress.org/trunk@5284 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 02:49:19 +00:00
Ryan Boren
e2094a4e19 Add url_to_postid filter. Props Alex King. fixes #4160
git-svn-id: https://develop.svn.wordpress.org/trunk@5283 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-18 22:51:54 +00:00
Ryan Boren
b749fb0711 Revert [5275] - [5277]. Fix it later. see #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5282 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 23:00:35 +00:00
Ryan Boren
c20fd94dce AJAXcat fixes and FF workaround from mdawaffe. fixes #3895
git-svn-id: https://develop.svn.wordpress.org/trunk@5280 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 20:56:41 +00:00
rob1n
e111d2de08 Fix another typo. Not a good day at all.
git-svn-id: https://develop.svn.wordpress.org/trunk@5277 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 01:17:45 +00:00
rob1n
8e63dcecfa Fix typo. Thanks Lloyd.
git-svn-id: https://develop.svn.wordpress.org/trunk@5276 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 00:53:58 +00:00
rob1n
734766ba6e Add get_edit_comment_link() and get_edit_post_link(). fixes #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5275 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-16 23:53:34 +00:00
Ryan Boren
66d8f40564 Use wp_hash to create cron's check hash.
git-svn-id: https://develop.svn.wordpress.org/trunk@5274 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-16 20:47:23 +00:00
Ryan Boren
424a7906c0 tag_exists(), category_object_exists(), and some tag and cat create fix ups. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5271 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-15 02:26:26 +00:00
rob1n
8c25d341d9 Add in another trim(), just in case $frag is actually something.
git-svn-id: https://develop.svn.wordpress.org/trunk@5269 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:19:01 +00:00
rob1n
6d905c3341 trim() question marks *after* concatenating the string. fixes #4134
git-svn-id: https://develop.svn.wordpress.org/trunk@5267 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:11:47 +00:00
rob1n
447554f758 Fix gettext's plural forms for more than 2 plural forms. Props moeffju and nbachiyski. fixes #4005
git-svn-id: https://develop.svn.wordpress.org/trunk@5266 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-13 23:29:47 +00:00
rob1n
9548071ffa Respect show_option_all in wp_list_categories(). Props westi. fixes #4145
git-svn-id: https://develop.svn.wordpress.org/trunk@5265 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-13 23:20:14 +00:00
rob1n
2e5f0e8bde Don't treat object and param as block elements in wpautop. fixes #3854
git-svn-id: https://develop.svn.wordpress.org/trunk@5262 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 23:19:16 +00:00
rob1n
eac89c8fdd Get add_query_arg() to urlencode all values of parse_str array. Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5261 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 22:00:22 +00:00
rob1n
b88e6b40d8 Replace some stristr's with stripos'.
git-svn-id: https://develop.svn.wordpress.org/trunk@5260 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 21:59:31 +00:00
Ryan Boren
3b2de5b5df Refactor l10n code to reduce duplication. Change placement of context. Props nbachiyski. fixes #3687
git-svn-id: https://develop.svn.wordpress.org/trunk@5258 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 21:15:44 +00:00
rob1n
49768a3192 Upgrade TinyMCE to 2.1.0. Props andy. fixes #3788
git-svn-id: https://develop.svn.wordpress.org/trunk@5256 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 17:04:03 +00:00
rob1n
3c8cb11aee Delete the cache in tmp even if the copy failed. Props andy. fixes #4141
git-svn-id: https://develop.svn.wordpress.org/trunk@5255 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 16:31:47 +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
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
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
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
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
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
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
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
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
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
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
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
Ryan Boren
cfb13d7bcf Relocate get_post_tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@5197 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 18:22:54 +00:00
Ryan Boren
214141d62a Typo
git-svn-id: https://develop.svn.wordpress.org/trunk@5196 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 17:53:34 +00:00
Ryan Boren
f01644b6c6 Pass link indentifier to mymysql_affected_rows(). Props Doug Kaye.
git-svn-id: https://develop.svn.wordpress.org/trunk@5195 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 17:22:53 +00:00
rob1n
993b6f231c Add AND. fixes #4101
git-svn-id: https://develop.svn.wordpress.org/trunk@5194 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 14:53:46 +00:00
rob1n
627cf79932 Re-encode query values after passed to add_query_arg(). Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5193 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 04:21:21 +00:00
rob1n
1bc2123ca5 Add the argument back in. Whoops.
git-svn-id: https://develop.svn.wordpress.org/trunk@5192 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:34:01 +00:00
rob1n
4a16bf61be Add private posts to get_usernumposts() when the current_user_can read_private_posts. Props molecularbear. fixes #3868
git-svn-id: https://develop.svn.wordpress.org/trunk@5190 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:29:44 +00:00
rob1n
7e8754bbd8 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: https://develop.svn.wordpress.org/trunk@5189 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:25:41 +00:00
rob1n
28066a110c Add stripos() for compatibility for PHP < 5. This will be needed for a patch later, I think.
git-svn-id: https://develop.svn.wordpress.org/trunk@5187 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 02:54:12 +00:00
rob1n
335777c369 Add DBX to link-add.php. Props Nazgul. fixes #3922
git-svn-id: https://develop.svn.wordpress.org/trunk@5186 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 00:56:28 +00:00
Ryan Boren
8a8e57b000 Bit twiddling. Add type bitfield to categories table. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5184 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-05 21:16:02 +00:00
Ryan Boren
c81341f3ee Category listing speedups. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5179 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 22:32:24 +00:00
Ryan Boren
93cdc6deac Cache category hierarchy to make cat listing faster. Phase 1. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5178 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 20:44:45 +00:00
Mark Jaquith
aa82383dc6 Fix category_name=foo WP_Queries. fixes #4069
git-svn-id: https://develop.svn.wordpress.org/trunk@5171 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 19:40:15 +00:00
Matt Mullenweg
3be1be3815 Because of the next we should always do a reset.
git-svn-id: https://develop.svn.wordpress.org/trunk@5170 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 07:46:05 +00:00
Matt Mullenweg
0b78f9638c Fixes bottlenecks found in filter system using xdebug + kcachegrind. merge_filters was being called 1000+ times.
git-svn-id: https://develop.svn.wordpress.org/trunk@5169 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 07:03:38 +00:00
Ryan Boren
b11b72c851 i18n for quicktags.js. Props Nazgul. fixes #3958
git-svn-id: https://develop.svn.wordpress.org/trunk@5167 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 16:06:19 +00:00
rob1n
d57de9f654 Add CSS class in if it's not empty when there's no comments. fixes #2180
git-svn-id: https://develop.svn.wordpress.org/trunk@5165 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 15:57:13 +00:00
rob1n
616570aadc Run the post titles through the the_title filter. fixes #3366
git-svn-id: https://develop.svn.wordpress.org/trunk@5164 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 15:40:50 +00:00
Matt Mullenweg
f600a397d1 Don't forget the tag_cache
git-svn-id: https://develop.svn.wordpress.org/trunk@5163 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 08:44:10 +00:00
Matt Mullenweg
d5776af750 Make most of the buttons a map, helps the write page load faster.
git-svn-id: https://develop.svn.wordpress.org/trunk@5160 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 22:12:35 +00:00
rob1n
f4ec57d876 Add exit hook to wp_delete_post(). Props kevinB. fixes #4055
git-svn-id: https://develop.svn.wordpress.org/trunk@5158 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 21:41:08 +00:00
rob1n
5a4c2c68ad Add link rating to wp_list_bookmarks(). fixes #3916
git-svn-id: https://develop.svn.wordpress.org/trunk@5153 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 19:43:49 +00:00
Matt Mullenweg
a059392772 Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: https://develop.svn.wordpress.org/trunk@5150 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 09:19:32 +00:00
Matt Mullenweg
570a74e818 All the query stuff we need for tag= URLs to work.
git-svn-id: https://develop.svn.wordpress.org/trunk@5149 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 06:16:12 +00:00
rob1n
78ed2a6eca Add https:// support to script loader. Props abtime. fixes #4046
git-svn-id: https://develop.svn.wordpress.org/trunk@5145 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 02:47:23 +00:00
rob1n
362760a485 Add missing the_title filter call. Props jhodgdon. fixes #4050
git-svn-id: https://develop.svn.wordpress.org/trunk@5144 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-30 23:46:17 +00:00
rob1n
d7d36ff890 Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5143 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 04:08:54 +00:00
rob1n
44bb2a71f1 PHPdoc for plugin.php. Props Martin10. fixes #3852
git-svn-id: https://develop.svn.wordpress.org/trunk@5142 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:45:34 +00:00
rob1n
8f07a4c509 Add back in a question mark. Props foolswisdom. fixes #3143
git-svn-id: https://develop.svn.wordpress.org/trunk@5138 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:24:25 +00:00
rob1n
3b6010f155 Fix months in wp_title(). fixes #4043
git-svn-id: https://develop.svn.wordpress.org/trunk@5137 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:06:16 +00:00
rob1n
fcb2f9db91 Add get_sidebar action to get_sidebar(). fixes #1445
git-svn-id: https://develop.svn.wordpress.org/trunk@5136 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:45:29 +00:00
rob1n
9f0ebcd37e Speed (wp_)list_authors by consolidating some queries. Props graeme. fixes #1659
git-svn-id: https://develop.svn.wordpress.org/trunk@5135 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:39:05 +00:00
rob1n
9cfc001d44 Apply the bloginfo_rss filter and change bloginfo_rss filter to get_bloginfo. Props Kafkaesqui. fixes #2014
git-svn-id: https://develop.svn.wordpress.org/trunk@5134 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:35:50 +00:00
rob1n
f9b141865b Sorry, a little tester got in there. Didn't expect to be committing ;).
git-svn-id: https://develop.svn.wordpress.org/trunk@5133 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:30:27 +00:00
rob1n
26a5cfc7fe Show more relevant titles (current category, date, etc.) in feed titles. fixes #1790
git-svn-id: https://develop.svn.wordpress.org/trunk@5132 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 01:29:09 +00:00
Ryan Boren
45208447a5 Set EP_ALL to 4095. Props jhodgdon. fixes #3963
git-svn-id: https://develop.svn.wordpress.org/trunk@5131 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 00:19:42 +00:00
Ryan Boren
924e6679d4 Rewrit endpoint fixes from westi. see #3964
git-svn-id: https://develop.svn.wordpress.org/trunk@5130 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 00:17:40 +00:00
Ryan Boren
0d281aa632 Avoid non-object error when wp_die()ing before is instantiated. Props technosailor. fixes #4042
git-svn-id: https://develop.svn.wordpress.org/trunk@5129 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-28 18:10:03 +00:00
Ryan Boren
58efc0e2b2 Change bookmark to link. Props foolswisdom. fixes #3143
git-svn-id: https://develop.svn.wordpress.org/trunk@5124 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 23:54:48 +00:00
Ryan Boren
51cd99bb02 More clean_url and int casts for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5119 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 23:45:41 +00:00
Ryan Boren
8a15ffc657 Dynamically refill comment list when a comment is deleted. Props mdawaffe. fixes #4038
git-svn-id: https://develop.svn.wordpress.org/trunk@5118 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 21:20:16 +00:00
Ryan Boren
0ba70bb459 Serve robots.txt as text/plain. Props JeremyVisser. fixes #4037
git-svn-id: https://develop.svn.wordpress.org/trunk@5117 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 16:44:36 +00:00
Ryan Boren
9de70f4145 Add trackback_url filter. Props jhodgdon. fixes #4032
git-svn-id: https://develop.svn.wordpress.org/trunk@5116 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 23:40:49 +00:00
Ryan Boren
0a6d5f8788 Fallback to loading english for tinyMCE if requested locale is not there. see #3882
git-svn-id: https://develop.svn.wordpress.org/trunk@5114 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 22:05:36 +00:00
Matt Mullenweg
644849ac0e If we don't have IDs at this point, bail out. There are no tag defaults. Should fix #4035 though I can't recreate their particular error.
git-svn-id: https://develop.svn.wordpress.org/trunk@5113 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 18:05:28 +00:00
Matt Mullenweg
505c0ad074 Don't show tags on the category page.
git-svn-id: https://develop.svn.wordpress.org/trunk@5112 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 17:25:15 +00:00
Matt Mullenweg
bfb4b8c091 Basic theme support for tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@5111 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 08:08:31 +00:00
Matt Mullenweg
b7debfb42b A backend interface for tagging.
git-svn-id: https://develop.svn.wordpress.org/trunk@5110 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 07:28:29 +00:00
Ryan Boren
387c06a69f Revert [5102]
git-svn-id: https://develop.svn.wordpress.org/trunk@5109 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 06:13:19 +00:00
Ryan Boren
a2470ad625 Update to latest tinyMCE compressor. Simplify MCE language loading. see #3882
git-svn-id: https://develop.svn.wordpress.org/trunk@5108 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-26 03:44:35 +00:00
Ryan Boren
b4ef10ef85 Fix day display in title. Props phKU. fixes #3801
git-svn-id: https://develop.svn.wordpress.org/trunk@5106 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:47:48 +00:00
Ryan Boren
7d8f8b40f2 Return instead of exit in template-loader. Props Otto42 and Nazgul. fixes #3790
git-svn-id: https://develop.svn.wordpress.org/trunk@5104 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:39:14 +00:00
Ryan Boren
afd5de8f9d Correct reversed logic in maybe_serialize. Props takayukister. fixes #4029
git-svn-id: https://develop.svn.wordpress.org/trunk@5102 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:23:52 +00:00
Ryan Boren
6e2d108bf0 Deprecate number argument to comments_number. No longer used. fixes #2687
git-svn-id: https://develop.svn.wordpress.org/trunk@5101 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-25 23:18:19 +00:00
Ryan Boren
152256ca63 Fix relative link mangling in clean_url. fixes #4017 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5095 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 23:31:44 +00:00
Ryan Boren
de3198277a Allow siteurl and home to be defined as constants in wp-config, bypassing the DB. Props filosofo and charleshooper. fixes #4003
git-svn-id: https://develop.svn.wordpress.org/trunk@5093 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 17:45:40 +00:00
Ryan Boren
d64c69bcd4 Castaways on Gilligan's Isle
git-svn-id: https://develop.svn.wordpress.org/trunk@5090 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:16:16 +00:00
Matt Mullenweg
d57901d29a Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: https://develop.svn.wordpress.org/trunk@5089 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:05:29 +00:00
Ryan Boren
df22b0ccc9 Don't prepend protocol to relative links. fixes #4017 #4001 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5088 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 01:45:24 +00:00
Matt Mullenweg
b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Ryan Boren
3e2783acdd Cast to int
git-svn-id: https://develop.svn.wordpress.org/trunk@5086 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 23:03:07 +00:00
Ryan Boren
77559c20b4 More int casts
git-svn-id: https://develop.svn.wordpress.org/trunk@5082 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 20:52:29 +00:00
Ryan Boren
8357362440 Add _c() for disambiguatin translateable strings. Props nbachiyski. fixes #3687
git-svn-id: https://develop.svn.wordpress.org/trunk@5081 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 03:34:23 +00:00
Ryan Boren
61a985f409 Cast to int. Props xknown. fixes #4012 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5078 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 01:04:19 +00:00
Ryan Boren
b3727f5cb0 Don't add http:// to relative links. Props donncha. fixes #4001
git-svn-id: https://develop.svn.wordpress.org/trunk@5065 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-21 00:29:40 +00:00
Ryan Boren
3c5b5f926b Fix typo. Props rob1n. fixes #4000
git-svn-id: https://develop.svn.wordpress.org/trunk@5063 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-20 03:18:44 +00:00
Ryan Boren
6a3688b9c2 Add RTL support to kubrick. Props Sewar. fixes #3953
git-svn-id: https://develop.svn.wordpress.org/trunk@5062 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-19 19:08:15 +00:00