Commit Graph

18320 Commits

Author SHA1 Message Date
Andrew Nacin 37fe51da66 Provide back compat for $theme->$var where $theme was an array from get_themes() but cast to an object, as had occurred in get_theme_updaes(). see #20173. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20112 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-04 12:58:41 +00:00
bumpbot ff391a479d Compress scripts/styles: 3.4-alpha-20111.
git-svn-id: https://develop.svn.wordpress.org/trunk@20111 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-04 05:00:20 +00:00
Daryl Koopersmith 1747f1479e Theme Customizer: Improve markup and CSS for the return/collapse actions and the action bars within the customize controls form. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20110 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-04 04:57:24 +00:00
bumpbot e3c54ff462 Compress scripts/styles: 3.4-alpha-20109.
git-svn-id: https://develop.svn.wordpress.org/trunk@20109 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-04 02:45:21 +00:00
Daryl Koopersmith bba82422d0 Theme Customizer: Add mini screenshot and description to theme info section. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20108 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-04 02:40:18 +00:00
bumpbot d09808555e Compress scripts/styles: 3.4-alpha-20107.
git-svn-id: https://develop.svn.wordpress.org/trunk@20107 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-04 02:15:20 +00:00
Daryl Koopersmith b908add2c2 Theme Customizer: Improve form markup. Make the theme title/author a section. Prevent section arrows from blocking clicks. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20106 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-04 02:06:11 +00:00
Andrew Nacin 3ec423dc93 Allow get_screenshots() to return absolute URLs. Make this the default; relative can be achieved with 'relative' as the argument. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20105 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-04 01:16:32 +00:00
Daryl Koopersmith 90a115e4b4 Partially revert [20100]. The list_args JS variable cannot be extended due to its use as an argument in fetch-list. see #19815.
We should reattempt extending the args created in WP_List_Table, but will need to deprecate the current list_args to do so.

Also, infinite scroll on themes pages is no longer broken. Go team.

