Commit Graph

317 Commits

Author SHA1 Message Date
ryan 843a9afbfc i18n fixes from nbachiyski. #2006
git-svn-id: http://svn.automattic.com/wordpress/trunk@3262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 22:37:02 +00:00
ryan bfcc6d9927 Close iframe properly. Props ringmaster. fixes #1932
git-svn-id: http://svn.automattic.com/wordpress/trunk@3188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 18:30:46 +00:00
ryan 8272052631 Tab highlight fix from skeltoac. fixes #1619
git-svn-id: http://svn.automattic.com/wordpress/trunk@3164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:20:33 +00:00
ryan c9685b895a Trailing slashes. Propers to Mark Jaquith. fixes #1893
git-svn-id: http://svn.automattic.com/wordpress/trunk@3134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 10:10:10 +00:00
ryan f048de8695 Bookmarklet script updates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 09:44:41 +00:00
ryan f34d914107 New bookmarklet action.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 03:26:24 +00:00
ryan faa8397c00 Put the preview anchors on the h2. Props: markjaquith fixes #1765
git-svn-id: http://svn.automattic.com/wordpress/trunk@2973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-29 01:52:56 +00:00
ryan feb0b6d562 Post preview, now with extra spiff, from Mark Jaquith. fixes #1701
git-svn-id: http://svn.automattic.com/wordpress/trunk@2906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-23 00:44:26 +00:00
ryan 54d761eee0 Fix page edit redirect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-08 20:38:30 +00:00
matt 65546ba7a5 Draw more attention to the messages, which now blend in a little with the header. TODO: Put all messages in an array, abstract out HTML
git-svn-id: http://svn.automattic.com/wordpress/trunk@2762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-08 01:13:22 +00:00
matt a7b8ae2f17 Tweaks and catchups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-07 08:58:10 +00:00
ryan 63073bc4fe Fix draft list and publish button. fixes #1514
git-svn-id: http://svn.automattic.com/wordpress/trunk@2723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 21:08:47 +00:00
ryan 02523f59d3 Migrate to caps.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-13 22:26:26 +00:00
ryan a6ade4a767 Role/capability system. Round one. Props: Owen Winkler
git-svn-id: http://svn.automattic.com/wordpress/trunk@2703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-11 22:39:50 +00:00
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
matt e2d9a4c765 Ugly escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@2692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 17:42:11 +00:00
ryan 5edea3a5cd Fix ID in confirmdeletecomment.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 17:34:55 +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 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 32cb17c3dd http://mosquito.wordpress.org/view.php?id=1347 - Hat tip: Skippy the Salacious
git-svn-id: http://svn.automattic.com/wordpress/trunk@2604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 21:45:51 +00:00
ryan 75af9cc6b6 Correctly set comment and ping status when publishing from advanced edit page. http://mosquito.wordpress.org/view.php?id=877 Props: MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-24 04:19:19 +00:00
matt c377504cd3 More sanitization cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 04:06:37 +00:00
matt c7bd7fe40b Initial auto-save checkin code from DarkCryst. No bug reports on it yet! Several known issues, including deleting cookies, moving the restore button, and other behavior probs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-16 16:31:38 +00:00
ryan 92805e971f Make get_postdata() use get_post(). Label get_postdata() as deprecated. Remove the one remaining call to get_postdata().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-09 17:25:47 +00:00
ryan 8007e707c8 Don't set auto-set post slug until published. http://mosquito.wordpress.org/view.php?id=1073 Props: coffee2code
git-svn-id: http://svn.automattic.com/wordpress/trunk@2496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 19:24:37 +00:00
ryan 0d88aac206 i18n fix. http://mosquito.wordpress.org/view.php?id=1136 Props: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-22 00:17:55 +00:00
ryan ab0395cd3c Level 1 users cannot edit or delete published posts. http://mosquito.wordpress.org/view.php?id=1004
git-svn-id: http://svn.automattic.com/wordpress/trunk@2452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-17 03:38:28 +00:00
ryan c81c012981 Don't let users who cannot publish edit published posts, even their own. Make consistent use of user_can_create_post(). http://mosquito.wordpress.org/view.php?id=1004 Props: MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-14 00:48:11 +00:00
ryan 1996a5986f Don't make post slug sticky until the post is published. http://mosquito.wordpress.org/view.php?id=531
git-svn-id: http://svn.automattic.com/wordpress/trunk@2426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-10 03:01:45 +00:00
ryan b9433193df Fix edit page menu highlighting. http://mosquito.wordpress.org/view.php?id=799 Hat tip: mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@2401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-02 16:30:00 +00:00
ryan 894c4cc880 Localize strings. http://mosquito.wordpress.org/view.php?id=909 Props: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-25 00:20:48 +00:00
saxmatt f8efc5c837 Redirect to the right place - http://mosquito.wordpress.org/view.php?id=510
git-svn-id: http://svn.automattic.com/wordpress/trunk@2333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 09:46:08 +00:00
saxmatt a622906bd5 Don't let there be duplicate post_names
git-svn-id: http://svn.automattic.com/wordpress/trunk@2323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:51:14 +00:00
saxmatt ce7add2275 More presave filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:05:19 +00:00
saxmatt c8c2d1ef89 When in advanced view it means the boxes are unchecked
git-svn-id: http://svn.automattic.com/wordpress/trunk@2290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 09:25:54 +00:00
saxmatt 553e41cf73 Enclosure cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 08:58:10 +00:00
saxmatt 20a12ca306 Update rewrite rules on delete - http://wordpress.org/support/topic.php?id=22562
git-svn-id: http://svn.automattic.com/wordpress/trunk@2219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-05 05:32:36 +00:00
michelvaldrighi 2774142c5a Fix for bug #559, capitalisation issue
git-svn-id: http://svn.automattic.com/wordpress/trunk@2194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 11:03:45 +00:00
rboren e9d1241d26 Remove support for 'all' queries and for poststart and postend.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 01:49:51 +00:00
saxmatt c4d8b5c8b4 Fix for assigning authors - http://mosquito.wordpress.org/view.php?id=759
git-svn-id: http://svn.automattic.com/wordpress/trunk@2172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 10:32:28 +00:00
saxmatt f95c9db9b7 Moderation confirmation from Ryan, some other template and comment editing improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 04:22:01 +00:00
saxmatt 36f89f11c9 Fix for menu_order - http://mosquito.wordpress.org/view.php?id=740
git-svn-id: http://svn.automattic.com/wordpress/trunk@2122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 05:36:20 +00:00
rboren bf06e2f857 If post title is not provided, we still need to have a sanitized name for use in permalinks. Use the post id. Bug 717.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-20 05:18:55 +00:00
saxmatt 4015316834 http://mosquito.wordpress.org/view.php?id=521
git-svn-id: http://svn.automattic.com/wordpress/trunk@2062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 01:11:51 +00:00
saxmatt 99df7e3a03 Cleaning up filters and format-to-post
git-svn-id: http://svn.automattic.com/wordpress/trunk@2059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 22:51:44 +00:00
saxmatt 6e71a37427 Show feedback that the post was saved.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 09:29:04 +00:00
saxmatt 064976d3e0 Expose menu_order.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-02 00:09:05 +00:00
saxmatt 7b3972f45e http://mosquito.wordpress.org/view.php?id=568
git-svn-id: http://svn.automattic.com/wordpress/trunk@1981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 08:17:07 +00:00
saxmatt 50346fe5b0 HTML fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-15 23:09:46 +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
rboren a2b6757246 Remove call to undefined function clear_smarty_cache(). Bug 424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 00:23:02 +00:00
rboren e9cd4f12cc Fix post deletion. Update wp_delete_post() and call from post.php. Bug 472.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 04:46:54 +00:00
rboren c84728b1f3 Preserve author ID when editing pages. Bug 480. Hat tip: adsworth
git-svn-id: http://svn.automattic.com/wordpress/trunk@1873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-21 21:28:18 +00:00
saxmatt d1ddb156ec Allow users 9+ to post as other users, minor advanced post reorg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 19:40:36 +00:00
saxmatt 1c1c71b436 Improvements to page handling. Move form to own page, put under "Write", ambiguiate language, and fix redirect.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-16 19:29:51 +00:00
michelvaldrighi b3547b3d8c leave my textarea opened, kthx
git-svn-id: http://svn.automattic.com/wordpress/trunk@1839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-29 15:29:36 +00:00
donncha 6d4a7e7228 Indented file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-22 14:41:01 +00:00
emc3 757a8a8396 Fix header error when saving drafts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-20 21:27:40 +00:00
rboren 04786f267d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 03:03:06 +00:00
michelvaldrighi 33203610c8 fix for bug #328: better/sane way to get before using it as a fallback for post_name
git-svn-id: http://svn.automattic.com/wordpress/trunk@1813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 15:58:06 +00:00
donncha 9f62c48cf9 Enclosure support moved to functions.php - it now scans the content
and encloses file of mime type "video", "audio" and "image".
Fixed a bug in upgrade.php - extra character at the start of file.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 12:09:20 +00:00
michelvaldrighi 595ac150eb removed call time pass by reference in enclosures support
git-svn-id: http://svn.automattic.com/wordpress/trunk@1806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-16 10:18:36 +00:00
michelvaldrighi a0a2e1f39d replaced stuff with user_can_*() stuff
git-svn-id: http://svn.automattic.com/wordpress/trunk@1805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-15 16:21:32 +00:00
donncha f9823fb53c Seperate enclosure URLs by 1 space, not 3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 14:22:40 +00:00
donncha c3d0099bfb Fix for fsockopen to stop warnings about "Call-time pass-by-reference".
git-svn-id: http://svn.automattic.com/wordpress/trunk@1797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 07:48:15 +00:00
saxmatt 9d7cee76d2 Forgot to uncomment debug line
git-svn-id: http://svn.automattic.com/wordpress/trunk@1796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 07:34:55 +00:00
saxmatt 40a8e6885b Trackback and pingback cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 07:26:41 +00:00
saxmatt 5b7e0784b2 Some code cleanup. Also double email fix care of Mark Jaquith.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 05:00:51 +00:00
rboren 6842c8a917 Use == instead of =
git-svn-id: http://svn.automattic.com/wordpress/trunk@1787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 17:54:54 +00:00
donncha dad5defb99 Added enclosure support.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 15:52:29 +00:00
saxmatt 64e27492d1 Some additional API hooks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 22:13:40 +00:00
saxmatt f285ca5c55 Move balanceTags into filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 22:07:09 +00:00
rboren 543714fbab Page templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 05:11:11 +00:00
rboren 96a0b41202 Page/subpage URIs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 02:18:37 +00:00
saxmatt c1f391ae7e Better redirect cleaning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 16:22:31 +00:00
saxmatt c59a8a8119 Changes to how we do redirects.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 08:35:22 +00:00
saxmatt 2d4dd7e6fb Pages update and tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 08:27:13 +00:00
rboren 3ec0bc86c0 Do not sanitize an empty title.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 05:38:47 +00:00
rboren 120f11f4ed Do not sanitize an empty title.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 05:36:18 +00:00
saxmatt e8f22c65a2 Axing of geo stuff, major cleanups on permalink options, style tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 15:09:39 +00:00
saxmatt fc0583beab Initial functionality so level 1 users may be allowed to publish or just post drafts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-14 12:41:09 +00:00
rboren 5d9dc8f231 Save meta info to DB before doing the publish_post action.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-14 06:54:09 +00:00
rboren d392728255 Honor default category in post forms. Bug 182.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 06:31:19 +00:00
saxmatt ed34ca04d8 Set GUID when posting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 02:03:51 +00:00
saxmatt c9136856b5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 00:24:28 +00:00
saxmatt 37aedcd902 Case typo in delete_post API hook. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000228
git-svn-id: http://svn.automattic.com/wordpress/trunk@1572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-28 08:54:44 +00:00
saxmatt 1c01cf7dcf Bookmarklet escaping fix from Alex
git-svn-id: http://svn.automattic.com/wordpress/trunk@1553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-23 08:29:14 +00:00
rboren ea16450f63 Static pages. Take 1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-10 05:35:59 +00:00
rboren b2fe32b18d In sanitize_title(), strip_tags() before sanitizing, not after. In post.php, if post name is empty, pass the post title to the sanitizer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-06 01:28:51 +00:00
saxmatt 6c5157a526 Cleaning out some errors and fixing some XHTML 1.1 problems.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-01 08:04:39 +00:00
rboren d45cb4460a Delete postmeta when deleting a post. Bug 0000080.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-28 16:08:03 +00:00
rboren c1084e521a Bug 0000163. Confirm comment deletion. Courtesy of BrianMeidell and Kitten.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-28 04:01:45 +00:00
rboren 8633ffdba4 If the sanitized title is empty, fallback to the post ID for the nicename. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000116
git-svn-id: http://svn.automattic.com/wordpress/trunk@1481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-24 03:22:49 +00:00
jverber 83844c9b8b More special chars encoding fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-30 02:02:49 +00:00
jverber ac387706d0 Fixed bug #0000047: Now a user will be redirected to prev. location after editing a post. Also fixed line breaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-14 20:09:46 +00:00
rboren 25bdc0791c Mark some strings for translation and improve string consistency. From Albert. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000024
git-svn-id: http://svn.automattic.com/wordpress/trunk@1420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-13 16:14:58 +00:00
jverber e42967386c Fixed invalid XHTML in a number of admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 18:23:12 +00:00
rboren 692627e424 Get our slashes straight.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 08:02:40 +00:00
rboren e7cf38f1e4 Get edited comment content through $_POST.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 08:28:38 +00:00
rboren 0649831ca7 Remove unneeded $postquery lvalue. From Kitten.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 03:29:59 +00:00
rboren 323feecf52 Remove unnecessary call to generic_ping(). The publish_post action will take care of it. Props to hades. http://wordpress.org/support/4/6876
git-svn-id: http://svn.automattic.com/wordpress/trunk@1386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-04 02:49:40 +00:00
saxmatt 25ae03ee65 Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 08:22:18 +00:00
rboren 94436bd401 Mark some overlooked strings for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-23 17:24:38 +00:00
saxmatt 53fca4394c Post slug wasn't being set if manually set in advanced interface.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-19 22:43:15 +00:00
michelvaldrighi cc35b0c6bd using check_admin_referer for deletions
git-svn-id: http://svn.automattic.com/wordpress/trunk@1298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-17 19:44:53 +00:00
saxmatt 223c4628ce Some fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 08:38:34 +00:00
saxmatt 890a74e755 GMT fix from Scott Merrill.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-12 07:58:01 +00:00
saxmatt 9b8b403535 Possible fix to pingback problem. Parse error in blog-header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-12 07:55:37 +00:00
saxmatt 3e2b2f37b2 Some tricks that in some cases speed up perceived posting time.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-10 08:33:03 +00:00
saxmatt d8ab98d7b8 Maybe some pinging fixes?
git-svn-id: http://svn.automattic.com/wordpress/trunk@1256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-10 08:13:42 +00:00
saxmatt ba407ff5b3 E_ALL fixes and cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-07 23:56:33 +00:00
saxmatt a23fd4c52f Some fixes for E_ALL.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-07 21:05:02 +00:00
emc3 178f656465 Removed useless date() call.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-03 21:45:34 +00:00
saxmatt 9eff118f7c Fixes for post screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-30 08:56:49 +00:00
saxmatt e9e2ba1ee1 Cosmetic fixes from forums.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 19:49:27 +00:00
saxmatt 95a1e1d28f New custom field functionality.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 04:49:16 +00:00
saxmatt 80121a74d2 Fixes from forum thread: http://wordpress.org/support/6/4615.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-27 13:24:47 +00:00
rboren 5a7df4bc27 Mark strings for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 00:16:27 +00:00
saxmatt 0fc3d11f7c Added new template function, the_permalink(). echoes get_permalink. We are now consistent in the templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-21 04:12:55 +00:00
saxmatt 10c6b7ea9c Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: http://svn.automattic.com/wordpress/trunk@1108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 22:56:47 +00:00
rboren af562386ed Mark strings for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 04:15:18 +00:00
saxmatt ce32eb01ba Remove some calls to the old ping functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-18 19:10:16 +00:00
alex_t_king ce9a20e9e7 more fixes for post_status
git-svn-id: http://svn.automattic.com/wordpress/trunk@1051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-04 15:36:20 +00:00
alex_t_king 3fd1adb07f oops, we were setting post_status when we should have been setting ping_status
git-svn-id: http://svn.automattic.com/wordpress/trunk@1050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-04 01:44:34 +00:00
michelvaldrighi 97fb8bc303 now stores post_modified as creation date when we create a post
git-svn-id: http://svn.automattic.com/wordpress/trunk@1029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-30 01:12:51 +00:00
saxmatt 80ea451b18 Added missing API hooks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 20:28:09 +00:00
saxmatt 0c1e3856b6 Additional plugin API hooks, extending moderation scheme to more fully cover trackbacks and pingbacks, cleanup of XML-RPC file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 20:18:20 +00:00
michelvaldrighi a2d8fcf716 oops, typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@1005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 03:56:13 +00:00
michelvaldrighi 897087e509 now posts and edits in localtime+gmt
git-svn-id: http://svn.automattic.com/wordpress/trunk@995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 01:43:47 +00:00
emc3 4a8f41e640 Initial add of post-meta functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-23 18:02:05 +00:00
saxmatt a7cdf5c0d4 Generic update pinging. Needs review.
git-svn-id: http://svn.automattic.com/wordpress/trunk@982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-21 07:36:07 +00:00
saxmatt 277179d9a4 Improved wording on preview.
git-svn-id: http://svn.automattic.com/wordpress/trunk@981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-21 07:16:18 +00:00
saxmatt a0867db6ed Migration to get_settings and away from globals.
git-svn-id: http://svn.automattic.com/wordpress/trunk@957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 19:55:45 +00:00
saxmatt b6aa1f6807 Migration to get_settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 06:13:32 +00:00
saxmatt 87655b156e Some new options and an option cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-27 05:48:00 +00:00
saxmatt 8927968849 Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
git-svn-id: http://svn.automattic.com/wordpress/trunk@945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 16:15:48 +00:00
michelvaldrighi 823986b932 quotes fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 16:08:28 +00:00
michelvaldrighi d9911c7e7b typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 03:50:31 +00:00
michelvaldrighi 84435bfa5f big leap to GMT dates
git-svn-id: http://svn.automattic.com/wordpress/trunk@914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 03:42:40 +00:00
michelvaldrighi f78298e3df added/changed code to use GMT dates, commented until we support GMT everywhere in WP
git-svn-id: http://svn.automattic.com/wordpress/trunk@912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 01:53:10 +00:00
saxmatt a4ecbd3b9c Admin interface improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-13 15:36:28 +00:00
saxmatt 718dcc6297 Edit post slugs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-13 11:21:30 +00:00
saxmatt 5d0459dc8e Track last modified time
git-svn-id: http://svn.automattic.com/wordpress/trunk@867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-12 08:34:31 +00:00
saxmatt b7466b97f6 Rudimentary post preview functionality.
git-svn-id: http://svn.automattic.com/wordpress/trunk@854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-09 12:33:13 +00:00
saxmatt 7d63d0c095 Remove remnants of $c.
git-svn-id: http://svn.automattic.com/wordpress/trunk@808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-29 06:49:19 +00:00
saxmatt 5513b10891 Change wording on 0 level user message. Could be even better.
git-svn-id: http://svn.automattic.com/wordpress/trunk@781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-16 06:22:27 +00:00
saxmatt 9d2f404548 Variable typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-11 23:36:37 +00:00
alex_t_king f58955f596 made the bookmarklet safari compatible and enabled passing in the title, task #49
git-svn-id: http://svn.automattic.com/wordpress/trunk@738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-08 03:30:23 +00:00
saxmatt 8b4985a835 Fix for no categories on edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-07 01:38:43 +00:00
saxmatt 0d24e188a0 Various fixes from forums and such.
git-svn-id: http://svn.automattic.com/wordpress/trunk@725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-06 10:33:07 +00:00
saxmatt 2be85a4a61 Use default category if none specified.
git-svn-id: http://svn.automattic.com/wordpress/trunk@696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-03 00:37:24 +00:00
michelvaldrighi c33b0c8d82 scrollbars=yes for bookmarklet, needed for the 20+ categories case
git-svn-id: http://svn.automattic.com/wordpress/trunk@695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-03 00:19:54 +00:00
michelvaldrighi e6075fcd0e edit-form.php now included in bookmarklet.php, added #postdiv selector
git-svn-id: http://svn.automattic.com/wordpress/trunk@694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-03 00:13:11 +00:00
saxmatt efd65680bd Now with default statuses. Drafts on edit page. Fixed bookmarklets, tested in IE and Moz. Slightly tweaked CSS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-31 22:21:50 +00:00
saxmatt 31d01ac0bd New two-stage post process.Some HTML cleanup and general tweaking. Split edit form into several files.
git-svn-id: http://svn.automattic.com/wordpress/trunk@658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-28 11:44:05 +00:00
saxmatt 75f9641bb1 Save and edit while... editing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-22 05:04:18 +00:00
saxmatt d3d08d60ef Trackback on edit done.
git-svn-id: http://svn.automattic.com/wordpress/trunk@636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-22 02:46:40 +00:00
saxmatt e95716f9f1 Move Press It link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 17:10:20 +00:00
saxmatt 99a7358baf Renaming Reloaded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 09:36:13 +00:00
saxmatt 57da20afcf Fix for incorrect header() referral, width.
git-svn-id: http://svn.automattic.com/wordpress/trunk@607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 19:16:43 +00:00
saxmatt 2b30f037b0 Validation errors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 18:55:18 +00:00
saxmatt 43e4a8a930 The great renaming.
git-svn-id: http://svn.automattic.com/wordpress/trunk@601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 00:22:36 +00:00