Commit Graph

147 Commits

Author SHA1 Message Date
azaozz
e03f120254 Fix notice in wp-admin/includes/post.php, props harrym, fixes #10678 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 19:39:08 +00:00
azaozz
4c13a5acf4 Use the current user as author for autosave, fixes #10004
git-svn-id: http://svn.automattic.com/wordpress/trunk@11840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-19 02:30:42 +00:00
azaozz
52f4940dfb Fix bulk edit, some cleanup and message fixes for moving in/out of the trash, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-12 10:57:15 +00:00
ryan
d5fd7e1af6 get_sample_permalink_html filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@11796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-10 20:49:09 +00:00
azaozz
39e4f05a15 Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 13:39:34 +00:00
azaozz
d8b86813c6 Don't show Change Permalinks button when user doesn't have permission, props johnbillion, fixes #10072
git-svn-id: http://svn.automattic.com/wordpress/trunk@11534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-08 21:42:35 +00:00
azaozz
5423ca07b3 Move buttons from row 4 to row 3 in the editor when row 3 is empty, fixes #9840
git-svn-id: http://svn.automattic.com/wordpress/trunk@11515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-03 23:00:57 +00:00
ryan
2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
azaozz
4a50994a4e 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: http://svn.automattic.com/wordpress/trunk@11437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 22:08:17 +00:00
azaozz
80969e073e Clean the cache-manifests, make $manifest_version and $tinymce_version global vars accessible from the manifest
git-svn-id: http://svn.automattic.com/wordpress/trunk@11388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 20:29:26 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith
119b39cec2 deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 15:11:07 +00:00
azaozz
5310130057 HTML validity fixes, props hakre, fixes #9432
git-svn-id: http://svn.automattic.com/wordpress/trunk@11375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-17 20:19:51 +00:00
ryan
c383ff7450 Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: http://svn.automattic.com/wordpress/trunk@11318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-13 22:28:56 +00:00
ryan
a74facf66a Ampersand validation fix. Props hakre. fixes #9402
git-svn-id: http://svn.automattic.com/wordpress/trunk@11296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 05:58:57 +00:00
azaozz
6c74505f59 Make tags accessible without js on the edit screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@11172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 12:13:44 +00:00
azaozz
bf88b244cd Hide text while editor is loading, show html editor on error
git-svn-id: http://svn.automattic.com/wordpress/trunk@11171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 10:34:50 +00:00
ryan
41a3df9cd0 Don't double escape autosaves. fixes #9433
git-svn-id: http://svn.automattic.com/wordpress/trunk@11117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-29 02:47:41 +00:00
azaozz
fc0c1a2e1b TinyMCE 3.2.3 final, includes new Paste plugin with auto-cleanup (better paste from MS Word)
git-svn-id: http://svn.automattic.com/wordpress/trunk@11078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-24 15:26:00 +00:00
ryan
267f508f2f Add wp_unique_post_slug(). Apply it when getting sample permalinks. Props nbachiyski. fixes #6595
git-svn-id: http://svn.automattic.com/wordpress/trunk@11071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-23 20:21:18 +00:00
azaozz
dee602f501 Show proper error when adding a custom field without a value, props scohoust, fixes #7541
git-svn-id: http://svn.automattic.com/wordpress/trunk@10957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 21:55:35 +00:00
ryan
72a58f8025 Add per page option to Screen Options for comments, posts, pages, and media.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 22:47:47 +00:00
ryan
e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
azaozz
c054f27b6e TinyMCE 3.2.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@10791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-15 16:55:49 +00:00
ryan
b1222311f7 gettext comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 03:53:39 +00:00
ryan
d10b538652 gettext contexts. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 23:02:29 +00:00
azaozz
7c018a31cf Move hidden span so it's not copied together with the permalink
git-svn-id: http://svn.automattic.com/wordpress/trunk@10754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-10 02:14:42 +00:00
westi
d66daa8a98 Allow a plugin to control how many posts are displayed on edit pages. Fixes #9307 props aaroncampbell
git-svn-id: http://svn.automattic.com/wordpress/trunk@10749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-09 22:14:09 +00:00
ryan
d43bd8177c Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 04:27:51 +00:00
ryan
801705a502 Initialize post_date_gmt for default post to edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 23:06:04 +00:00
ryan
35eb4bca32 post_exists() and comment_exists() fixes. Fixes post duplication during import. Props tott. fixes #8460
git-svn-id: http://svn.automattic.com/wordpress/trunk@10722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 22:16:29 +00:00
ryan
fc660a45a3 Use _n(). Props nbachiyski. fixes #9111
git-svn-id: http://svn.automattic.com/wordpress/trunk@10606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-20 19:35:16 +00:00
azaozz
552b480eb2 Autosave post/page when pressing Control/Command+S in TinyMCE, props srobbin, fixes #9060
git-svn-id: http://svn.automattic.com/wordpress/trunk@10528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-08 18:37:47 +00:00
azaozz
ccd5cea290 Fix permalink editor for pages, hide "View Post" button while editing permalink, fixes #9040
git-svn-id: http://svn.automattic.com/wordpress/trunk@10525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-08 13:38:02 +00:00
azaozz
981ae0bb18 Show the permalink even when not "pretty" and add "View Post" button if the post is published, see #8976
git-svn-id: http://svn.automattic.com/wordpress/trunk@10458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-29 12:11:52 +00:00
azaozz
ab30688c26 Ensure translations are loaded properly in TinyMCE when using the compressed version
git-svn-id: http://svn.automattic.com/wordpress/trunk@10384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-20 20:31:31 +00:00
azaozz
5ce5238272 Concatenated and compressed versions of the default TinyMCE scripts
git-svn-id: http://svn.automattic.com/wordpress/trunk@10369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-16 12:58:38 +00:00
azaozz
3cc307471c TinyMCE: don't load unneeded CSS (custom styles have moved to /themes/advanced/skins/wp_theme)
git-svn-id: http://svn.automattic.com/wordpress/trunk@10338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-09 13:05:16 +00:00
azaozz
b54484f937 Faster hide-if-no-js, if-js-closed, etc. needed when loading scripts in the footer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-27 12:18:38 +00:00
azaozz
1ff4349ee5 Fix debug notices for bulk edit, fixes #8707 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-26 22:35:08 +00:00
ryan
d3b9da7025 Don't cache filtered post objects. Set filter when getting sample permalink. Props brianwhite. fixes #8526 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-16 23:50:39 +00:00
azaozz
394889ad25 Silence warnings when looking for translations for external plugins for TinyMCE, for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-14 01:12:00 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
westi
80a0472d7b Balance.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 10:26:16 +00:00
markjaquith
bf698116e0 Need to blank the password when visibility is public, not unset() it
git-svn-id: http://svn.automattic.com/wordpress/trunk@10106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 09:04:11 +00:00
ryan
d24130b77b No need to fake post_date for drafts anymore. fixes #6520
git-svn-id: http://svn.automattic.com/wordpress/trunk@10007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 02:46:21 +00:00
ryan
dd7e66c882 Use mb_* to create permalink excerpt. Props janbrasna. fixes #8419
git-svn-id: http://svn.automattic.com/wordpress/trunk@9986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 19:09:13 +00:00
ryan
ceee359abf Add option defaults. Add arg to get_user_option() to avoid querying options table if user option is missing. see #8229
git-svn-id: http://svn.automattic.com/wordpress/trunk@9871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 18:33:04 +00:00
azaozz
3c15f6a8d3 Gallery settings for TinyMCE
git-svn-id: http://svn.automattic.com/wordpress/trunk@9847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-23 06:37:15 +00:00
ryan
40c754df1d Unused var fixes. Props DD32. see #8220
git-svn-id: http://svn.automattic.com/wordpress/trunk@9716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:10:35 +00:00