git-svn-id: https://develop.svn.wordpress.org/trunk@20104 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-03 02:40:43 +00:00
bumpbot ba75fc6e7d Compress scripts/styles: 3.4-alpha-20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20103 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-03 00:30:21 +00:00
Andrew Nacin a7122f9269 Don't hide PHP warnings under the toolbar in the admin. fixes #19196.
git-svn-id: https://develop.svn.wordpress.org/trunk@20102 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-03 00:29:50 +00:00
Andrew Nacin df490f0ec5 Pass WP_User object to the newuser_notify_siteadmin filter. props boonebgorges. fixes #20162.
git-svn-id: https://develop.svn.wordpress.org/trunk@20101 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 23:52:19 +00:00
Andrew Nacin b6b4d37fcb Allow WP_List_Table::_js_vars() to take an array of additional args to add. Allows us to have a single variable printing data when child classes need more data. Also, fix compact() call in [20094]. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20100 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 23:06:31 +00:00
Andrew Nacin 153b1ef591 In the admin, render the Toolbar immediately, rather than waiting until the footer. When intensive pages take a while to load, you aren't stuck without a working admin header. fixes #20161.
git-svn-id: https://develop.svn.wordpress.org/trunk@20099 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:51:29 +00:00
Andrew Nacin c56b5f3f59 Use sanitize_key(). sanitize_title_with_dashes() is more than we need. see #19815. see [20096], [20097].
git-svn-id: https://develop.svn.wordpress.org/trunk@20098 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:32:29 +00:00
Andrew Nacin 9f47e027ca Revert [20096] which was an accidental partial revert of [20094]. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20097 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:31:15 +00:00
Andrew Nacin 7dd527a421 Use sanitize_key() for theme search tags/features. sanitize_title_with_dashes() is overkill. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20096 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:26:58 +00:00
bumpbot fd8c500bda Compress scripts/styles: 3.4-alpha-20095.
git-svn-id: https://develop.svn.wordpress.org/trunk@20095 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:15:21 +00:00
Andrew Nacin 43209998c6 Output themes and theme-install infinite scrolling args in JS, rather than parsing query strings. props DH-Shredder, helenyhou. Make WP_Theme_Install_List_Table extend WP_Themes_List_Table. Doesn't help much yet, but we should be able to dry things up further. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20094 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:09:26 +00:00
Jon Cave d996b72215 Use tabs for indentation.
git-svn-id: https://develop.svn.wordpress.org/trunk@20093 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:03:15 +00:00
Jon Cave c6d3eafb7e Drop unnecessary if-statements which also have some strange logic. Fixes #20159.
git-svn-id: https://develop.svn.wordpress.org/trunk@20092 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:01:41 +00:00
Jon Cave c306dddb62 Prevent notices by checking if the $group key isset(). See #20004.
git-svn-id: https://develop.svn.wordpress.org/trunk@20091 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 21:57:03 +00:00
bumpbot 2ebabb330c Compress scripts/styles: 3.4-alpha-20090.
git-svn-id: https://develop.svn.wordpress.org/trunk@20090 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 21:15:21 +00:00
Ryan Boren 21bb418c04 Fix NULL and FALSE in WP_Object_Cache and make found/not-found unambiguous. Props andy. fixes #20004
git-svn-id: https://develop.svn.wordpress.org/trunk@20089 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 21:10:37 +00:00
Andrew Nacin 69485d4803 Use array_combine() in get_file_data() and avoid variable variables when an array is just fine. fixes #20126.
git-svn-id: https://develop.svn.wordpress.org/trunk@20088 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 21:07:31 +00:00
Jon Cave b80111d67c Bail from AJAX success callback if wp_ajax_add_tag() returns errors. Props solarissmoke. Fixes #20086.
git-svn-id: https://develop.svn.wordpress.org/trunk@20086 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 21:01:51 +00:00
Andrew Nacin 762b3bc702 $userdata should be null for anonymous requests. props MattyRob. props duck_ for the unit test. fixes #19769 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@20085 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 20:59:30 +00:00
bumpbot 5b12ac7e80 Compress scripts/styles: 3.4-alpha-20084.
git-svn-id: https://develop.svn.wordpress.org/trunk@20084 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 20:30:19 +00:00
Jon Cave 9d02deaa8e Add a trailing colon for consistency with other widget labels. See #20158.
git-svn-id: https://develop.svn.wordpress.org/trunk@20083 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 20:25:12 +00:00
Andrew Nacin 214ea7bfcb Use blue arrows for blue admin's screen options and help tabs. Adjust baseline to be more compatible with Firefox. props helenyhou. fixes #16114.
git-svn-id: https://develop.svn.wordpress.org/trunk@20082 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 20:23:26 +00:00
Jon Cave 2cbf23b8ba Unhide the Select Link Category label. Fixes #20158.
git-svn-id: https://develop.svn.wordpress.org/trunk@20081 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 20:21:43 +00:00
Andrew Nacin 129754ed3d Don't autoload the uninstall_plugins option. fixes #16741.
git-svn-id: https://develop.svn.wordpress.org/trunk@20080 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 20:13:35 +00:00
bumpbot 58acedae74 Compress scripts/styles: 3.4-alpha-20079.
git-svn-id: https://develop.svn.wordpress.org/trunk@20079 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 20:00:21 +00:00
Andrew Nacin b23fec65b6 <input> is not a block-level element; do not treat it like one in wpautop(). props SergeyBiryukov. props kurtpayne for the unit test. fixes #16456.
git-svn-id: https://develop.svn.wordpress.org/trunk@20078 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 19:59:50 +00:00
Andrew Nacin 1bc62a722a In miscellaneous publishing actions, use :last-child instead of a separate misc-pub-section-last class to control borders. Allows for sane use of the post_submitbox_misc_actions hook. (Actually uses :first-child for browser compat reasons.) fixes #19604.
git-svn-id: https://develop.svn.wordpress.org/trunk@20077 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 19:52:23 +00:00
Andrew Nacin b89570a1ef Improve background, styling, and alignment of the Help and Screen Options tabs. props helenyhou. props johnjamesjacoby for initial patch. see #16114.
git-svn-id: https://develop.svn.wordpress.org/trunk@20076 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 19:47:08 +00:00
Andrew Nacin 11fd4b45c0 Introduce get_page_template_slug( $id = null ) to return a page's template (like "showcase.php"). Returns false if post ID is not a page, and an empty string for the default page template. Use the function across core. props billerickson for initial patch. fixes #18750.
git-svn-id: https://develop.svn.wordpress.org/trunk@20075 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 18:56:54 +00:00
Andrew Nacin 8112ac28b7 We indent with tabs, but align with spaces.
git-svn-id: https://develop.svn.wordpress.org/trunk@20074 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 18:06:30 +00:00
Andrew Nacin b33b1839cc Add template and stylesheet to readonly options that can be pulled from XML-RPC. props koke, ericmann. see #17132.
git-svn-id: https://develop.svn.wordpress.org/trunk@20073 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 17:59:47 +00:00
Andrew Nacin f4d36e96a5 Add the wp_edit_nav_menu_walker filter to the ajax request. props wonderslug, ocean90. fixes #14527.
git-svn-id: https://develop.svn.wordpress.org/trunk@20072 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 17:50:01 +00:00
Jon Cave fcfd3e03f5 Add sorting and limiting to the links widget. Props yoavf. Fixes #12785.
git-svn-id: https://develop.svn.wordpress.org/trunk@20071 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 13:58:58 +00:00
Dion Hulse 1cbc983342 Fix a small typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@20070 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 11:00:51 +00:00
Andrew Nacin 31e6f087d7 Use correct name for feature filter REQUEST data to ensure that the search/filter form is present when a filter is active. see #20147.
git-svn-id: https://develop.svn.wordpress.org/trunk@20069 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 00:41:00 +00:00
Andrew Nacin eee4414129 Remove debug cruft.
git-svn-id: https://develop.svn.wordpress.org/trunk@20068 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 00:13:05 +00:00
Andrew Nacin 514b909597 Remove inline styles for 'Apply Filters' feature filter button. Don't <small> the 'Close filters' text. see #20147.
git-svn-id: https://develop.svn.wordpress.org/trunk@20067 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 00:01:55 +00:00
bumpbot 5986e072fa Compress scripts/styles: 3.4-alpha-20066.
git-svn-id: https://develop.svn.wordpress.org/trunk@20066 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 00:00:20 +00:00
Andrew Nacin 12aa35e6aa Remove theme tags from the themes.php UI. They just take up room and are redundant with the feature filter. The installer already does not show tags. props DH-Shredder, fixes #20147.
git-svn-id: https://develop.svn.wordpress.org/trunk@20065 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-01 23:58:10 +00:00
Andrew Nacin f2dfcad422 Line up elements on themes.php. Line up 'Available Themes' header and search/feature form. Switch to padding instead of margin for #current-theme to prevent margin-uncollapse jitters when animating the feature filter. Move 'Current Theme' inside #current-theme so it is hidden by the feature filter. see #20147.
git-svn-id: https://develop.svn.wordpress.org/trunk@20064 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-01 23:55:09 +00:00
Andrew Nacin 339251c75c New wp_die_app_handler context in wp_die() for APP requests. Introduces _scalar_wp_die_handler() as a generic handler that wraps die(), for use by plugins. Move deprecated function to the end of the wp-app.php file (same as xmlrpc.php). see #20042.
git-svn-id: https://develop.svn.wordpress.org/trunk@20063 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-01 21:35:15 +00:00
Ryan Boren 37eba79199 wp-app.php cleanup:
* Put the atom server class in class-wp-atom-server.php
* Remove log_api calls
* Update the query filter
* Replace exit calls with wp_die() for unit test compat
* Add override handler for wp_die()
* Allow plugins to replace the atom class
* Whitespace cleanup

Props kurtpayne. fixes #20042


git-svn-id: https://develop.svn.wordpress.org/trunk@20062 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-01 21:15:44 +00:00