Commit Graph

281 Commits

Author SHA1 Message Date
Andrew Ozz 9b7b96ba51 Use the "media" admin menu icon for the add media button in DFW, move the tagline, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17947 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 17:33:22 +00:00
Andrew Ozz 8b325c5f71 Maximum i18n flexibility for word count, props nacin, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17940 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-17 04:25:15 +00:00
Andrew Ozz 9b3f26faa4 Improve code for DFW buttons, fix colors in some rare TinyMCE popups, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17880 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 01:53:51 +00:00
Peter Westwood f1389ef76c Switch this to be inside the else to match previous functionality more closely.
git-svn-id: https://develop.svn.wordpress.org/trunk@17860 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 17:05:35 +00:00
Peter Westwood 29ffaab1b2 Add a filter in postbox_classes on the classes being returned so you can add ones to your metabox easily if you want. See #17323
git-svn-id: https://develop.svn.wordpress.org/trunk@17857 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 16:57:00 +00:00
Andrew Ozz 0b4a1378b9 DFW: add tagline, move the Word count under the editor, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17856 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 09:18:32 +00:00
Andrew Ozz 6b810b990f DFW: add Blockquote button, enable After the Deadline button if plugin is installed, set button state, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17852 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-10 23:21:34 +00:00
Andrew Ozz 98d4435ba5 Add the new grey TinyMCE icons, see #15986
git-svn-id: https://develop.svn.wordpress.org/trunk@17842 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-09 03:20:50 +00:00
Andrew Ozz f9eb2a0ed4 Close >> Exit fullscreen, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17840 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 15:37:28 +00:00
Andrew Ozz 223162e568 DFW: change width resizing to use hotkeys only: Alt (Win, Linux) or Ctrl (Mac) 0/reset, +/wider, -/narrower, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17838 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 06:32:44 +00:00
Andrew Ozz 13ad310c3f DFW: import editor-style.css, fine-tune transition times, add width resizing setting, some cleanup, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17837 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 02:01:53 +00:00
Andrew Ozz 4e6c7c2281 Fix action handling code, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17786 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-02 08:28:58 +00:00
Andrew Ozz 6e8cefd437 HTML mode for Distraction Free Writing, props koopersmith, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17785 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-02 08:10:23 +00:00
Andrew Ozz 07a62334de Distraction Free Writing mode, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17695 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:01:34 +00:00
Ryan Boren 2d5559bb8f Use stripos() instead of strpos( strtolower() ). Props hakre. see #16920
git-svn-id: https://develop.svn.wordpress.org/trunk@17630 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-11 18:55:11 +00:00
Andrew Ozz 4c572d1f03 Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086
git-svn-id: https://develop.svn.wordpress.org/trunk@17625 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-10 18:36:05 +00:00
Andrew Ozz 80e0029a13 Allow JS functions in the TinyMCE init array, fixes #15596
git-svn-id: https://develop.svn.wordpress.org/trunk@17522 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-17 22:01:40 +00:00
Ryan Boren e7ceede332 Don't allow changing the post type. Props nacin. For trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17457 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-16 18:58:06 +00:00
Andrew Nacin af64a47f5d Remove the button too. props ryan, see #14647.
git-svn-id: https://develop.svn.wordpress.org/trunk@17291 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 22:56:10 +00:00
Andrew Nacin a711d9b671 Remove the TinyMCE media plugin. fixes #14647.
git-svn-id: https://develop.svn.wordpress.org/trunk@17288 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 21:57:30 +00:00
Ryan Boren eba71eb7c0 Bring out the shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +00:00
Ryan Boren b27d7ad9b0 Avoid notice.
git-svn-id: https://develop.svn.wordpress.org/trunk@17223 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-05 18:18:31 +00:00
Ryan Boren b677baf564 Restrict meta update/delete to the current post. Props kawauso. fixes #15276
git-svn-id: https://develop.svn.wordpress.org/trunk@17078 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 12:38:21 +00:00
Andrew Nacin 18edc09e6a More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: https://develop.svn.wordpress.org/trunk@17071 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:25:21 +00:00
Mark Jaquith acd961d4f8 Only set default post format on new posts – not old ones. props nacin. fixes #15882
git-svn-id: https://develop.svn.wordpress.org/trunk@17062 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 19:22:31 +00:00
Ryan Boren 04e1d8553a Add user id to lock. Props duck_. see #15130
git-svn-id: https://develop.svn.wordpress.org/trunk@16901 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:23:46 +00:00
Andrew Nacin a63bf413ad Move [14551] to after the is_wp_error check. see #13133, fixes #15511, props alexdunae.
git-svn-id: https://develop.svn.wordpress.org/trunk@16761 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 07:12:55 +00:00
Andrew Nacin 4a8c7f3dfa add_editor_style should include the parent theme CSS before the child theme CSS for override reasons. props JohnPBloch. fixes #14430.
git-svn-id: https://develop.svn.wordpress.org/trunk@16688 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 13:54:56 +00:00
Ryan Boren 36a4508140 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: https://develop.svn.wordpress.org/trunk@16660 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:24:38 +00:00
Ryan Boren b9b0e7215c Save meta id before performing actions since the insert_id can change. Props cyberhobo. fixes #15465
git-svn-id: https://develop.svn.wordpress.org/trunk@16659 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:11:47 +00:00
Ryan Boren ca60ed1d07 Don’t nag to Change Permalinks if permalink structure is defined. Props demetris. fixes #13918
git-svn-id: https://develop.svn.wordpress.org/trunk@16651 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 17:16:22 +00:00
Andrew Nacin e8dd42ce2a Revert [15688], [15689], [15691]. Try again in 3.2. see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@16535 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 17:17:26 +00:00
Andrew Nacin 7cccd5715f Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16459 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:59:05 +00:00
Andrew Nacin 655df3af90 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16457 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 06:22:13 +00:00
scribu 32b416f959 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: https://develop.svn.wordpress.org/trunk@16365 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 15:50:02 +00:00
Mark Jaquith ef54c47f7a add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16174 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 07:41:07 +00:00
Peter Westwood 506f71b660 Enable the dialog for paste as plain text in the new TinyMCE paste plugin. Fixes #15278.
git-svn-id: https://develop.svn.wordpress.org/trunk@16133 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 15:59:48 +00:00
Peter Westwood 5dc465110a Check for empty strings before indexing into them. Fixes #15265 props solarissmoke.
git-svn-id: https://develop.svn.wordpress.org/trunk@16112 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 09:29:57 +00:00
Andrew Ozz d39d7e4ba4 Editor: utilize the new "formats" option in TinyMCE, fix errors in IE when pressing Enter inside a caption box, fix resizing of the caption box when the user soft-resizes the image in the editor, fixes #12574
git-svn-id: https://develop.svn.wordpress.org/trunk@16090 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 20:06:00 +00:00
Andrew Nacin 605b0c48e3 Don't check the raw edit_others_posts cap. see #12702.
git-svn-id: https://develop.svn.wordpress.org/trunk@16004 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:48:55 +00:00
Andrew Nacin 71c59b865a Add a 'Sticky' filter on the edit posts page. Add post_in and post_not_in as private query vars in the WP class to support this. fixes #8466.
git-svn-id: https://develop.svn.wordpress.org/trunk@16003 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:27:45 +00:00
Andrew Nacin f34a8de8ec Internal linking, first pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@15940 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 02:58:42 +00:00
Andrew Nacin ea2f90c70e Move some post and taxonomy functions from admin/includes to wp-includes in preparation for QuickPress template tag. Moves get_tags_to_edit, get_terms_to_edit, get_default_post_to_edit, media_buttons, _media_button, get_upload_iframe_src. Also introduce get_media_buttons as a wrapper for media_buttons. props jorbin, see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@15688 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 02:58:59 +00:00
Andrew Ozz 358c7e1885 TinyMCE 3.3 first run
git-svn-id: https://develop.svn.wordpress.org/trunk@15683 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 05:14:12 +00:00
Andrew Nacin 9494e4ce7e Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 11:21:11 +00:00
scribu fb9394167f Ajaxify list-type screens in the admin. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 21:54:51 +00:00
Ryan Boren 432adc1c33 Make posts per page filters consistent and back compat. Props wpmuguru. fixes #14135 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15450 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-21 17:27:04 +00:00
Ryan Boren 0e8e96649b Default posts per page to 20. Props wpmuguru. fixes #14342 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15445 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-19 16:28:26 +00:00
Andrew Nacin ec40f6b186 Curses on PHP 5.0.5. see #14160 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15358 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 22:05:27 +00:00
Ryan Boren 494ee995b5 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15315 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:01:29 +00:00