Commit Graph

1173 Commits

Author SHA1 Message Date
Ryan Boren
007caf7c3c Only unset query vars when serving admin pages. fixes #1979
git-svn-id: https://develop.svn.wordpress.org/trunk@3233 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 06:44:44 +00:00
Ryan Boren
0577003eb9 If PHP_SELF is empty, use REQUEST_URI when determining pagenow.
git-svn-id: https://develop.svn.wordpress.org/trunk@3231 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 02:33:25 +00:00
Matt Mullenweg
47bc943716 So close I can taste it.
git-svn-id: https://develop.svn.wordpress.org/trunk@3230 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 02:01:48 +00:00
Ryan Boren
5e34745dc9 Use the full page hierarchy when matching page URIs. Props David House. fixes #1964
git-svn-id: https://develop.svn.wordpress.org/trunk@3229 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 01:43:32 +00:00
Ryan Boren
6f3cb17751 Don't try to do permalinks for admin pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@3226 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 23:30:42 +00:00
Matt Mullenweg
4ae18b8c15 Don't do bad xhtml fixing by default - fixes #1975
git-svn-id: https://develop.svn.wordpress.org/trunk@3223 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 23:05:12 +00:00
Matt Mullenweg
83bca28d72 No need to do those big fancy joins.
git-svn-id: https://develop.svn.wordpress.org/trunk@3220 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 09:44:56 +00:00
Matt Mullenweg
0d88ea9ef8 Another query bites the dust!
git-svn-id: https://develop.svn.wordpress.org/trunk@3219 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 09:37:17 +00:00
Matt Mullenweg
062836b194 Don't create empty umeta values.
git-svn-id: https://develop.svn.wordpress.org/trunk@3218 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 08:48:18 +00:00
Matt Mullenweg
dd9bb0699c Return if not an array, fixes #1940
git-svn-id: https://develop.svn.wordpress.org/trunk@3217 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 06:38:12 +00:00
Matt Mullenweg
99fcdc938f Don't show 404s for empty cats, fixes #1969
git-svn-id: https://develop.svn.wordpress.org/trunk@3215 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 03:15:48 +00:00
Matt Mullenweg
ec77539416 Better email from, fixes #1532
git-svn-id: https://develop.svn.wordpress.org/trunk@3214 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-25 22:57:26 +00:00
Ryan Boren
7226d2f2b3 Strip home path from path info. This prevents a path info value of '/wp/index.php' from being considered as a permalink request. fixes #1938
git-svn-id: https://develop.svn.wordpress.org/trunk@3206 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 22:38:25 +00:00
Ryan Boren
2ebfe35d2d s/user_description/description/. Props tinyau. fixes #1943
git-svn-id: https://develop.svn.wordpress.org/trunk@3205 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 18:01:32 +00:00
Ryan Boren
81fed95acf Add get_attached_file().
git-svn-id: https://develop.svn.wordpress.org/trunk@3203 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 10:00:07 +00:00
Matt Mullenweg
a0556647af Don't show 0 as a month.
git-svn-id: https://develop.svn.wordpress.org/trunk@3202 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 07:57:58 +00:00
Ryan Boren
2bab8b487e Allow wp_insert/update_post to handle classes in addition to associative arrays. This should avoid the 'Cannot use object of type stdClass as array' warnings.
git-svn-id: https://develop.svn.wordpress.org/trunk@3200 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 01:35:08 +00:00
Ryan Boren
289ef9a954 Add some defaults to avoid MySQL warnings.
git-svn-id: https://develop.svn.wordpress.org/trunk@3199 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 00:38:56 +00:00
Ryan Boren
3b4d47257d Add glob() compat for php < 4.3.0
git-svn-id: https://develop.svn.wordpress.org/trunk@3198 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 23:39:56 +00:00
Ryan Boren
c29812748d Store some values in the class for debug purposes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3197 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 21:07:48 +00:00
Matt Mullenweg
fd081cb70e Bumpa version
git-svn-id: https://develop.svn.wordpress.org/trunk@3195 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 09:56:15 +00:00
Ryan Boren
07c03bb2f3 Silence mkdir().
git-svn-id: https://develop.svn.wordpress.org/trunk@3194 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 07:45:07 +00:00
Ryan Boren
e53912a4dd Instead of incrementing the current comment count, recount all comments to make sure we have a good count. Props Mark Jaquith. fixes #1920
git-svn-id: https://develop.svn.wordpress.org/trunk@3193 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 03:45:40 +00:00
Ryan Boren
742e46274f Upgrade to Snoopy 1.2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@3191 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 01:14:26 +00:00
Ryan Boren
43002e6cc1 Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: https://develop.svn.wordpress.org/trunk@3190 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 00:36:36 +00:00
Ryan Boren
b41c0e1360 Therapeutic db version bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@3183 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 09:13:20 +00:00
Ryan Boren
94804af59a Run attachment filter for themes that don't have single.php or page.php. Props podz. fixes #1924
git-svn-id: https://develop.svn.wordpress.org/trunk@3174 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-21 02:08:59 +00:00
Ryan Boren
4327bb7a1e TinyMCE publish fix from skeltoac. fixes #1921
git-svn-id: https://develop.svn.wordpress.org/trunk@3172 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-20 07:34:47 +00:00
Ryan Boren
3b1677473a Silence fopen warnings and check return.
git-svn-id: https://develop.svn.wordpress.org/trunk@3171 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 22:52:57 +00:00
Ryan Boren
f086287b81 Suppress fopen warnings and check return.
git-svn-id: https://develop.svn.wordpress.org/trunk@3170 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 20:12:26 +00:00
Ryan Boren
d9d9fedb7a get_post_mime_type() from skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@3169 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 20:08:21 +00:00
Ryan Boren
38192bfb4f Remove extra file.
git-svn-id: https://develop.svn.wordpress.org/trunk@3168 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:41:54 +00:00
Ryan Boren
5fa9e518ee Add missing file.
git-svn-id: https://develop.svn.wordpress.org/trunk@3167 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:41:21 +00:00
Ryan Boren
4959c3fefa Relocate help icon to the correct place.
git-svn-id: https://develop.svn.wordpress.org/trunk@3166 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:39:09 +00:00
Ryan Boren
c48eaea2fd Update help icon.
git-svn-id: https://develop.svn.wordpress.org/trunk@3165 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:28:48 +00:00
Ryan Boren
a1ef8e762c TinyMCE help. fixes #1908
git-svn-id: https://develop.svn.wordpress.org/trunk@3163 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:15:11 +00:00
Ryan Boren
1549abf703 Wrong PCRE flag break TinyMCE on lower PHP versions. fixes #1913
git-svn-id: https://develop.svn.wordpress.org/trunk@3162 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 19:11:03 +00:00
Matt Mullenweg
64d7f37d3a Dat da-da duuuummmmmmmm
git-svn-id: https://develop.svn.wordpress.org/trunk@3160 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-19 00:19:43 +00:00
Ryan Boren
97eefbc202 Don't texturize for the rich editor. Props skeltoac. fixes #1909
git-svn-id: https://develop.svn.wordpress.org/trunk@3156 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 23:27:39 +00:00
Ryan Boren
94a4853f02 Autosave warning fix. fixes #1910
git-svn-id: https://develop.svn.wordpress.org/trunk@3153 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 22:55:39 +00:00
Ryan Boren
7a90a61c9d Attachment cleanups from skeltoac. fixes #1870
git-svn-id: https://develop.svn.wordpress.org/trunk@3145 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 09:25:47 +00:00
Ryan Boren
69f0e94125 Remove dead code.
git-svn-id: https://develop.svn.wordpress.org/trunk@3143 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 02:20:19 +00:00
Ryan Boren
5db06a0f98 Don't return undefined variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@3142 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-18 02:15:08 +00:00
Ryan Boren
4b3f2a3cb4 Filter on the_content_rss. Props Kafkaesqui. fixes #1685
git-svn-id: https://develop.svn.wordpress.org/trunk@3140 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 23:17:06 +00:00
Ryan Boren
d13f35cdec Don't stripslashes() in plugin_basename() since this breaks established expectation of being able to pass a non-escaped FILE. Instead, stripslashes further up the stack. fixes #1866
git-svn-id: https://develop.svn.wordpress.org/trunk@3139 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 23:01:28 +00:00
Ryan Boren
c6c21c0d26 Don't loop over empty options. fixes #1900
git-svn-id: https://develop.svn.wordpress.org/trunk@3138 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 22:46:18 +00:00
Ryan Boren
751c08fd49 Tidy up get_userdatabylogin().
git-svn-id: https://develop.svn.wordpress.org/trunk@3137 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 18:15:59 +00:00
Ryan Boren
15513318ba Big tiny fixes from skeltoac. fixes #1897
git-svn-id: https://develop.svn.wordpress.org/trunk@3136 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 17:47:29 +00:00
Ryan Boren
bd536befa8 Don't bother with sems.
git-svn-id: https://develop.svn.wordpress.org/trunk@3131 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 09:30:14 +00:00
Ryan Boren
80bc0af577 Add posts_groupby and posts_request filters. fixes #1479
git-svn-id: https://develop.svn.wordpress.org/trunk@3130 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 09:10:18 +00:00