Commit Graph

1007 Commits

Author SHA1 Message Date
ryan 6ea5924298 Faster is_serialized(). Props duck_, hakre, Denis-de-Bernardy. see #14429
git-svn-id: http://svn.automattic.com/wordpress/trunk@16300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:10:16 +00:00
scribu a1d7b0f945 Make get_file_data() regex more precise. Fixes #15193
git-svn-id: http://svn.automattic.com/wordpress/trunk@16215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 22:22:28 +00:00
westi 93bb73ea88 Restore the functionality of some of the other timezone format modifiers in date_i18n props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 11:19:06 +00:00
nacin 63d8410bfa Move an array cast further down the stack. props filosofo, fixes #13965.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 22:39:53 +00:00
westi 00cfb6bd82 Fix some notices when pinging
git-svn-id: http://svn.automattic.com/wordpress/trunk@16069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 07:07:28 +00:00
westi 1237f25dc6 Add a TODO to review this code later.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 22:00:53 +00:00
westi 717ef94b9b Missing part of the admin bar rework. See #14772 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 11:48:22 +00:00
nacin 7c92b4ca0d Use esc_html. Ancient, deprecated functions, but a valid fix nonetheless. fixes #14199.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 06:30:59 +00:00
nacin 71815b682c Use call_user_func for wpnique_filename callback. fixes #14627.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 22:27:06 +00:00
nacin 81f2d8b405 Don't show the admin bar in the plugin/theme installers. Inserts condition directly into iframe_header(). Allows show_admin_bar() to be called after init by unsetting wp_admin_bar, thus preventing render once those hooks are fired. see #14772.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-23 19:49:25 +00:00
westi eb3d1dd7c8 Fix variable mis-name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 13:38:50 +00:00
ryan a002cfdc7f Equal equal equal. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@15864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 13:27:55 +00:00
ryan 2814ee67e1 show_admin_bar(). see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@15863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 13:23:39 +00:00
nacin b3334f02af Doc fixes for wp_find_hierarchy_loop. props mdawaffe, fixes #14662.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 08:16:10 +00:00
nacin 5e1184aa57 Pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:48:22 +00:00
nacin 76e493c281 Full @since's for 3.1.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:38:42 +00:00
scribu efb8b6abcc Get rid of wp_cache_key(), as it's not really that useful. See [15838]
git-svn-id: http://svn.automattic.com/wordpress/trunk@15839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 21:54:39 +00:00
scribu ea1470d6af Fix custom post type feed when no regular posts present. Props aaroncampbell for initial patch. Fixes #14922
git-svn-id: http://svn.automattic.com/wordpress/trunk@15838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 21:06:49 +00:00
ryan 580bf5eead Allow turning off the admin bar via WP_SHOW_ADMIN_BAR constant, no_admin_bar() function, or show_admin_bar filter. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@15834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-18 17:58:36 +00:00
nacin dbd2431a55 Remove debug cruft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 08:55:06 +00:00
ryan 0a01e66745 Prevent post and term hierarchy loops. Props mdawaffe. fixes #14662
git-svn-id: http://svn.automattic.com/wordpress/trunk@15806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 15:09:04 +00:00
ryan 9c31fd7c70 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: http://svn.automattic.com/wordpress/trunk@15746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 19:34:18 +00:00
scribu 31797f691a Move _wp_search_sql() into WP_Object_Query. Introduce WP_Comment_Search. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@15723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 21:05:31 +00:00
scribu f558d12bf0 Introduce WP_Object_Query. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@15715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 18:57:13 +00:00
scribu 1190c4094b Strip redundant 'meta_' from 'meta_query' keys. See #14645
git-svn-id: http://svn.automattic.com/wordpress/trunk@15714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-04 18:26:26 +00:00
scribu 688f990cd0 Split wp_filter_object_list() into wp_list_filter() and wp_list_pluck(). Fixes #15016
git-svn-id: http://svn.automattic.com/wordpress/trunk@15686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 18:48:51 +00:00
scribu 70728369f9 Set 'cat' query var for backwards compatibility. Fixes #15007
git-svn-id: http://svn.automattic.com/wordpress/trunk@15685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 18:03:06 +00:00
dd32 26bf32ac3e utilise wp_guess_url() in installation redirection to provide an Absolute URL. See #14062. See #14904
git-svn-id: http://svn.automattic.com/wordpress/trunk@15680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-02 03:08:02 +00:00
nacin 9e97f25249 Always include wp-db.php. Prevents a conditional include and allows db dropins to cleanly extend the wpdb class. Move require_wp_db() to load.php for consistency with bootloader helpers. fixes #14508.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-20 19:13:47 +00:00
ryan dbe85a7f46 Speed up is_serialized() with strpbrk(). Props Rasmus. see #14429
git-svn-id: http://svn.automattic.com/wordpress/trunk@15636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-20 18:11:06 +00:00
scribu c2100074d3 Clarify code in wp_load_alloptions(). Props joelhardi. Fixes #14896
git-svn-id: http://svn.automattic.com/wordpress/trunk@15634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-19 11:08:20 +00:00
nacin 4850c82d1c Fix UPLOADS constant. see #14840.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-10 20:29:19 +00:00
nacin 5a20c05d27 Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 11:21:11 +00:00
scribu 80e2918946 Use _wp_meta_sql() in WP_Query. See #14572. See #14645
git-svn-id: http://svn.automattic.com/wordpress/trunk@15581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-06 11:28:59 +00:00
scribu c27d704999 Use multiple JOINs instead of CASE in _wp_meta_sql(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-06 11:04:50 +00:00
scribu 6fd94cd065 Rewrite WP_User_Query to use JOIN instead of subquery. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-06 08:09:41 +00:00
scribu 7d0891ad85 Use get_users() in wp_dropdown_users(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 18:47:25 +00:00
scribu babd60d5d5 Don't suppress errors in _wp_meta_sql(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 14:54:55 +00:00
scribu 11ff3a7ce9 call get_users() from get_users_of_blog()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 14:35:55 +00:00
scribu 27d0a177f7 introduce _wp_meta_sql(). Preparation for adding blog_id to WP_User_Query. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 13:31:33 +00:00
scribu c6056827ed Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 23:21:05 +00:00
scribu 020ce73746 Ajaxify list-type screens in the admin. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-11 21:54:51 +00:00
dd32 a14d289755 Alot more tabs. Props jacobsantos & Viper007bond. See #14147
git-svn-id: http://svn.automattic.com/wordpress/trunk@15355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-30 00:05:18 +00:00
dd32 c22f156a8a And the rest of r15353. See #14147
git-svn-id: http://svn.automattic.com/wordpress/trunk@15354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-29 23:54:39 +00:00
dd32 1c986a3e88 Tabs are so much nicer than spaces.. Props jorbin. Fixes #14147
git-svn-id: http://svn.automattic.com/wordpress/trunk@15353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-29 23:52:33 +00:00
wpmuguru 74d9ba3159 allow custom content dir in WP 3.0 main site, fixes #13733
git-svn-id: http://svn.automattic.com/wordpress/trunk@15197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 19:37:51 +00:00
ryan 17129fb62e Cut 'em out, move 'em on, trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@15116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 20:04:07 +00:00
ryan 2c07470d40 clearstatcache() after writing files. Props momo360modena. fixes #13683
git-svn-id: http://svn.automattic.com/wordpress/trunk@15106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 14:01:21 +00:00
nacin 7df33632b7 Even better, remove all UI for global terms. Add a filter to global_terms_enabled() and also allow the site option to simply be deleted. fixes #12666.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 20:45:59 +00:00
dd32 bde0019142 Clone Objects in add_option()/update_option() to prevent storing PHP5 object references in memory cache. See [9740]. Fixes #13480
git-svn-id: http://svn.automattic.com/wordpress/trunk@14777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 14:15:59 +00:00