Commit Graph

342 Commits

Author SHA1 Message Date
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
Andrew Ozz 29c8718141 Show the permalink even when not "pretty" and add "View Post" button if the post is published, see #8976
git-svn-id: https://develop.svn.wordpress.org/trunk@10458 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 12:11:52 +00:00
Andrew Ozz eef5b71258 Ensure translations are loaded properly in TinyMCE when using the compressed version
git-svn-id: https://develop.svn.wordpress.org/trunk@10384 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-20 20:31:31 +00:00
Andrew Ozz 38e3fc9d5a Concatenated and compressed versions of the default TinyMCE scripts
git-svn-id: https://develop.svn.wordpress.org/trunk@10369 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-16 12:58:38 +00:00
Andrew Ozz ee141fe280 TinyMCE: don't load unneeded CSS (custom styles have moved to /themes/advanced/skins/wp_theme)
git-svn-id: https://develop.svn.wordpress.org/trunk@10338 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-09 13:05:16 +00:00
Andrew Ozz 077540b9af Faster hide-if-no-js, if-js-closed, etc. needed when loading scripts in the footer.
git-svn-id: https://develop.svn.wordpress.org/trunk@10258 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-27 12:18:38 +00:00
Andrew Ozz f4980c0b00 Fix debug notices for bulk edit, fixes #8707 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10256 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-26 22:35:08 +00:00
Ryan Boren 97a6c04681 Don't cache filtered post objects. Set filter when getting sample permalink. Props brianwhite. fixes #8526 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10213 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-16 23:50:39 +00:00
Andrew Ozz 5be592a965 Silence warnings when looking for translations for external plugins for TinyMCE, for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10202 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-14 01:12:00 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Peter Westwood bca63c37b8 Balance.
git-svn-id: https://develop.svn.wordpress.org/trunk@10112 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 10:26:16 +00:00
Mark Jaquith 6a21085e62 Need to blank the password when visibility is public, not unset() it
git-svn-id: https://develop.svn.wordpress.org/trunk@10106 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 09:04:11 +00:00
Ryan Boren b5a5db848a No need to fake post_date for drafts anymore. fixes #6520
git-svn-id: https://develop.svn.wordpress.org/trunk@10007 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-02 02:46:21 +00:00
Ryan Boren d942a526fe Use mb_* to create permalink excerpt. Props janbrasna. fixes #8419
git-svn-id: https://develop.svn.wordpress.org/trunk@9986 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-30 19:09:13 +00:00
Ryan Boren c1543ec4e6 Add option defaults. Add arg to get_user_option() to avoid querying options table if user option is missing. see #8229
git-svn-id: https://develop.svn.wordpress.org/trunk@9871 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-25 18:33:04 +00:00
Andrew Ozz 4fa6ae8fa5 Gallery settings for TinyMCE
git-svn-id: https://develop.svn.wordpress.org/trunk@9847 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-23 06:37:15 +00:00
Ryan Boren fab4e5a68e Unused var fixes. Props DD32. see #8220
git-svn-id: https://develop.svn.wordpress.org/trunk@9716 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-15 18:10:35 +00:00
Ryan Boren 2acf13eb85 Check proper caps when publising a page. Props DD32. fixes #8208
git-svn-id: https://develop.svn.wordpress.org/trunk@9701 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 23:34:18 +00:00
Ryan Boren 2dc15c5a81 Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9699 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 23:01:16 +00:00
Ryan Boren 3ef1fd59a3 Grammar fix from Speedboxer. fixes #8073
git-svn-id: https://develop.svn.wordpress.org/trunk@9651 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 00:01:03 +00:00
Mark Jaquith fa2bd6f96e Visibility section of Publish Module for Posts. Pages later.
git-svn-id: https://develop.svn.wordpress.org/trunk@9639 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-12 18:36:48 +00:00
Andrew Ozz 34172f06d1 QE fixes: don't display-filter titles, show QE for newly added cats and tags, fixes #8146
git-svn-id: https://develop.svn.wordpress.org/trunk@9606 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-11 09:39:42 +00:00
Andrew Ozz 1edadef5b8 New design of Quick/Bulk Edit (added some colors and IE fixes), props mdawaffe, see #8144
git-svn-id: https://develop.svn.wordpress.org/trunk@9604 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-11 02:58:24 +00:00
Ryan Boren 83e002f20b Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9596 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 18:54:18 +00:00
Andrew Ozz 357c5902b7 Few more notice fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9570 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-08 11:18:05 +00:00
Andrew Ozz c127129c26 Implementing new design for Edit Posts, Comments, etc. lists, props mdawaffe, see #8083
git-svn-id: https://develop.svn.wordpress.org/trunk@9556 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-06 21:56:29 +00:00
Andrew Ozz 7d45802347 Preview fixes: different method of showing previews for published posts, now uses the proper templates. Fixes #8052
git-svn-id: https://develop.svn.wordpress.org/trunk@9509 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-04 13:00:12 +00:00
Andrew Ozz 550fffaafb Add slash to the path when loading translations for default TinyMCE plugins from the plugins directory, fixes #7994
git-svn-id: https://develop.svn.wordpress.org/trunk@9499 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-03 19:16:29 +00:00
Andrew Ozz 97d9b36c2c Fix path when loading translations for default TinyMCE plugins from the plugins directory, fixes #7994
git-svn-id: https://develop.svn.wordpress.org/trunk@9497 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-03 18:21:00 +00:00
Andrew Ozz 8b6e95b056 Preview fixes: ensure autosave is run at least once on new posts before preview, properly show previews for pending and scheduled posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@9473 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-02 13:56:32 +00:00
Andrew Ozz 1360b0da9f Remove outdated TinyMCE files, fix loading of translations for default plugins, fixes #7994
git-svn-id: https://develop.svn.wordpress.org/trunk@9469 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-02 02:12:26 +00:00
Ryan Boren 6e0526fe34 Validation fixes from Viper007Bond. fixes #8026
git-svn-id: https://develop.svn.wordpress.org/trunk@9456 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-01 05:03:05 +00:00
Andrew Ozz 78b8de31b6 Preview for both drafts and published posts/pages
git-svn-id: https://develop.svn.wordpress.org/trunk@9451 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 22:47:07 +00:00
Ryan Boren dee3f707b0 Default all boxes to open
git-svn-id: https://develop.svn.wordpress.org/trunk@9446 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-31 20:59:22 +00:00
Andrew Ozz 70443d9dbb Write page styling
git-svn-id: https://develop.svn.wordpress.org/trunk@9384 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 10:59:26 +00:00
Andrew Ozz 49ab8fb999 TinyMCE: attempt to load a translation file for external plugins, if not found, try en.js, fixes #7950
git-svn-id: https://develop.svn.wordpress.org/trunk@9353 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-26 07:32:58 +00:00
Ryan Boren 6d727a9c2b phpdoc for wp-admin. Props jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9119 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-10 18:21:16 +00:00
Andrew Ozz f121f6c983 Fix escaping of post meta, props DD32, fixes #7768
git-svn-id: https://develop.svn.wordpress.org/trunk@9116 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-10 09:40:30 +00:00
Ryan Boren 680d9c369f strip slashes before preparing to avoid double escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@9105 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-09 00:19:11 +00:00
Ryan Boren 638a41bf49 Draggable dash, first cut. Props mdawaffe. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@9103 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-08 23:32:34 +00:00
Andrew Ozz 97a7ceda96 Update TinyMCE to 3.2.0 and remove compression, fixes #7827
git-svn-id: https://develop.svn.wordpress.org/trunk@9064 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 16:30:14 +00:00
Ryan Boren f885a9f93a phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9053 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 01:03:26 +00:00
Andrew Ozz f32c8bc427 Batch edit: allow removal of selected posts, prevent page parent lock.
git-svn-id: https://develop.svn.wordpress.org/trunk@9036 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-30 10:30:56 +00:00
Andrew Ozz 36c04753fb Batch editing, first cut, see #6815
git-svn-id: https://develop.svn.wordpress.org/trunk@8973 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-25 13:42:34 +00:00
Ryan Boren 3e43adeb6e phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@8912 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-17 00:40:10 +00:00
Andrew Ozz 1933cadce7 Publish postbox and post status select updates.
git-svn-id: https://develop.svn.wordpress.org/trunk@8889 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-14 12:58:00 +00:00
Ryan Boren f95d33ce03 Don't assign default to pass-by-ref var. Not compatible with all PHP versions. see #6815
git-svn-id: https://develop.svn.wordpress.org/trunk@8861 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-11 05:50:14 +00:00
Ryan Boren 88e581b529 Inline editing. First cut. Props Aaron Harp. see #6815
git-svn-id: https://develop.svn.wordpress.org/trunk@8857 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-10 22:47:03 +00:00
Ryan Boren bda582ab0d Notice fixes. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8732 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-25 21:50:11 +00:00
Ryan Boren 6db75e59d4 Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8691 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-20 21:42:31 +00:00
Ryan Boren 197fc1d118 Notice fixes. Props DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8646 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-14 17:00:37 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Peter Westwood 010f5ed7b2 Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8589 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 17:05:10 +00:00
Mark Jaquith 0ca7018899 Use the edit_others_posts capability for controlling sticky checkbox display and usage. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8577 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 21:31:40 +00:00
Ryan Boren 742aa7d933 Sticky Posts, firct cut. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8546 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 05:48:21 +00:00
Ryan Boren 13ff742a0c Eliminate unused var. Props tschai. fixes #7374
git-svn-id: https://develop.svn.wordpress.org/trunk@8397 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-22 15:49:44 +00:00
Ryan Boren 93240aef3b Add med buttons to TinyMCE fullscreen. Props azaozz. fixes #7232
git-svn-id: https://develop.svn.wordpress.org/trunk@8248 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 15:55:45 +00:00
Ryan Boren b0a0139c4d Don't unpublish pages when a user who can edit publised pages but not publish new pages edits a page. Props jeremyclarke. see #6943 #7070 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8034 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-03 06:44:40 +00:00
Ryan Boren 8c766f4960 Don't unpublish posts when a user edit who can edit publised posts but not publih new posts edits a post. Props jeremyclarke. see #7070 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8032 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-02 21:01:42 +00:00
Ryan Boren 163aa65807 Post revisions API cleanup from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@8011 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-29 22:21:36 +00:00
Ryan Boren bd67810803 Don't double escape. fixes #7018
git-svn-id: https://develop.svn.wordpress.org/trunk@7980 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 00:12:17 +00:00
Ryan Boren 36f755bf12 Add non-existent values instead of returning g false in update_post_meta(). Props filosofo. fixes #7018
git-svn-id: https://develop.svn.wordpress.org/trunk@7978 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 00:01:00 +00:00
Ryan Boren a1be16cf86 Move autosave to post revisions. Props mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7907 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-08 17:25:07 +00:00
Ryan Boren fec6cabd09 Add editable_slug filter. Props nbachiyski. see #6915
git-svn-id: https://develop.svn.wordpress.org/trunk@7896 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-05 17:08:13 +00:00
Peter Westwood b0ff8876f0 Revert [7887] see #6915.
git-svn-id: https://develop.svn.wordpress.org/trunk@7891 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-05 08:15:54 +00:00
Peter Westwood a17ecd3f22 Make international slugs easier to edit. Fixes #6915 props options.
git-svn-id: https://develop.svn.wordpress.org/trunk@7887 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 21:13:42 +00:00
Ryan Boren fdc05b24f6 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7645 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:13:25 +00:00
Ryan Boren a9d89696f3 Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7638 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-09 20:09:45 +00:00
Ryan Boren 373fab4080 Update timestamp when only the minute value is changed. fixes #6456 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7614 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-07 17:19:43 +00:00
Mark Jaquith 261a876e31 Update timestamp when only the minute value is changed. props johnconners. fixes #6456 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7570 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-30 06:00:59 +00:00
Mark Jaquith 5e779414fd Clean up the Write Post/Write Page/Edit Comment screens for people without JS. Introduce the hide-if-no-js and hide-if-js automagical classes. fixes #6395
git-svn-id: https://develop.svn.wordpress.org/trunk@7529 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 20:06:18 +00:00
Mark Jaquith 933afe995a Always show 15 media files per page in the media manager (do not use front-of-house ppp setting). props Denis-de-Bernardy. fixes #6334
git-svn-id: https://develop.svn.wordpress.org/trunk@7458 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 20:03:31 +00:00
Ryan Boren 4dcc023818 ngettext fixes from nbachiyski. fixes #6261
git-svn-id: https://develop.svn.wordpress.org/trunk@7397 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 16:00:09 +00:00
Ryan Boren eae7b967de Display 15 posts. Remove no longer needed add-post AJAX action. Props johnhennmacc. fixes #6264
git-svn-id: https://develop.svn.wordpress.org/trunk@7352 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-17 22:18:32 +00:00
Ryan Boren 56a7acdf15 Better date editing from MarkJaquith. see #6250
git-svn-id: https://develop.svn.wordpress.org/trunk@7338 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-16 23:05:16 +00:00
Peter Westwood a951a2019b Only replace the last segment of the uri when generating the sample permalink. Fixes #6068.
git-svn-id: https://develop.svn.wordpress.org/trunk@7320 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-15 21:27:10 +00:00
Ryan Boren 72d53b30d7 Use constant instead of DB option for setting autosave_interval. Props mdawaffe. fixes #6075
git-svn-id: https://develop.svn.wordpress.org/trunk@7165 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 06:07:53 +00:00
Mark Jaquith 5330df3c0a Post slug fixes from nbachiyski. fixes #6072
git-svn-id: https://develop.svn.wordpress.org/trunk@7162 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-05 22:09:28 +00:00
Ryan Boren 9df4b3f641 Post edit collision detection fixes from mdawaffe. fixes #6043
git-svn-id: https://develop.svn.wordpress.org/trunk@7146 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 00:05:30 +00:00
Ryan Boren 4e4e172045 Slug edit fix from nbachiyski. fixes #6072
git-svn-id: https://develop.svn.wordpress.org/trunk@7139 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 21:02:53 +00:00
Ryan Boren 387f9a1e87 Show page hierarchy when editing page slugs. fixes #6068
git-svn-id: https://develop.svn.wordpress.org/trunk@7133 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 22:15:30 +00:00
Ryan Boren 6d7441c26e Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren 5275c7d335 Restrict edit.php searches to posts. No pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@7111 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 22:29:57 +00:00
Ryan Boren 71f274c599 Add option to check caps when querying a particular post status. fixes #6052
git-svn-id: https://develop.svn.wordpress.org/trunk@7109 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 21:49:49 +00:00
Ryan Boren e29306e69c Post Edit Collision Detection from mdawaffe. fixes #6043
git-svn-id: https://develop.svn.wordpress.org/trunk@7103 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-29 09:51:36 +00:00
Ryan Boren 7ed364b2ce Notice fixes from nbachiyski. fixes #5961
git-svn-id: https://develop.svn.wordpress.org/trunk@6983 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 17:43:56 +00:00
Ryan Boren da73b7408d Slug edit for pages. Hide advanced slug field if JS enabled. Trigger first autosave after 15 chars. Set autosave interval to 60s. Props filosofo. see #5749
git-svn-id: https://develop.svn.wordpress.org/trunk@6955 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 20:19:34 +00:00
Ryan Boren 908e657b61 Show permalink editor on new posts after autosave. Props filosofo. see #5749
git-svn-id: https://develop.svn.wordpress.org/trunk@6954 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 17:08:06 +00:00
Ryan Boren 5f85c2dc0c Media Library design updates from Andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@6910 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-19 06:13:20 +00:00
Peter Westwood 8fc5c28128 Make sure we can publish private posts. Fixes #5881, #4206.
git-svn-id: https://develop.svn.wordpress.org/trunk@6872 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-16 16:24:52 +00:00
Ryan Boren 8a83872300 Manage->Pages design update
git-svn-id: https://develop.svn.wordpress.org/trunk@6796 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-12 05:51:53 +00:00
Ryan Boren fa8e0c1a62 Use full slug, not abbreviated slug, when editing. Props nbachiyski. fixes #5816
git-svn-id: https://develop.svn.wordpress.org/trunk@6794 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-11 23:19:09 +00:00
Ryan Boren 4c6d9571f9 Postbox save updates and admin js refactoring from nbachiyski. fixes #5799
git-svn-id: https://develop.svn.wordpress.org/trunk@6761 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-08 19:57:50 +00:00
Ryan Boren 71cb9095e4 Fix edit.php h2 text
git-svn-id: https://develop.svn.wordpress.org/trunk@6733 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 21:16:19 +00:00
Ryan Boren dd53dd5b8f First cut at post status menu. Needs style fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@6731 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 20:30:24 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren d04499eccc Don't hard code post type in edit forms. Props filosofo and DD32. fixes #4991
git-svn-id: https://develop.svn.wordpress.org/trunk@6712 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-02 19:22:14 +00:00
Matt Mullenweg 098e6672e4 Edit permalink in place. Fixes #5679. Hat tip: nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@6633 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-17 16:51:32 +00:00
Matt Mullenweg e4b2fa59dc Have the bottom boxes be closed by default. Remove the global padding kill from thickbox CSS.
git-svn-id: https://develop.svn.wordpress.org/trunk@6604 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-14 00:20:52 +00:00
Ryan Boren 90d8fb5f30 Save toggle box open/closed state. Props nbachiyski. fixes #5610
git-svn-id: https://develop.svn.wordpress.org/trunk@6584 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 17:46:13 +00:00
Ryan Boren 721b8c930b Remove unused variables. Props DD32. fixes #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6354 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 00:29:05 +00:00
Ryan Boren f00acd7eb0 Check publish_posts not edit_published_posts when setting pending status. Props jeremyclarke. fixes #5329
git-svn-id: https://develop.svn.wordpress.org/trunk@6333 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-12 19:58:09 +00:00
Ryan Boren e14f9e0d4d Post filter fixes from mdawaffe. fixes #5249
git-svn-id: https://develop.svn.wordpress.org/trunk@6287 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-23 23:02:24 +00:00
Ryan Boren 770c20562c Eliminate , , and . see #5182
git-svn-id: https://develop.svn.wordpress.org/trunk@6229 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 21:12:34 +00:00
Ryan Boren 490789554f jquery for list manipulation. Round one, fight. Props mdawaffe. fixes #4805
git-svn-id: https://develop.svn.wordpress.org/trunk@6213 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 22:49:42 +00:00
Ryan Boren 5917c5458c Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6125 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:32:22 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren 682ac07750 Redirect back to post-new.php when doing a save and continue with empty post fields. fixes #4855
git-svn-id: https://develop.svn.wordpress.org/trunk@5967 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:24:42 +00:00
Ryan Boren 9fe6a868ca Post filter rework. see #4546
git-svn-id: https://develop.svn.wordpress.org/trunk@5796 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-11 19:57:43 +00:00
Ryan Boren a4d31e4b3d Protect _wp_page_template too.
git-svn-id: https://develop.svn.wordpress.org/trunk@5733 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 22:42:25 +00:00
Ryan Boren 5cfd6c7543 Prevent editing of protected meta keys.
git-svn-id: https://develop.svn.wordpress.org/trunk@5723 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-18 16:28:11 +00:00
Mark Jaquith 0f0788d24d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: https://develop.svn.wordpress.org/trunk@5707 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 16:24:28 +00:00
Ryan Boren f1a0a595d7 attribute_escape()s and int casts. see #4333
git-svn-id: https://develop.svn.wordpress.org/trunk@5543 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 09:41:04 +00:00
Ryan Boren 09f70467e0 Admin includes reorg. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5542 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 07:16:21 +00:00