Commit Graph

3947 Commits

Author SHA1 Message Date
Ryan Boren 91a4f85ca8 Cast page_id to int before deciding if is_page. fixes #2769
git-svn-id: https://develop.svn.wordpress.org/trunk@4132 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 09:41:40 +00:00
Ryan Boren e0da7f0d1d Allow stylesheet only themes to provide functions.php. Props skeltoac. fixes #3048
git-svn-id: https://develop.svn.wordpress.org/trunk@4131 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 09:14:37 +00:00
Ryan Boren 578fcb99df Add cap checks around getting started links. Props Mark J. fixes #3074
git-svn-id: https://develop.svn.wordpress.org/trunk@4130 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 09:12:29 +00:00
Ryan Boren c905e6fef4 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: https://develop.svn.wordpress.org/trunk@4129 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 05:41:38 +00:00
Ryan Boren 54786c0cc5 Allow passing an associative array of query vars to avoid parse_str overhead.
git-svn-id: https://develop.svn.wordpress.org/trunk@4128 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 04:02:12 +00:00
Ryan Boren 0f6f0b20ae Feeds for singular object queries should be comment feeds.
git-svn-id: https://develop.svn.wordpress.org/trunk@4127 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 03:34:17 +00:00
Ryan Boren be534f0d46 Add is_singular() convenience function.
git-svn-id: https://develop.svn.wordpress.org/trunk@4126 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 03:33:39 +00:00
Ryan Boren c1582ab856 Capitalization fixes from foolswisdom and davidosier. fixes #3077
git-svn-id: https://develop.svn.wordpress.org/trunk@4125 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 01:47:01 +00:00
Ryan Boren 77321c1c65 style tweakage
git-svn-id: https://develop.svn.wordpress.org/trunk@4124 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 01:11:49 +00:00
Ryan Boren 4185956fab Keep the frag at the end. Props mdawaffe. fixes #3078
git-svn-id: https://develop.svn.wordpress.org/trunk@4123 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 01:02:45 +00:00
Ryan Boren 92f57633da Allow passing extra data back with errors.
git-svn-id: https://develop.svn.wordpress.org/trunk@4122 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-29 20:17:41 +00:00
Ryan Boren aece412f39 Alpha bumpage.
git-svn-id: https://develop.svn.wordpress.org/trunk@4121 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-28 23:15:52 +00:00
Ryan Boren c2e2e7e9ca Add page specific admin_head action. Add admin_print_scripts actions.
git-svn-id: https://develop.svn.wordpress.org/trunk@4120 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-28 23:08:48 +00:00
Ryan Boren 60cb6a952b Handle posts with an empty cat list. fixes #3072
git-svn-id: https://develop.svn.wordpress.org/trunk@4119 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-27 19:26:03 +00:00
Ryan Boren 52b7812018 Don't specialchar user description on save. fixes #3069
git-svn-id: https://develop.svn.wordpress.org/trunk@4118 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-25 17:47:19 +00:00
Ryan Boren de56075801 Don't save if both title and content are empty. fixes #2390
git-svn-id: https://develop.svn.wordpress.org/trunk@4117 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-25 00:27:15 +00:00
Ryan Boren 03bd697b27 Add single_cat_title filter. Props ryanscheuermann. fixes #2935
git-svn-id: https://develop.svn.wordpress.org/trunk@4116 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 23:50:24 +00:00
Ryan Boren 0a4046937d Blog public fix from Mark J. fixes #3023
git-svn-id: https://develop.svn.wordpress.org/trunk@4115 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 23:38:13 +00:00
Ryan Boren 04e6ae9d7b comments-rss2 fix from Mark J. fixes #3055
git-svn-id: https://develop.svn.wordpress.org/trunk@4114 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 23:32:47 +00:00
Ryan Boren 88cd96ff72 Allow use of global roles array instead of options db. Useful for multi-blog setups.
git-svn-id: https://develop.svn.wordpress.org/trunk@4113 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 23:23:36 +00:00
Ryan Boren 4a9ad00205 Make those chars feel special.
git-svn-id: https://develop.svn.wordpress.org/trunk@4112 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 22:33:16 +00:00
Ryan Boren 622a66dc05 Die before including the header.
git-svn-id: https://develop.svn.wordpress.org/trunk@4111 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-22 18:20:00 +00:00
Ryan Boren 22e5c7049f Add plugin page load hooks. Useful for queueing scripts for a particular plugin page.
git-svn-id: https://develop.svn.wordpress.org/trunk@4110 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-22 17:38:09 +00:00
Ryan Boren 33e6c8fbde cache_javascript_headers() from masquerade. fixes #3059 #2799
git-svn-id: https://develop.svn.wordpress.org/trunk@4109 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-22 17:31:53 +00:00
Ryan Boren 4f4f3595ac Code purtification from Mark J. fixes #3060
git-svn-id: https://develop.svn.wordpress.org/trunk@4108 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-22 09:24:31 +00:00
Ryan Boren 8dba300bf5 Use get_option instead of get_bloginfo to retrieve siteurl cause the two aren't the same for some mystical reason.
git-svn-id: https://develop.svn.wordpress.org/trunk@4107 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-22 05:57:28 +00:00
Ryan Boren fbfc1f6947 Don't page off the end. Props Mark J. fixes #3039
git-svn-id: https://develop.svn.wordpress.org/trunk@4106 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-18 08:36:11 +00:00
Ryan Boren af017d27c1 script loader fix from mdawaffe. fixes #2701
git-svn-id: https://develop.svn.wordpress.org/trunk@4105 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-18 05:23:41 +00:00
Ryan Boren a313da93d7 Update category counts to include children. Don't hide empty parent cats that have non-empty children. Props skeltoac.
git-svn-id: https://develop.svn.wordpress.org/trunk@4104 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-17 04:46:16 +00:00
Ryan Boren f2e7bbb410 Don't autosave if no changes. Props masquerade. fixes #3042
git-svn-id: https://develop.svn.wordpress.org/trunk@4103 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-16 07:28:24 +00:00
Ryan Boren 0a31b264ac Don't autosave if no changes. Props masquerade. fixes #3042
git-svn-id: https://develop.svn.wordpress.org/trunk@4102 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-16 06:56:35 +00:00
Ryan Boren 5c2a838d90 Autosave focus grab fix from masquerade. fixes #3040
git-svn-id: https://develop.svn.wordpress.org/trunk@4101 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-16 02:50:03 +00:00
Ryan Boren aeed0eca65 More fun with menus.
git-svn-id: https://develop.svn.wordpress.org/trunk@4100 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-15 22:13:36 +00:00
Ryan Boren 01bfb73c52 Kill this check for now.
git-svn-id: https://develop.svn.wordpress.org/trunk@4099 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-15 21:37:03 +00:00
Ryan Boren 1309112916 Update action after generating a new nonce to reduce race condition window.
git-svn-id: https://develop.svn.wordpress.org/trunk@4098 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-15 21:07:13 +00:00
Ryan Boren ab2645737a More menu fixes. #2257
git-svn-id: https://develop.svn.wordpress.org/trunk@4097 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-15 21:03:11 +00:00
Ryan Boren 07a4fa5c0b Preserve is_feed setting when handling a 404. Props skeltoac. fixes #3019
git-svn-id: https://develop.svn.wordpress.org/trunk@4096 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-15 05:03:14 +00:00
Ryan Boren 49abdc66f3 Validate backup and fragment files. Don't allow traversal.
git-svn-id: https://develop.svn.wordpress.org/trunk@4095 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-15 01:07:51 +00:00
Ryan Boren c45387d31b Add some spacing
git-svn-id: https://develop.svn.wordpress.org/trunk@4094 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-14 22:21:22 +00:00
Ryan Boren d143a5ac02 menu fixes. #2257 #2696
git-svn-id: https://develop.svn.wordpress.org/trunk@4093 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-14 21:24:43 +00:00
Ryan Boren 4213e51be1 Init last_result to an empty array. fixes #2913
git-svn-id: https://develop.svn.wordpress.org/trunk@4092 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 22:23:03 +00:00
Ryan Boren b86470f23b Fix proxy check regex. Props westi. fixes #3028
git-svn-id: https://develop.svn.wordpress.org/trunk@4091 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 22:19:28 +00:00
Ryan Boren 3b1aadedac Bump mce ver for script loader.
git-svn-id: https://develop.svn.wordpress.org/trunk@4090 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 22:11:30 +00:00
Ryan Boren e475a06ad3 Bump dbx ver for script loader.
git-svn-id: https://develop.svn.wordpress.org/trunk@4089 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 21:49:11 +00:00
Ryan Boren 8988c209e9 Fix autosave redirects
git-svn-id: https://develop.svn.wordpress.org/trunk@4088 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 19:13:00 +00:00
Ryan Boren 89c450981a autosave fix ups
git-svn-id: https://develop.svn.wordpress.org/trunk@4087 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 18:54:09 +00:00
Ryan Boren 5f241c40be autosave fix ups
git-svn-id: https://develop.svn.wordpress.org/trunk@4086 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 18:50:28 +00:00
Ryan Boren 3cbad655d5 wpTriggerSave for autosave. does not move cursor.
git-svn-id: https://develop.svn.wordpress.org/trunk@4085 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 18:19:32 +00:00
Ryan Boren 0106320536 autosave span from masquerade
git-svn-id: https://develop.svn.wordpress.org/trunk@4084 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 07:26:48 +00:00
Ryan Boren 076e269681 Validation fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@4083 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-11 06:34:14 +00:00