Commit Graph

163 Commits

Author SHA1 Message Date
Mark Jaquith a556c8ce89 Consolidate post_mime_type code. props scribu. fixes #10992
git-svn-id: https://develop.svn.wordpress.org/trunk@12110 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-26 17:56:28 +00:00
Peter Westwood 345db2c5f2 Update version info in phpDoc for _admin_notice_post_locked() see #10729.
git-svn-id: https://develop.svn.wordpress.org/trunk@12069 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-20 17:02:22 +00:00
Andrew Ozz da41fd8836 Merge set-post-thumbnail-handler.js with post.js, move Post Thumbnail meta-box to /includes/meta-boxes.php, see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12060 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 20:23:35 +00:00
Andrew Ozz aaae110d8f Remove remains from the old bookmarklet code
git-svn-id: https://develop.svn.wordpress.org/trunk@12029 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-14 05:53:49 +00:00
Andrew Ozz 9d5f38a1df Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
git-svn-id: https://develop.svn.wordpress.org/trunk@12022 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 10:02:42 +00:00
Andrew Ozz 048bc0b258 Press This: editor fixes and CSS tweaks for IE6/7
git-svn-id: https://develop.svn.wordpress.org/trunk@11982 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-29 09:46:13 +00:00
Andrew Ozz c4571d4a60 TinyMCE 3.2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@11974 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-26 08:33:16 +00:00
Ryan Boren bb43e36418 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11971 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:19:13 +00:00
Ryan Boren 578e956287 Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11968 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:10:28 +00:00
Ryan Boren 43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Andrew Ozz e4045df0ab Explain that the permalink is temporary for autosave generated permalinks, fixes #7733
git-svn-id: https://develop.svn.wordpress.org/trunk@11928 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 02:06:33 +00:00
Peter Westwood 311256c02a Use the old strings which are more translator friendly and add a generic default string to aid re-use by plugins adding post_types. See #10729.
git-svn-id: https://develop.svn.wordpress.org/trunk@11925 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 21:18:55 +00:00
Andrew Ozz 6315c12a84 Fix pagination in Media Library after moving items to trash
git-svn-id: https://develop.svn.wordpress.org/trunk@11924 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 17:58:55 +00:00
Peter Westwood 3fbccfb9fc Switch the post|page being editing message from a create_function call to a normal function and reduce the duplicated code. See #10729.
git-svn-id: https://develop.svn.wordpress.org/trunk@11923 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 08:52:39 +00:00
Peter Westwood 80dbface9c phpDoc for wp_{check|set}_post_lock functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@11922 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 08:34:24 +00:00
Andrew Ozz 1195abd579 Don't show "Change Permalinks" button when editing the page set as "Front page", props simonwheatley, fixes #10760
git-svn-id: https://develop.svn.wordpress.org/trunk@11908 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-10 01:21:03 +00:00
Andrew Ozz 00de237f0c Fix notice in wp-admin/includes/post.php, props harrym, fixes #10678 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11871 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 19:39:08 +00:00
Andrew Ozz 34deab141b Use the current user as author for autosave, fixes #10004
git-svn-id: https://develop.svn.wordpress.org/trunk@11840 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-19 02:30:42 +00:00
Andrew Ozz aa630abdab Fix bulk edit, some cleanup and message fixes for moving in/out of the trash, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11807 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-12 10:57:15 +00:00
Ryan Boren d895dcb002 get_sample_permalink_html filter
git-svn-id: https://develop.svn.wordpress.org/trunk@11796 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-10 20:49:09 +00:00
Andrew Ozz d9f8c67f2f Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 13:39:34 +00:00
Andrew Ozz 4876c3ce71 Don't show Change Permalinks button when user doesn't have permission, props johnbillion, fixes #10072
git-svn-id: https://develop.svn.wordpress.org/trunk@11534 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-08 21:42:35 +00:00
Andrew Ozz dcf5ea2881 Move buttons from row 4 to row 3 in the editor when row 3 is empty, fixes #9840
git-svn-id: https://develop.svn.wordpress.org/trunk@11515 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-03 23:00:57 +00:00
Ryan Boren e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Andrew Ozz a8fa1281b7 TinyMCE 3.2.4, remove the autosave plugin and add the same functionality in autosave.js, fix double warning messages when leaving the page.
git-svn-id: https://develop.svn.wordpress.org/trunk@11437 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 22:08:17 +00:00
Andrew Ozz 662765e570 Clean the cache-manifests, make $manifest_version and $tinymce_version global vars accessible from the manifest
git-svn-id: https://develop.svn.wordpress.org/trunk@11388 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 20:29:26 +00:00
Mark Jaquith ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Mark Jaquith f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Andrew Ozz 405eececce HTML validity fixes, props hakre, fixes #9432
git-svn-id: https://develop.svn.wordpress.org/trunk@11375 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-17 20:19:51 +00:00
Ryan Boren fc80cdec6b Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: https://develop.svn.wordpress.org/trunk@11318 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 22:28:56 +00:00
Ryan Boren 17de82bb6f Ampersand validation fix. Props hakre. fixes #9402
git-svn-id: https://develop.svn.wordpress.org/trunk@11296 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 05:58:57 +00:00
Andrew Ozz 0289460644 Make tags accessible without js on the edit screen
git-svn-id: https://develop.svn.wordpress.org/trunk@11172 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 12:13:44 +00:00
Andrew Ozz 687a400776 Hide text while editor is loading, show html editor on error
git-svn-id: https://develop.svn.wordpress.org/trunk@11171 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 10:34:50 +00:00
Ryan Boren 61f7821b34 Don't double escape autosaves. fixes #9433
git-svn-id: https://develop.svn.wordpress.org/trunk@11117 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-29 02:47:41 +00:00
Andrew Ozz 659a3fb191 TinyMCE 3.2.3 final, includes new Paste plugin with auto-cleanup (better paste from MS Word)
git-svn-id: https://develop.svn.wordpress.org/trunk@11078 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-24 15:26:00 +00:00
Ryan Boren 5e6528cd14 Add wp_unique_post_slug(). Apply it when getting sample permalinks. Props nbachiyski. fixes #6595
git-svn-id: https://develop.svn.wordpress.org/trunk@11071 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 20:21:18 +00:00
Andrew Ozz 84207a7e84 Show proper error when adding a custom field without a value, props scohoust, fixes #7541
git-svn-id: https://develop.svn.wordpress.org/trunk@10957 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 21:55:35 +00:00
Ryan Boren ea904a0ba0 Add per page option to Screen Options for comments, posts, pages, and media.
git-svn-id: https://develop.svn.wordpress.org/trunk@10847 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-27 22:47:47 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Andrew Ozz d3d2d3ba28 TinyMCE 3.2.2
git-svn-id: https://develop.svn.wordpress.org/trunk@10791 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-15 16:55:49 +00:00
Ryan Boren 5d8651d6f3 gettext comments. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10774 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 03:53:39 +00:00
Ryan Boren 1952e923f8 gettext contexts. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10767 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 23:02:29 +00:00
Andrew Ozz f4c5df18b4 Move hidden span so it's not copied together with the permalink
git-svn-id: https://develop.svn.wordpress.org/trunk@10754 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 02:14:42 +00:00
Peter Westwood 87a4d2f1cb Allow a plugin to control how many posts are displayed on edit pages. Fixes #9307 props aaroncampbell
git-svn-id: https://develop.svn.wordpress.org/trunk@10749 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-09 22:14:09 +00:00
Ryan Boren 1fb1534e8f Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10730 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-06 04:27:51 +00:00
Ryan Boren c896a6ee7b Initialize post_date_gmt for default post to edit.
git-svn-id: https://develop.svn.wordpress.org/trunk@10723 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 23:06:04 +00:00
Ryan Boren a5740e48a1 post_exists() and comment_exists() fixes. Fixes post duplication during import. Props tott. fixes #8460
git-svn-id: https://develop.svn.wordpress.org/trunk@10722 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-05 22:16:29 +00:00
Ryan Boren 854a8d6341 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: https://develop.svn.wordpress.org/trunk@10606 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 19:35:16 +00:00
Andrew Ozz 8f2083b8da Autosave post/page when pressing Control/Command+S in TinyMCE, props srobbin, fixes #9060
git-svn-id: https://develop.svn.wordpress.org/trunk@10528 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-08 18:37:47 +00:00
Andrew Ozz c676499d51 Fix permalink editor for pages, hide "View Post" button while editing permalink, fixes #9040
git-svn-id: https://develop.svn.wordpress.org/trunk@10525 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-08 13:38:02 +00:00