Commit Graph

3947 Commits

Author SHA1 Message Date
ryan
2df111aadf Cast page_id to int before deciding if is_page. fixes #2769
git-svn-id: http://svn.automattic.com/wordpress/trunk@4132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 09:41:40 +00:00
ryan
b55b6aa240 Allow stylesheet only themes to provide functions.php. Props skeltoac. fixes #3048
git-svn-id: http://svn.automattic.com/wordpress/trunk@4131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 09:14:37 +00:00
ryan
ef252310ae Add cap checks around getting started links. Props Mark J. fixes #3074
git-svn-id: http://svn.automattic.com/wordpress/trunk@4130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 09:12:29 +00:00
ryan
42fffa9296 Deprecate query_string. Add 'request' filter to filter the array of query vars. Pass around arrays instead of query strings. fixes #2777
git-svn-id: http://svn.automattic.com/wordpress/trunk@4129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 05:41:38 +00:00
ryan
51005b397d Allow passing an associative array of query vars to avoid parse_str overhead.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 04:02:12 +00:00
ryan
79e681baf5 Feeds for singular object queries should be comment feeds.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 03:34:17 +00:00
ryan
f5be1bb637 Add is_singular() convenience function.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 03:33:39 +00:00
ryan
f600dfacfa Capitalization fixes from foolswisdom and davidosier. fixes #3077
git-svn-id: http://svn.automattic.com/wordpress/trunk@4125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 01:47:01 +00:00
ryan
1c04e53dcd style tweakage
git-svn-id: http://svn.automattic.com/wordpress/trunk@4124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 01:11:49 +00:00
ryan
bad9c9f18d Keep the frag at the end. Props mdawaffe. fixes #3078
git-svn-id: http://svn.automattic.com/wordpress/trunk@4123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 01:02:45 +00:00
ryan
11e556e7e6 Allow passing extra data back with errors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-29 20:17:41 +00:00
ryan
eb78ba192c Alpha bumpage.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-28 23:15:52 +00:00
ryan
4f10239e93 Add page specific admin_head action. Add admin_print_scripts actions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-28 23:08:48 +00:00
ryan
8460a0750d Handle posts with an empty cat list. fixes #3072
git-svn-id: http://svn.automattic.com/wordpress/trunk@4119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-27 19:26:03 +00:00
ryan
39e27240a8 Don't specialchar user description on save. fixes #3069
git-svn-id: http://svn.automattic.com/wordpress/trunk@4118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-25 17:47:19 +00:00
ryan
ae61439266 Don't save if both title and content are empty. fixes #2390
git-svn-id: http://svn.automattic.com/wordpress/trunk@4117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-25 00:27:15 +00:00
ryan
e650a94fd0 Add single_cat_title filter. Props ryanscheuermann. fixes #2935
git-svn-id: http://svn.automattic.com/wordpress/trunk@4116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-24 23:50:24 +00:00
ryan
f1664e6dd0 Blog public fix from Mark J. fixes #3023
git-svn-id: http://svn.automattic.com/wordpress/trunk@4115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-24 23:38:13 +00:00
ryan
2362c86ead comments-rss2 fix from Mark J. fixes #3055
git-svn-id: http://svn.automattic.com/wordpress/trunk@4114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-24 23:32:47 +00:00
ryan
182bc141e2 Allow use of global roles array instead of options db. Useful for multi-blog setups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-24 23:23:36 +00:00
ryan
207d876c81 Make those chars feel special.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-24 22:33:16 +00:00
ryan
52d65dc101 Die before including the header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-22 18:20:00 +00:00
ryan
e31723d61e Add plugin page load hooks. Useful for queueing scripts for a particular plugin page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-22 17:38:09 +00:00
ryan
c8ef7e92d6 cache_javascript_headers() from masquerade. fixes #3059 #2799
git-svn-id: http://svn.automattic.com/wordpress/trunk@4109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-22 17:31:53 +00:00
ryan
424159c96d Code purtification from Mark J. fixes #3060
git-svn-id: http://svn.automattic.com/wordpress/trunk@4108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-22 09:24:31 +00:00
ryan
b8025e74a8 Use get_option instead of get_bloginfo to retrieve siteurl cause the two aren't the same for some mystical reason.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-22 05:57:28 +00:00
ryan
f605f4ffd1 Don't page off the end. Props Mark J. fixes #3039
git-svn-id: http://svn.automattic.com/wordpress/trunk@4106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-18 08:36:11 +00:00
ryan
7102d4dd99 script loader fix from mdawaffe. fixes #2701
git-svn-id: http://svn.automattic.com/wordpress/trunk@4105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-18 05:23:41 +00:00
ryan
f2ae26089d Update category counts to include children. Don't hide empty parent cats that have non-empty children. Props skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-17 04:46:16 +00:00
ryan
8bfa80dcf4 Don't autosave if no changes. Props masquerade. fixes #3042
git-svn-id: http://svn.automattic.com/wordpress/trunk@4103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-16 07:28:24 +00:00
ryan
1a9df1c2d5 Don't autosave if no changes. Props masquerade. fixes #3042
git-svn-id: http://svn.automattic.com/wordpress/trunk@4102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-16 06:56:35 +00:00
ryan
0bc3bd75b9 Autosave focus grab fix from masquerade. fixes #3040
git-svn-id: http://svn.automattic.com/wordpress/trunk@4101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-16 02:50:03 +00:00
ryan
44b3783d36 More fun with menus.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-15 22:13:36 +00:00
ryan
b929433507 Kill this check for now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-15 21:37:03 +00:00
ryan
db41417539 Update action after generating a new nonce to reduce race condition window.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-15 21:07:13 +00:00
ryan
0ddaaf590f More menu fixes. #2257
git-svn-id: http://svn.automattic.com/wordpress/trunk@4097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-15 21:03:11 +00:00
ryan
1d0af8cbc2 Preserve is_feed setting when handling a 404. Props skeltoac. fixes #3019
git-svn-id: http://svn.automattic.com/wordpress/trunk@4096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-15 05:03:14 +00:00
ryan
6ba1e4dd56 Validate backup and fragment files. Don't allow traversal.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-15 01:07:51 +00:00
ryan
e36831ae8a Add some spacing
git-svn-id: http://svn.automattic.com/wordpress/trunk@4094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-14 22:21:22 +00:00
ryan
3b33ed195d menu fixes. #2257 #2696
git-svn-id: http://svn.automattic.com/wordpress/trunk@4093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-14 21:24:43 +00:00
ryan
756caab182 Init last_result to an empty array. fixes #2913
git-svn-id: http://svn.automattic.com/wordpress/trunk@4092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 22:23:03 +00:00
ryan
4c1ec6dc5f Fix proxy check regex. Props westi. fixes #3028
git-svn-id: http://svn.automattic.com/wordpress/trunk@4091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 22:19:28 +00:00
ryan
3ee11a9eb1 Bump mce ver for script loader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 22:11:30 +00:00
ryan
f9e9832e36 Bump dbx ver for script loader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 21:49:11 +00:00
ryan
a458715afa Fix autosave redirects
git-svn-id: http://svn.automattic.com/wordpress/trunk@4088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 19:13:00 +00:00
ryan
83665b2bf5 autosave fix ups
git-svn-id: http://svn.automattic.com/wordpress/trunk@4087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 18:54:09 +00:00
ryan
7ac67243e8 autosave fix ups
git-svn-id: http://svn.automattic.com/wordpress/trunk@4086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 18:50:28 +00:00
ryan
d52b9b2d2a wpTriggerSave for autosave. does not move cursor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 18:19:32 +00:00
ryan
c4a4c6c371 autosave span from masquerade
git-svn-id: http://svn.automattic.com/wordpress/trunk@4084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 07:26:48 +00:00
ryan
6b095ddfd9 Validation fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@4083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-11 06:34:14 +00:00