Commit Graph

1036 Commits

Author SHA1 Message Date
Mark Jaquith d79937e6a3 Make plugin header parsing slightly more liberal (like it was in 3.0), to allow for PHPdoc style headers. props miqrogroove. fixes #16751 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17516 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-09 05:46:58 +00:00
Ryan Boren 451d7d8ffb Pink the whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@17435 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:35:36 +00:00
Ryan Boren 40ef969983 Return early if list is not an array. Props nacin. fixes #16499 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17427 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-09 17:06:22 +00:00
Ryan Boren e1b27b6bd9 Set tag_id for tag queries. Add NOT support to wp_list_filter(). Props scribu. fixes #16170
git-svn-id: https://develop.svn.wordpress.org/trunk@17251 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 18:56:59 +00:00
Ryan Boren bf811456b4 Admin bar visibility prefs. Props duck_. see #15829
git-svn-id: https://develop.svn.wordpress.org/trunk@17032 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 21:48:30 +00:00
Peter Westwood ee16fbfe00 -- bad white space
git-svn-id: https://develop.svn.wordpress.org/trunk@17022 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:40:15 +00:00
Peter Westwood 99aa874270 Ensure show_admin_bar( false ) works after init. Fixes #15856.
git-svn-id: https://develop.svn.wordpress.org/trunk@17021 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-17 08:34:36 +00:00
Ryan Boren 748f5f0154 phpdoc notation fixes. Props demetris. fixes #15852
git-svn-id: https://develop.svn.wordpress.org/trunk@17009 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 22:46:13 +00:00
Ryan Boren c1e26ef82c Add like_escape() to some queries. fixes #15764
git-svn-id: https://develop.svn.wordpress.org/trunk@16999 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 14:22:41 +00:00
Andrew Nacin 0b37b225a1 Grammar and spelling. see #15824.
git-svn-id: https://develop.svn.wordpress.org/trunk@16946 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 12:09:53 +00:00
Andrew Nacin bdacc3985a Move _doing_it_wrong to other debug functions. Modify docs and the output message. see #15824.
git-svn-id: https://develop.svn.wordpress.org/trunk@16945 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 12:06:39 +00:00
Peter Westwood a95a5b65cc Better message text to reflect that it might not just be an incorrect argument but maybe your calling something way too early. See #15824
git-svn-id: https://develop.svn.wordpress.org/trunk@16942 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:39:23 +00:00
Peter Westwood 3b1748b60d Zap the extra * props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@16941 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:34:52 +00:00
Peter Westwood 052f67d71f Introduce _doing_it_wrong(). See #15824.
git-svn-id: https://develop.svn.wordpress.org/trunk@16939 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:29:50 +00:00
Dion Hulse c6f239ae68 Fix fatal error on IIS after r16797. props peaceablewhale. Limit variable string searching when possible. See #10187
git-svn-id: https://develop.svn.wordpress.org/trunk@16904 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:31:33 +00:00
Ryan Boren 6dc2d07bc4 Pink trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@16900 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-13 21:21:50 +00:00
scribu b8fdaa2dff Correct get_file_data() inline doc. Fixes #14071
git-svn-id: https://develop.svn.wordpress.org/trunk@16828 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 03:30:23 +00:00
Mark Jaquith 67ca818f87 Fix up the PHPdoc for get_file_data(). props hakre. fixes #14071
git-svn-id: https://develop.svn.wordpress.org/trunk@16741 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 03:44:36 +00:00
Mark Jaquith 13ed00f2d4 Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107
git-svn-id: https://develop.svn.wordpress.org/trunk@16696 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:45:47 +00:00
Ryan Boren 36a4508140 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: https://develop.svn.wordpress.org/trunk@16660 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:24:38 +00:00
scribu 756645d701 Minor code beautification. Props hakre. Fixes #15569
git-svn-id: https://develop.svn.wordpress.org/trunk@16581 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 02:14:33 +00:00
scribu 81e04a887e Make get_file_data() regex even more precise. Props hakre. See #15193
git-svn-id: https://develop.svn.wordpress.org/trunk@16552 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 19:37:31 +00:00
Andrew Nacin ccea27cbe7 More param fixes, props duck_. see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@16469 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:12:48 +00:00
Ryan Boren 4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Nikolay Bachiyski 77254fc657 Fallback to only RTL attributes in wp_die()'s HTML tag if it's very early in the execution. Fixes #6132. Props RanYanivHartstein and nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@16392 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 20:13:05 +00:00
Andrew Nacin 8d9b2cd2b3 Properly check, initialize, or cast a number of variables. props ChenHui. see #14642.
git-svn-id: https://develop.svn.wordpress.org/trunk@16377 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 06:38:10 +00:00
scribu 32b416f959 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: https://develop.svn.wordpress.org/trunk@16365 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 15:50:02 +00:00
Andrew Nacin 200eefec46 Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: https://develop.svn.wordpress.org/trunk@16340 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 09:53:55 +00:00
Ryan Boren 8ad934c85d Prevent stomping of global. Props prettyboymp. fixes #13945
git-svn-id: https://develop.svn.wordpress.org/trunk@16303 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:22:18 +00:00
Ryan Boren c79e13144c Faster is_serialized(). Props duck_, hakre, Denis-de-Bernardy. see #14429
git-svn-id: https://develop.svn.wordpress.org/trunk@16300 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:10:16 +00:00
scribu b3d19ecb16 Make get_file_data() regex more precise. Fixes #15193
git-svn-id: https://develop.svn.wordpress.org/trunk@16215 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 22:22:28 +00:00
Peter Westwood 432fa1921c Restore the functionality of some of the other timezone format modifiers in date_i18n props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@16203 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 11:19:06 +00:00
Andrew Nacin 82ae655534 Move an array cast further down the stack. props filosofo, fixes #13965.
git-svn-id: https://develop.svn.wordpress.org/trunk@16093 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 22:39:53 +00:00
Peter Westwood 743606fac1 Fix some notices when pinging
git-svn-id: https://develop.svn.wordpress.org/trunk@16069 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 07:07:28 +00:00
Peter Westwood 1fecd2b99c Add a TODO to review this code later.
git-svn-id: https://develop.svn.wordpress.org/trunk@16062 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 22:00:53 +00:00
Peter Westwood c0c3167621 Missing part of the admin bar rework. See #14772 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@16043 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 11:48:22 +00:00
Andrew Nacin e07a1d59c6 Use esc_html. Ancient, deprecated functions, but a valid fix nonetheless. fixes #14199.
git-svn-id: https://develop.svn.wordpress.org/trunk@16031 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 06:30:59 +00:00
Andrew Nacin 4bd893efd3 Use call_user_func for wpnique_filename callback. fixes #14627.
git-svn-id: https://develop.svn.wordpress.org/trunk@16025 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 22:27:06 +00:00
Andrew Nacin cd50525faa 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: https://develop.svn.wordpress.org/trunk@15938 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 19:49:25 +00:00
Peter Westwood 18fb594129 Fix variable mis-name.
git-svn-id: https://develop.svn.wordpress.org/trunk@15865 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 13:38:50 +00:00
Ryan Boren debdb6e258 Equal equal equal. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15864 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 13:27:55 +00:00
Ryan Boren 74ef68d6ce show_admin_bar(). see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15863 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 13:23:39 +00:00
Andrew Nacin 443d5fc7d8 Doc fixes for wp_find_hierarchy_loop. props mdawaffe, fixes #14662.
git-svn-id: https://develop.svn.wordpress.org/trunk@15846 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 08:16:10 +00:00
Andrew Nacin fb4e38b0e7 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
Andrew Nacin fc71934f11 Full @since's for 3.1.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@15842 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:38:42 +00:00
scribu dfbe420d9c Get rid of wp_cache_key(), as it's not really that useful. See [15838]
git-svn-id: https://develop.svn.wordpress.org/trunk@15839 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 21:54:39 +00:00
scribu e62f41c374 Fix custom post type feed when no regular posts present. Props aaroncampbell for initial patch. Fixes #14922
git-svn-id: https://develop.svn.wordpress.org/trunk@15838 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 21:06:49 +00:00
Ryan Boren 8b610e7c83 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: https://develop.svn.wordpress.org/trunk@15834 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 17:58:36 +00:00
Andrew Nacin 85d1a2b5b4 Remove debug cruft.
git-svn-id: https://develop.svn.wordpress.org/trunk@15813 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 08:55:06 +00:00
Ryan Boren 8e1da911a2 Prevent post and term hierarchy loops. Props mdawaffe. fixes #14662
git-svn-id: https://develop.svn.wordpress.org/trunk@15806 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 15:09:04 +00:00