Commit Graph

3274 Commits

Author SHA1 Message Date
Andrew Nacin 146886cd72 Use wp_die() in ajax-actions. props kurtpayne. see [19801], fixes #15327.
git-svn-id: https://develop.svn.wordpress.org/trunk@19802 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 22:14:39 +00:00
Ryan Boren 52048ffa75 Drop the comment_approved index from the comments table. comment_approved_date_gmt is sufficient. fixes #19935
git-svn-id: https://develop.svn.wordpress.org/trunk@19799 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 18:26:07 +00:00
Ryan Boren 22784619f4 Drop the blog_id column from the options table during upgrade. Props barry. fixes #17188
git-svn-id: https://develop.svn.wordpress.org/trunk@19798 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 17:45:22 +00:00
Ryan Boren 3d3073d095 Remove blog_id column from wp_options. Props scribu. fixes #17188
git-svn-id: https://develop.svn.wordpress.org/trunk@19793 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 20:47:25 +00:00
Ryan Boren 9e6fbb0061 Check the return of wp_insert_term() for WP_Error or array. Prevents fatal erros and failure to add categories when adding terms via ajax. Props mdawaffe. fixes #17938 #17939
git-svn-id: https://develop.svn.wordpress.org/trunk@19792 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 18:19:27 +00:00
Andrew Nacin fd475e222d Use the _x context function. props Mamaduka. see #19601.
git-svn-id: https://develop.svn.wordpress.org/trunk@19788 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 23:43:14 +00:00
Andrew Nacin ea092db65b Switch to Feedback, from Suggest Ideas, for a default link, based on 3.3 toolbar. see #19601.
git-svn-id: https://develop.svn.wordpress.org/trunk@19786 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 20:25:59 +00:00
Andrew Nacin 7ed9b79485 Allow translators to specify a default timezone string OR GMT offset. Stop doing date('Z')/3600 math for default gmt_offset, as since WP 2.9, we set server time to UTC. Server time is unreliable, so no workarounds for now. fixes #19601.
git-svn-id: https://develop.svn.wordpress.org/trunk@19785 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 20:04:11 +00:00
Andrew Nacin 75b11699c1 Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440. see #5517.
git-svn-id: https://develop.svn.wordpress.org/trunk@19784 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 19:56:33 +00:00
Andrew Nacin 2801fa6b22 Offer default links and applicable URLs for translation. Some of these are already translatable elsewhere. see #19601.
git-svn-id: https://develop.svn.wordpress.org/trunk@19781 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 05:14:59 +00:00
Andrew Nacin 2bb75d0e27 Offer start_of_week for translation. see #19601.
git-svn-id: https://develop.svn.wordpress.org/trunk@19780 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 04:21:53 +00:00
Ryan Boren 4b5b2e4658 Load the new admin and network admin mo files, if present. see #19852
git-svn-id: https://develop.svn.wordpress.org/trunk@19772 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 22:19:56 +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 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
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
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
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 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
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 5ccd02fb01 Create a network/about.php page and leverage it, to prevent the dashboard from switching to the blog admin. fixes #19762.
git-svn-id: https://develop.svn.wordpress.org/trunk@19699 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 17:53:41 +00:00
Dion Hulse 4afc9e59e2 Fix edge case in get_home_path() where the incorrect path may be returned. Props ptahdunbar. Fixes #18768
git-svn-id: https://develop.svn.wordpress.org/trunk@19697 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-06 13:46:22 +00:00
Andrew Nacin 8d60951aa4 Use array_filter() to remove empty values from an array, not jankiness.
git-svn-id: https://develop.svn.wordpress.org/trunk@19691 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 21:22:44 +00:00
Andrew Nacin be1142f66f Update some old upgrade functions to use untrailingslashit().
git-svn-id: https://develop.svn.wordpress.org/trunk@19690 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 21:21:51 +00:00
Ryan Boren a8d77cbae9 User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
git-svn-id: https://develop.svn.wordpress.org/trunk@19687 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:50:54 +00:00
Jon Cave c90c0e8600 Remove "the hackiest hack that ever did hack" from add_user(). wp_insert_user()/edit_user() can deal with adding new users of any defined role. Fixes #18749.
git-svn-id: https://develop.svn.wordpress.org/trunk@19686 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:38:40 +00:00
Ryan Boren 5e76729992 One newline is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@19684 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:10:39 +00:00
Andrew Nacin 8b37e9a821 Fix typo in [19052]. Believe it or not, it worked as is. props TobiasBg.
git-svn-id: https://develop.svn.wordpress.org/trunk@19680 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 23:06:49 +00:00
Ryan Boren c855c642ea Clear strict notices for the walkers. fixes #19249
git-svn-id: https://develop.svn.wordpress.org/trunk@19679 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 23:03:46 +00:00
Ryan Boren 3e9c3dbed6 Introduce term_is_ancestor_of(). Finish taxonomy support for wp_insert_category(). Props garyc40. fixes #15581
git-svn-id: https://develop.svn.wordpress.org/trunk@19678 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 22:44:19 +00:00
Ryan Boren f1ec82c3a7 Update some @since. Props dgwyer. fixes #19638
git-svn-id: https://develop.svn.wordpress.org/trunk@19673 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 19:03:33 +00:00
Andrew Nacin 31be442135 Fix tabbing for comment reply and edit. see #19727, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19665 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 20:18:31 +00:00
Andrew Nacin b5a9ad17b9 Add a space.
git-svn-id: https://develop.svn.wordpress.org/trunk@19656 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 18:06:03 +00:00
Andrew Nacin c2eb0dd98c Remove esc_js() as this content now gets json encoded rather than a straight echo. props ocean90. see #19644, for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19655 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 18:04:56 +00:00
Andrew Nacin 64a967b0f0 Fix widget count on dashboard to account for orphaned widgets. see #19553 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19653 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 17:53:31 +00:00
Andrew Nacin 8fd2ce80b6 Revert half of [19639]. If the blog_upload_space site_option is '0', restore 50 as a default. see #19538.
git-svn-id: https://develop.svn.wordpress.org/trunk@19652 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-03 17:24:51 +00:00
Andrew Nacin 3350723c21 Better checking for values for multisite upload limits. see #19538 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19639 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-30 23:10:54 +00:00
Ryan Boren c29f1b7fee Remove Recently Updated from dash Plugins widget. see #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19630 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-23 00:26:58 +00:00
Ryan Boren aea340f3d8 About face. Revert [19628]. Gonna improve Plugins widget instead of tossing it. see #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19629 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-23 00:25:09 +00:00
Ryan Boren c736bcfacb Remove Plugins dashboard widget. fixes #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19628 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-22 21:57:21 +00:00
Ryan Boren f009eb7170 Remove 'Recently Updated' from plugin installer. Props nacin. see #19573
git-svn-id: https://develop.svn.wordpress.org/trunk@19627 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-22 21:21:57 +00:00
Ryan Boren cb374258bb Remove extraneuos newlines
git-svn-id: https://develop.svn.wordpress.org/trunk@19623 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-21 18:42:11 +00:00
Ryan Boren 54067a5f20 Remove extraneous spaces. Props kenan3008, dimadin. fixes #19501 #19433
git-svn-id: https://develop.svn.wordpress.org/trunk@19596 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-14 17:36:38 +00:00
Ryan Boren b5976a8597 Trunk is now 3.4 alpha
git-svn-id: https://develop.svn.wordpress.org/trunk@19594 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:47:39 +00:00
Ryan Boren 676ba7043e Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:45:31 +00:00
Ryan Boren 140ff4e84b Update _old_files for 3.3. fixes #19517
git-svn-id: https://develop.svn.wordpress.org/trunk@19588 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-12 20:24:19 +00:00
Ryan Boren ae0d5be06c Best practice, use wp_safe_redirect() when dealing with referrers. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@19579 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 18:26:48 +00:00
Ryan Boren d26f0a4c40 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19577 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-08 23:02:33 +00:00