Commit Graph

5408 Commits

Author SHA1 Message Date
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
ryan
fd5da3a85e Protect _wp_page_template too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 22:42:25 +00:00
ryan
7ffc5ee8b0 Accept 'open' and 'closed' as valid values for mt_allow_comments and mt_allow_pings in XML-RPC. Props Joseph Scott. see #4469
git-svn-id: http://svn.automattic.com/wordpress/trunk@5729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 19:12:24 +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
e8dc080307 Prevent editing of protected meta keys.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-18 16:28:11 +00:00
ryan
c09f6ffbdb escape before extracting. Props Alexander Concha.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-18 00:18:18 +00:00
rob1n
3ca7762517 Add missing </em>. Props johnbillion. fixes #4479
git-svn-id: http://svn.automattic.com/wordpress/trunk@5720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-16 17:52:08 +00:00
ryan
9fbb55032a Regex fix. Props tellyworth. fixes #4452
git-svn-id: http://svn.automattic.com/wordpress/trunk@5718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-16 02:09:08 +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
e7890261e5 EXTR_SKIP. See #4468
git-svn-id: http://svn.automattic.com/wordpress/trunk@5712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 17:30:37 +00:00
ryan
2ea53cf51a Use CDATA escaping on fields. Props tellyworth. fixes #4452
git-svn-id: http://svn.automattic.com/wordpress/trunk@5711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 17:22:38 +00:00
rob1n
560d294867 Fix reference to ocomment.php. Props alanjcastonguay and Lloyd. fixes #4471
git-svn-id: http://svn.automattic.com/wordpress/trunk@5710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 16:54:17 +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
rob1n
a14a68b216 Translate some strings in the classic theme that were missed. Props nbachiyski. fixes #4451
git-svn-id: http://svn.automattic.com/wordpress/trunk@5697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 16:41:21 +00:00
rob1n
ab2e725577 Translate the rest of the &raquo;'s. Props nbachiyski. fixes #3401
git-svn-id: http://svn.automattic.com/wordpress/trunk@5696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-13 16:29:55 +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
markjaquith
6dca00cae6 Correct SQL query in [5691]. fixes #2316
git-svn-id: http://svn.automattic.com/wordpress/trunk@5692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 23:44:45 +00:00
markjaquith
f1fa801385 Omit underscore-prefixed meta keys from dropdown list. fixes #2316
git-svn-id: http://svn.automattic.com/wordpress/trunk@5691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 23:22:38 +00:00
rob1n
d4f95b7fd4 Accidental commit. Props Nazgul. fixes #4437
git-svn-id: http://svn.automattic.com/wordpress/trunk@5690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 21:59:22 +00:00
rob1n
845ae5609d Add ID's to profile edit form's fieldsets. fixes #4434
git-svn-id: http://svn.automattic.com/wordpress/trunk@5689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 21:52:50 +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
ryan
b26a66ced0 Fix image path
git-svn-id: http://svn.automattic.com/wordpress/trunk@5687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 21:47:12 +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
56272d8507 MT importer rework. see #4421
git-svn-id: http://svn.automattic.com/wordpress/trunk@5684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 19:49:30 +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
ryan
81c90fcd76 attribute_escape REQUEST_URI
git-svn-id: http://svn.automattic.com/wordpress/trunk@5679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-11 22:41:47 +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
458b65a2f0 Translate &raquo;. see #3401
git-svn-id: http://svn.automattic.com/wordpress/trunk@5676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-11 21:05:50 +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
a79c4dbda3 Fix <!--generator--> line's time format. Props macbis. fixes #4424 for 2.3 and 2.2.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 23:06:10 +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
d84178acd7 Check the user before overwriting the attachment. Props xknown and Joseph Scott. fixes #4422
git-svn-id: http://svn.automattic.com/wordpress/trunk@5671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 17:07:59 +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
b5598e2bda More comment caching. see #4387
git-svn-id: http://svn.automattic.com/wordpress/trunk@5667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 06:56:34 +00:00