Commit Graph

103 Commits

Author SHA1 Message Date
matt
13f492ab75 Massive user_level fix. We were still using the user_level field in wp_users in some places, where we should just use the table prefixed usermeta value.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-09 01:27:46 +00:00
matt
233afca132 Drafts clean up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-08 22:59:15 +00:00
ryan
91efba11ad Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-05 20:47:22 +00:00
ryan
a79476f1e7 wp_delete_user()
git-svn-id: http://svn.automattic.com/wordpress/trunk@2698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-04 22:03:42 +00:00
ryan
cbce881c2b register_activation_hook() and register_deactivation_hook(). Let's try these on.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-04 21:53:26 +00:00
ryan
740381afdf wp_insert_category(), wp_update_category(), wp_delete_category().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 19:26:51 +00:00
ryan
8b55719431 Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-26 19:55:12 +00:00
ryan
16efd6a7f3 Return post_ID from write_post() and pass it along when doing a save and continue redirect. Props: CŽedric
git-svn-id: http://svn.automattic.com/wordpress/trunk@2654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 23:44:22 +00:00
ryan
4cb88cef6e Page editing form cleaning and repair.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 03:07:16 +00:00
ryan
0b7373e0cc Add get_post_to_edit() and get_default_post_to_edit(). More post.php cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 02:51:48 +00:00
ryan
477f109d97 Consolidate post update code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 01:33:38 +00:00
ryan
5cfc1a248b Consolidate post creation code into wp_insert_post().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-18 19:08:38 +00:00
matt
4a25d166b4 New schmancy posting interface
git-svn-id: http://svn.automattic.com/wordpress/trunk@2639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-14 07:31:36 +00:00
matt
4b538e243c Addding check_admin_referer hook
git-svn-id: http://svn.automattic.com/wordpress/trunk@2595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-09 18:26:53 +00:00
ryan
9d12ebaed3 gettext check_admin_referer() error message.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-21 06:49:17 +00:00
matt
0c3b3e5347 Firefox fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 02:16:57 +00:00
ryan
9697579316 Gracefully handle the lack of themes in get_page_templates(). http://mosquito.wordpress.org/view.php?id=1153 Props: donncha
git-svn-id: http://svn.automattic.com/wordpress/trunk@2474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-23 01:14:05 +00:00
ryan
c21410812f Mark strings for translation. http://mosquito.wordpress.org/view.php?id=1033 Hat tip: slebog
git-svn-id: http://svn.automattic.com/wordpress/trunk@2432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-11 03:41:04 +00:00
ryan
379367cfbe Fix timestamp editing. http://mosquito.wordpress.org/view.php?id=1022
git-svn-id: http://svn.automattic.com/wordpress/trunk@2429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-10 09:50:26 +00:00
matt
88dce7c55b Pre-emptive link to support
git-svn-id: http://svn.automattic.com/wordpress/trunk@2405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-04 19:34:21 +00:00
ryan
0e74c2524b Add callback API to add_menu_page(). Fix some menu bugs. http://mosquito.wordpress.org/view.php?id=975 Reviewed by Owen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-25 16:11:27 +00:00
saxmatt
d720a8ef0a Two small tweaks before release
git-svn-id: http://svn.automattic.com/wordpress/trunk@2346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-15 03:32:43 +00:00
saxmatt
f4dafc015f http://mosquito.wordpress.org/view.php?id=772
git-svn-id: http://svn.automattic.com/wordpress/trunk@2328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 07:04:16 +00:00
saxmatt
df3a83a5fb Friendlier file names in theme editor - http://mosquito.wordpress.org/view.php?id=598
git-svn-id: http://svn.automattic.com/wordpress/trunk@2319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:24:25 +00:00
saxmatt
b698cac8ee Show updated time, not post time. - http://mosquito.wordpress.org/view.php?id=682
git-svn-id: http://svn.automattic.com/wordpress/trunk@2291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 09:32:00 +00:00
rboren
c4bc224fa9 s///. http://mosquito.wordpress.org/view.php?id=832
git-svn-id: http://svn.automattic.com/wordpress/trunk@2235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 02:06:57 +00:00
rboren
3ec8c50289 Plugin page hooks. Props: morganiq. http://mosquito.wordpress.org/view.php?id=785 http://mosquito.wordpress.org/view.php?id=797
git-svn-id: http://svn.automattic.com/wordpress/trunk@2234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 01:15:06 +00:00
rboren
d883df1424 get_home_path() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 06:59:44 +00:00
rboren
48d334e1c0 Get the title for pluggable top level admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-30 07:34:03 +00:00
saxmatt
326ac00ee6 Higher quality thumbnails - http://mosquito.wordpress.org/view.php?id=736
git-svn-id: http://svn.automattic.com/wordpress/trunk@2125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 06:05:44 +00:00
rboren
fdb5bdb740 Include legacy template files in the common file list only if they exist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-19 15:23:38 +00:00
saxmatt
373276ee25 Sub-page hierarchy, show pages on default menu. TODO: Ping Michael about top-level pages in kubrick menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-01 23:05:07 +00:00
rboren
5c92876ab2 Do not allow .. anywhere in the filename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 18:05:46 +00:00
rboren
888021c22a Leave htaccess alone if permalinks are not turned on. Bug 597.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-27 22:30:52 +00:00
saxmatt
637cfdc7a4 Cleaning up blogfilename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-24 01:34:47 +00:00
rboren
0b79658085 Use SCRIPT_FILENAME instead of PATH_TRANSLATED since PATH_TRANSLATED is not always set. Consolidate home path logic into get_home_path().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-23 00:53:56 +00:00
saxmatt
ecdec8f8e3 Proper alternation of category display background.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-14 09:24:39 +00:00
saxmatt
d53401fbd5 Just a little code cleanup and case normalization. http://mosquito.wordpress.org/view.php?id=360
git-svn-id: http://svn.automattic.com/wordpress/trunk@1953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-14 09:22:21 +00:00
saxmatt
c3e1d51c20 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-12 20:41:19 +00:00
saxmatt
de360e84e1 More HTML error fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-12 06:31:01 +00:00
saxmatt
5ba63ff4d5 Support for hidden custom fields (custom fields that start with _)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 04:12:20 +00:00
saxmatt
b6c13ceee4 No reason not to have default for current category argument.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 00:44:05 +00:00
rboren
fb1e3de410 Rationalize menu access levels. Submenus should have an access level greater than or equal to its parent. Require level 8 for all file editing pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 22:32:49 +00:00
rboren
d849a73f55 Mark strings for translation. Bug 514. Patch by nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-04 06:53:10 +00:00
rboren
497b71996a Submenu construction improvement.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-04 05:02:07 +00:00
rboren
b1a4a04126 Move rewrite and permalink functions into WP_Rewrite class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-03 02:38:11 +00:00
rboren
bd4e71a7ba Allow plugins to be loaded from subdirs of wp-content/plugins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 00:33:04 +00:00
rboren
a4c058f2c8 get_plugin_data() and get_plugins()
git-svn-id: http://svn.automattic.com/wordpress/trunk@1887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-26 02:29:45 +00:00
rboren
8b9b4d71da add_menu_page(), add_submenu_page(), add_management_page().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-26 01:50:37 +00:00
rboren
477e3344b8 Do not allow a page to be its own parent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-24 00:12:46 +00:00