Commit Graph

5608 Commits

Author SHA1 Message Date
ryan
b8febc8501 Apply filteres when returning empty array from get_pages. Props epper. fixes #4712 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 22:25:33 +00:00
markjaquith
c10999aec9 Check for ORIG_PATH_INFO on IIS. props brh, fixes #5160
git-svn-id: http://svn.automattic.com/wordpress/trunk@6203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 20:48:29 +00:00
westi
8ff0a0659a Move the WLW manifest related files to have proper WordPress naming scheme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-08 20:21:29 +00:00
westi
395fd9fc29 Define $constaint is all cases in get_attachment_icon() to fix E_NOTICE. Fixed #5159 props richcon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-07 07:35:20 +00:00
westi
f6234acb5d Add documentation of _wp_filter_build_unique_id(). Fixed #5053 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-07 07:31:14 +00:00
westi
e026d1dfa2 Move all calls to mysql_ functions to withiWPDB so that t we don't expect any mysql stuff when we are using a custo$wpdb class. Fixes #5127
props ComputerGuru.


git-svn-id: http://svn.automattic.com/wordpress/trunk@6199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:40:54 +00:00
westi
61f8b8f569 Move database class loading to a shared function to ensure all of WordPress is wp-content/wp-db.php aware. Fixes #5128 props ComputerGuru.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 08:18:33 +00:00
westi
e9cfb43133 Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 06:55:24 +00:00
westi
410b858509 Ensure we have the default category id. Fixes #5150 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-06 06:21:05 +00:00
ryan
60fdc763b6 WLW manifest from josephscott. fixes #5023 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-05 17:29:34 +00:00
ryan
7f61116c5b Add some spacing. fixes #5137 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-05 16:27:48 +00:00
markjaquith
6aa8345250 Some error message normalization from Viper007Bond and DD32. fixes #5139
git-svn-id: http://svn.automattic.com/wordpress/trunk@6188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-04 19:38:35 +00:00
ryan
fe60a3ab06 New taxonomy intersection queries from xknown. fixes #5137
git-svn-id: http://svn.automattic.com/wordpress/trunk@6186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-04 18:10:03 +00:00
ryan
3211ab1d54 Add page sanitization. Props xknown. fixes #5135 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-03 16:27:07 +00:00
ryan
5300ef20cf Add sanitize_url. Don't convert ampersands in URLs when saving to DB. fixes #4411 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-03 16:16:55 +00:00
westi
f3e26c6d98 s/WPDEBUG/WP_DEBUG/g Fixes #5033
git-svn-id: http://svn.automattic.com/wordpress/trunk@6181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-02 20:34:29 +00:00
markjaquith
21c25b5566 prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-02 18:45:47 +00:00
westi
2bcddfc042 Enable developers to turn on notices from wp-config.php. Relates #3155. Fixes #5033 props Ozh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-30 11:09:47 +00:00
westi
6d2459f689 Add string descriptions to the translations of the user roles. Fixes #5102 props RanYanivHartstein
git-svn-id: http://svn.automattic.com/wordpress/trunk@6178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-30 10:09:31 +00:00
westi
0b23746c72 We're working on bleeding edge 2.4 stuff now
git-svn-id: http://svn.automattic.com/wordpress/trunk@6177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-29 10:56:53 +00:00
ryan
fbd6081f46 Spelling fix from zamoose. fixes #5095 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-28 17:37:16 +00:00
markjaquith
47955b3fae prepare() for wp-includes/ bookmark.php, canonical.php, comment.php, comment-template.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-27 07:34:15 +00:00
ryan
e87e2508f5 Gettext fix from nbachiyski. fixes #5086 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-26 23:23:14 +00:00
ryan
649cff7dc2 Fix typo in category widget class name. Props joostdevalk. fixes #5079 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-26 16:12:28 +00:00
ryan
65b2b51b63 Set TEST_COOKIE for SITECOOKIEPATH. see #5076
git-svn-id: http://svn.automattic.com/wordpress/trunk@6168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-25 23:28:02 +00:00
matt
15372a22b6 bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@6164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-25 00:34:43 +00:00
ryan
fd17fe449d Remove reference to importers and move the note about converting up to the Note section. fixes #5060
git-svn-id: http://svn.automattic.com/wordpress/trunk@6163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-24 02:39:49 +00:00
ryan
6486085cf4 STP importer fixes from momo360modena. fixes #5059
git-svn-id: http://svn.automattic.com/wordpress/trunk@6162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-24 01:57:55 +00:00
ryan
a48973211c Fix typo. fixes #5061
git-svn-id: http://svn.automattic.com/wordpress/trunk@6161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-24 01:48:36 +00:00
ryan
8d349aa85c Add some filtering. Props jhodgdon. fixes #3595
git-svn-id: http://svn.automattic.com/wordpress/trunk@6160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-23 19:25:15 +00:00
ryan
e76e370638 Fix term count padding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-23 00:35:59 +00:00
markjaquith
5f4c602776 Cast to array in upgrade foreach(). props arnee. fixes #5047
git-svn-id: http://svn.automattic.com/wordpress/trunk@6158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 23:14:38 +00:00
ryan
683db28b4c Term with slug that conflicts with existing term with different parent gets a new term entry with a unique slug. see #5034
git-svn-id: http://svn.automattic.com/wordpress/trunk@6157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 18:01:08 +00:00
ryan
add4250c0d Revert part of [5263] to fix downloading in Safari. fixes #5040
git-svn-id: http://svn.automattic.com/wordpress/trunk@6156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 16:50:35 +00:00
ryan
72e74add8d Don't reset parent when updating attachment. Props filosofo and michelwp. fixes #5010
git-svn-id: http://svn.automattic.com/wordpress/trunk@6155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 16:30:40 +00:00
markjaquith
e56c1c2097 Bookend moderation links properly with right square bracket. highest omg bbq? Still, nice catch, ozh. fixes #5035
git-svn-id: http://svn.automattic.com/wordpress/trunk@6154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 06:28:47 +00:00
markjaquith
0fb4233fdf Add tag_base to list of untrailingslashed options, and standardize the unslashing. Prevents /mytags//tagname/
git-svn-id: http://svn.automattic.com/wordpress/trunk@6153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 06:11:48 +00:00
markjaquith
c005340430 Fix PATH_INFO first page paging link. fixes #5039
git-svn-id: http://svn.automattic.com/wordpress/trunk@6152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 06:07:03 +00:00
markjaquith
d3d447d6e9 Core and plugin update checking: make sure fsockopen() is available and check file resources with is_resource() -- both to prevent feof() infinite loops. Props xknown. fixes #5037
git-svn-id: http://svn.automattic.com/wordpress/trunk@6151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 00:08:50 +00:00
ryan
48813443db Revert [5969]. It can break permalinks. see #4739
git-svn-id: http://svn.automattic.com/wordpress/trunk@6150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-21 19:36:12 +00:00
ryan
a366ee01ef Export and import of post tags. fixes #4682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-21 18:34:28 +00:00
ryan
81482db30b Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-21 15:51:00 +00:00
ryan
2794b34f4a Add some filtering. Props jhodgdon. fixes #5030
git-svn-id: http://svn.automattic.com/wordpress/trunk@6147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-21 15:04:13 +00:00
ryan
94349171ec Updated RTL CSS from mani_monaj. fixes #5025
git-svn-id: http://svn.automattic.com/wordpress/trunk@6146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 23:36:45 +00:00
markjaquith
5177c0e5c7 Pass the attempted redirect host as a second parameter in the allowed_redirect_hosts filter. props mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 21:53:42 +00:00
ryan
40b7e58b82 Always remove index.php from request before contructing page links. fixes #5000
git-svn-id: http://svn.automattic.com/wordpress/trunk@6144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 20:56:22 +00:00
markjaquith
3be5215e08 Remove trailing /index.php fixing from canonical.php ... Thanks chaoticmortalcom. fixes #5017
git-svn-id: http://svn.automattic.com/wordpress/trunk@6143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 20:25:43 +00:00
ryan
4a03a94051 Bail if post is empty. Props mdawaffe. fixes #5019
git-svn-id: http://svn.automattic.com/wordpress/trunk@6142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 18:25:14 +00:00
ryan
3542e01f19 Don't specialchars markup in term description. fixes #5021
git-svn-id: http://svn.automattic.com/wordpress/trunk@6141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 18:23:33 +00:00
markjaquith
315a28c4b5 Remove non-functioning and misleading "Privacy" label on install. fixes #5012
git-svn-id: http://svn.automattic.com/wordpress/trunk@6140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-19 21:45:23 +00:00