Commit Graph

18165 Commits

Author SHA1 Message Date
Andrew Nacin 6c10676b18 s/thumbnail/post-thumbnail/. props PeteMall, fixes #19804.
git-svn-id: https://develop.svn.wordpress.org/trunk@19750 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-25 00:21:02 +00:00
Andrew Nacin c647c3494d Use get_blog_prefix() in another MU function. see #19891.
git-svn-id: https://develop.svn.wordpress.org/trunk@19749 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-25 00:10:46 +00:00
Andrew Nacin 844dd38b8f Use get_blog_prefix() in get_most_recent_post_of_user(). see #19891.
git-svn-id: https://develop.svn.wordpress.org/trunk@19748 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-25 00:09:30 +00:00
Andrew Nacin c8b1c822ce Remove copy-pasted comment from upload_is_user_over_quota()'s phpdoc. It came from recurse_dirsize(). see #19879.
git-svn-id: https://develop.svn.wordpress.org/trunk@19747 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-24 23:54:24 +00:00
Andrew Nacin 2876772da7 Revert [19745].
git-svn-id: https://develop.svn.wordpress.org/trunk@19746 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-24 22:14:42 +00:00
Andrew Nacin 447c3b5f42 --no-auth-cache
git-svn-id: https://develop.svn.wordpress.org/trunk@19745 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-24 22:12:53 +00:00
Andrew Nacin 838bb8c0c5 s/parem/param/. props Latz. fixes #19823.
git-svn-id: https://develop.svn.wordpress.org/trunk@19744 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-24 21:52:49 +00:00
Jon Cave a9b6163795 Upgrade add_permastruct() to allow more control over WP_Rewrite::generate_rewrite_rules(). See #16092.
The third argument is now a configuration array that mirrors the parameters of generate_rewrite_rules()
and allows for add_permastruct() specific args (i.e. with_front). The full configuration is stored in
WP_Rewrite::$extra_permastructs to be used by WP_Rewrite::rewrite_rules().


