Commit Graph

197 Commits

Author SHA1 Message Date
Ryan Boren 8ef5d73550 Custom taxonomy support for inline edit. Props prettyboymp. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13535 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 15:48:01 +00:00
Dion Hulse df84c657f9 Fix slashing in Custom fields values. Allow for the meta_key to be updated without changing meta_value. Use wpdb::insert in add_meta(). Fixes #12418
git-svn-id: https://develop.svn.wordpress.org/trunk@13489 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 07:12:05 +00:00
Andrew Nacin bd51cf8b51 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: https://develop.svn.wordpress.org/trunk@13453 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:36:35 +00:00
Dion Hulse 468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Ryan Boren 2f7ef8196b Pass the default post to default_content, default_title, and default_excerpt filters. Allows filtering by post_type and other attributes. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13051 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 22:20:36 +00:00
Ryan Boren 86d7ef0b69 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13025 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:02:23 +00:00
Mark Jaquith 2d54780d5e Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889. fixes #11145. fixes #11990
git-svn-id: https://develop.svn.wordpress.org/trunk@12987 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 10:07:57 +00:00
Ryan Boren 7ea506e02a Integrate remove_tinymce_media_button() into wp_tiny_mce(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12954 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 20:00:18 +00:00
Ryan Boren eeaa9c307e Add lrm to fix bidi test display in RTL languages. Props ramiy. fixes #11919
git-svn-id: https://develop.svn.wordpress.org/trunk@12944 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 16:45:55 +00:00
Ryan Boren 783902b5d2 Fix notices when publishing with QuickPress. Props nacin, hakre. fixes #11504
git-svn-id: https://develop.svn.wordpress.org/trunk@12873 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:34:11 +00:00
Ryan Boren e2adfc832a Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +00:00
Ryan Boren 8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren b74bea8a2c Merge edit-pages.php into edit.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12728 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:58:36 +00:00
Ryan Boren 105573a2f9 register_post_type(). see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12719 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 18:49:56 +00:00
Ryan Boren 2a68d3919d Allow per_page settings for custom post type edit screens. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12707 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 15:41:10 +00:00
Ryan Boren 0e4bc929a1 Make wp_edit_posts_query() more post_type aware. Use array calling style. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12706 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 15:23:10 +00:00
Ryan Boren 4e3864bd28 Merge page-new.php into post-new.php. Start abstracting column headers and prefs. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12702 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 00:14:27 +00:00
Ryan Boren dfe2e39c2c Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: https://develop.svn.wordpress.org/trunk@12616 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:01:52 +00:00
Ryan Boren 9ef2cb198f More custom post type support. Props scribu. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 16:58:43 +00:00
Ryan Boren 6de4fcc190 Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: https://develop.svn.wordpress.org/trunk@12513 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:16:53 +00:00
Peter Westwood c7d6c83b94 Updated phpDoc for wp-admin/includes/post.php . Fixes #11198 based on a patch from Simek.
git-svn-id: https://develop.svn.wordpress.org/trunk@12483 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-22 12:25:15 +00:00
Ryan Boren 16b48edadf Don't fallback to the options database when retrieving *_per_page user options. Props nacin. fixes #11385
git-svn-id: https://develop.svn.wordpress.org/trunk@12375 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 23:14:43 +00:00
Ryan Boren b0c20621cd Call wp_cache_delete after issuing update actions. Props Denis-de-Bernardy. fixes #11397
git-svn-id: https://develop.svn.wordpress.org/trunk@12373 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-11 16:44:41 +00:00
Mark Jaquith ab97039f96 Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: https://develop.svn.wordpress.org/trunk@12351 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 06:14:36 +00:00
Mark Jaquith 5d021234c2 More standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: https://develop.svn.wordpress.org/trunk@12343 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:24:32 +00:00
Mark Jaquith 54410e03f6 Introducing set_post_image_size(w, h, crop) so themes can register their special size/crop for canonical post images. WP will create this size/crop upon upload, so your canonical post images fit your space exactly!
git-svn-id: https://develop.svn.wordpress.org/trunk@12342 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:08:19 +00:00
Ryan Boren bd86766a72 Use stripslashes_deep to strip meta values. Props JonathanRogers, Sewar. fixes #10656
git-svn-id: https://develop.svn.wordpress.org/trunk@12336 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 00:48:39 +00:00
Mark Jaquith d8e1e13b43 Reverting [12324] and [12322] after some discussion.
git-svn-id: https://develop.svn.wordpress.org/trunk@12328 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 04:31:44 +00:00
Mark Jaquith b54aedfe6f Make codex link open in a new window
git-svn-id: https://develop.svn.wordpress.org/trunk@12324 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 17:30:56 +00:00
Mark Jaquith 236b329a88 Display Post/Page Thumbnail meta box even if theme does not support it -- just display an info message. props janeforshort
git-svn-id: https://develop.svn.wordpress.org/trunk@12322 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 17:02:51 +00:00
Ryan Boren 6115dc47b2 Save parent temp ID for unattached attachments in postmeta. Props scribu. fixes #9471
git-svn-id: https://develop.svn.wordpress.org/trunk@12298 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-30 21:41:52 +00:00
Andrew Ozz 387ac8c9b5 Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: https://develop.svn.wordpress.org/trunk@12284 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 11:29:54 +00:00
Ryan Boren 4fd7b2fd8b Fix warnings
git-svn-id: https://develop.svn.wordpress.org/trunk@12246 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 19:46:10 +00:00
Ryan Boren a4912dccf2 Use preg_replace_callback to eliminate eval. Props BenBE1987. fixes #10896
git-svn-id: https://develop.svn.wordpress.org/trunk@12198 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-17 19:25:01 +00:00
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