git-svn-id: https://develop.svn.wordpress.org/trunk@19743 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-24 18:27:18 +00:00
Andrew Nacin 28cfc3cd49 Correct logic inversion. #19275.
git-svn-id: https://develop.svn.wordpress.org/trunk@19742 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-23 20:10:01 +00:00
Andrew Nacin 7140ded1cc Clean up and better document create_initial_taxonomies(). see #19275.
git-svn-id: https://develop.svn.wordpress.org/trunk@19741 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-23 19:58:26 +00:00
Andrew Nacin 05d413f123 Args is an object, not an array. props duck_, aaroncampbell. see #19275.
git-svn-id: https://develop.svn.wordpress.org/trunk@19740 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-23 19:32:39 +00:00
Andrew Nacin 85a0652a83 Strip down admin-ajax.php to be a bare ajax handler. Move core ajax handlers to admin/includes/ajax-actions.php. props kurtpayne, ryan. see #15327. see [19738] for initial commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@19739 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-23 19:31:15 +00:00
Andrew Nacin 8900888567 Add 'ep_mask' as an argument to the 'rewrite' array for register_post_type() and register_taxonomy(). Keeps 'permalink_epmask' compatible as an argument for post type registrations. Fixes endpoints for category and tag pages. fixes #19275.
git-svn-id: https://develop.svn.wordpress.org/trunk@19738 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-23 19:12:04 +00:00
Jon Cave 3652e88cad Set $paged and $walk_dirs to false in calls to WP_Rewrite::generate_rewrite_rules() for posts/pages. See #19876.
git-svn-id: https://develop.svn.wordpress.org/trunk@19737 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-23 19:03:56 +00:00
Jon Cave cf4e9851fe Simplify code in WP_Rewrite::page_rewrite_rules() and remove out-of-date documenation. Fixes #19875.
git-svn-id: https://develop.svn.wordpress.org/trunk@19736 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-22 17:21:29 +00:00
Ryan Boren 2aa4b228e3 Match the exact role name when counting users in a role. Props 082net. fixes #12693
git-svn-id: https://develop.svn.wordpress.org/trunk@19735 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-20 16:34:26 +00:00
Jon Cave d2306a693b Update hierarchy for all hierarchical post types when deleting a parent post, not just for pages. Fixes #19637.
git-svn-id: https://develop.svn.wordpress.org/trunk@19734 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-13 18:37:46 +00:00
Jon Cave 2b4d4a1ec1 Prevent "Undefined index: settings-updated" notice in settings_errors(). Props garyc40. Fixes #19377.
git-svn-id: https://develop.svn.wordpress.org/trunk@19733 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-13 18:15:55 +00:00
Dion Hulse d58286e998 Re-pin Akismet to 2.5.5. Fixes #19812
git-svn-id: https://develop.svn.wordpress.org/trunk@19732 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-12 02:47:52 +00:00
Jon Cave 62a82bbe22 Remove extraneous single quote. Props garyc40. Fixes #19801.
git-svn-id: https://develop.svn.wordpress.org/trunk@19731 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-11 23:35:35 +00:00
Ryan Boren 77958da0d2 Update register_taxonomy_for_object_type() phpdoc to reflect that the post_type must be a string only, no arrays allowed. Props transom. fixes #19795
git-svn-id: https://develop.svn.wordpress.org/trunk@19730 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-11 21:39:01 +00:00
Ryan Boren 285247786e Use wp_cache_add() instead of wp_cache_set() when priming the object term cache in update_object_term_cache(). Pass the real post_type to clean_object_term_cache() instead of hard-coding post. Call clean_object_term_cache() from clean_bookmark_cache(). Props leewillis77. fixes #19690
git-svn-id: https://develop.svn.wordpress.org/trunk@19729 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-11 21:26:18 +00:00
Ryan Boren ee4f1cfe80 Hash post password in cookies. fixes #19797
git-svn-id: https://develop.svn.wordpress.org/trunk@19728 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-11 16:42:42 +00:00
Jon Cave 148329fecb Rewrite rules don't need to be flushed on every page save/delete as they're no longer verbose. Fixes #19636.
git-svn-id: https://develop.svn.wordpress.org/trunk@19727 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-10 22:55:38 +00:00
Jon Cave 156048ca52 split was deprecated in PHP 5.3.0, so use explode instead. Props garyc40. Fixes #16325.
git-svn-id: https://develop.svn.wordpress.org/trunk@19726 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 21:20:51 +00:00
Ryan Boren 55d6e7e261 Update wp_salt() phpdoc. fixes #18696
git-svn-id: https://develop.svn.wordpress.org/trunk@19725 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 20:52:08 +00:00
Ryan Boren dc3bccda20 Code cleanup in the paging block. Props kawauso. fixes #19773
git-svn-id: https://develop.svn.wordpress.org/trunk@19724 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 20:08:57 +00:00
Andrew Nacin 96c2ae4409 'No comments awaiting moderation.' props demetris. fixes #15689.
git-svn-id: https://develop.svn.wordpress.org/trunk@19723 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 19:53:51 +00:00
Ryan Boren 3a1b732f51 Use microtime() for cron locks. fixes #19700
git-svn-id: https://develop.svn.wordpress.org/trunk@19722 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 19:02:31 +00:00
Andrew Nacin e1b429fd67 Add Twitter.com as an oEmbed provider. props Otto42. see #19626.
git-svn-id: https://develop.svn.wordpress.org/trunk@19721 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 17:43:48 +00:00
Andrew Nacin ba219cf998 Prefix table name against the post_parent field in _edit_attachments_query_helper() to avoid ambiguous queries. props benbalter. fixes #19779.
git-svn-id: https://develop.svn.wordpress.org/trunk@19720 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-09 15:55:30 +00:00
bumpbot 9a6f2ac850 Compress scripts/styles: 3.4-alpha-19719.
git-svn-id: https://develop.svn.wordpress.org/trunk@19719 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 23:27:39 +00:00
Andrew Nacin 38a73f72a2 Revert character encoding issue in [19716].
git-svn-id: https://develop.svn.wordpress.org/trunk@19718 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 23:17:46 +00:00
Daryl Koopersmith 13172523c0 Allow toolbar submenus to expand to the width of the parent item. Props camiloclc, fixes #19139.
git-svn-id: https://develop.svn.wordpress.org/trunk@19717 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 23:15:16 +00:00
bumpbot ddd5520132 Compress scripts/styles: 3.4-alpha-19716.
git-svn-id: https://develop.svn.wordpress.org/trunk@19716 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 23:05:52 +00:00
bumpbot 9b98915ea1 Compress scripts/styles: 3.4-alpha-19715.
git-svn-id: https://develop.svn.wordpress.org/trunk@19715 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 22:54:51 +00:00
bumpbot 4cc22ea2a6 Compress scripts/styles: 3.4-alpha-19713.
git-svn-id: https://develop.svn.wordpress.org/trunk@19714 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 22:53:10 +00:00
Daryl Koopersmith 430700d5db Improve pointer collision handling. fixes #19021.
git-svn-id: https://develop.svn.wordpress.org/trunk@19713 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 22:53:05 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Dion Hulse 31f8d18597 Show Changelog by default for "View version x.y.z details" links for Plugin updates. Props linuxologos. Fixes #19208
git-svn-id: https://develop.svn.wordpress.org/trunk@19711 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 12:36:17 +00:00
Dion Hulse 7cc1bd478d Better indentation. Props SergeyBiryukov. See #16580
git-svn-id: https://develop.svn.wordpress.org/trunk@19710 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 09:18:56 +00:00
Dion Hulse 5db48fcac4 Clean up the Plugin installer Screenshots page, Adds CSS resize support to the images to prevent them requiring scrolling and falling below the FYI box. Fixes #19777
git-svn-id: https://develop.svn.wordpress.org/trunk@19709 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 05:53:19 +00:00
Dion Hulse 7cedb26ac7 s/Faq/FAQ/ for Plugin Installer tabs, Gains Translation support for Tabs/Titles as well. Fixes #16580
git-svn-id: https://develop.svn.wordpress.org/trunk@19708 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 05:39:49 +00:00
Dion Hulse 3ff2213c55 use maybe_unserialize() in update and API checks, Tighten up the checks on expected return data to avoid processing invalid responses after change. See #19617
git-svn-id: https://develop.svn.wordpress.org/trunk@19707 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 03:48:05 +00:00
Andrew Nacin 921ba280d2 Expose default_ping_status and default_comment_status via XML-RPC. props daniloercoli. fixes #18566.
git-svn-id: https://develop.svn.wordpress.org/trunk@19706 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-07 19:08:48 +00:00
Andrew Nacin 723ed39622 Use home URL, not siteurl, in the password reset email. fixes #19767.
git-svn-id: https://develop.svn.wordpress.org/trunk@19705 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-07 18:54:08 +00:00
bumpbot 656fe02688 Compress scripts/styles: 3.4-alpha-19704.
git-svn-id: https://develop.svn.wordpress.org/trunk@19704 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:43:22 +00:00
Andrew Nacin ad1455dd33 Show cursor for the search icon. props jaquers. fixes #19594.
git-svn-id: https://develop.svn.wordpress.org/trunk@19703 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:33:40 +00:00
Jon Cave 760471a9a8 Fix mistakes in parameter documentation and add some missing param docs. See #19756.
git-svn-id: https://develop.svn.wordpress.org/trunk@19702 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:31:43 +00:00
Andrew Nacin c05a1f60a5 Use regex to fill in config-sample. Prevents translators from needing to manually translate 'database_name_here' (and friends). see #18180.
git-svn-id: https://develop.svn.wordpress.org/trunk@19701 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 18:23:51 +00:00