Ryan Boren
fd10e500e4
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19054 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 19:13:23 +00:00
Andrew Nacin
94cb070299
In _doing_it_wrong(), don't append the Debugging_in_WordPress message until we go to print a message. Send a clean message to the action. see #18453 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19044 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 17:51:14 +00:00
Ryan Boren
1b45a17906
Don't use unbounded SHOW TABLES in is_blog_installed(). Do a more targeted DESCRIBE loop over the blog table list. fixes #19026
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19039 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 22:16:33 +00:00
Jon Cave
0f36a1e33b
Don't cache default value in get_site_option() for non-existent options. Fixes #18955 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19012 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:06:50 +00:00
Andrew Ozz
34e570a8ab
Add link to the codex in the doing_it_wrong notices, see #18453
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18923 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-08 22:48:05 +00:00
Dion Hulse
f07212c873
Document that add_query_arg() expects encoded data. See #18086
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18885 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 11:03:56 +00:00
Jon Cave
9f6d53a66f
Introduce wp_allowed_protocols() for use in wp_kses() and esc_url(). See #18268 .
...
This allows plugins to filter the list of protocols used for esc_url() too, and helps us keep the list of protocols in sync.
git-svn-id: https://develop.svn.wordpress.org/trunk@18826 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:33:51 +00:00
Ryan Boren
25df5fe335
Disallow indexing wp-admin and wp-includes in robots.txt. Props SergeyBiryukov. fixes #18465
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18822 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 21:47:04 +00:00
Mark Jaquith
2aa3f3c353
Add note about why double-serialization is done. props SergeyBiryukov. fixes #16597
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18807 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 02:23:26 +00:00
Peter Westwood
80cc1062af
Revert [18747] until we can discuss it further. See #18453 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18752 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 09:15:45 +00:00
Peter Westwood
cdf5d84b73
Add support for rar and 7x file uploading. Fixes #16412 props Caspie.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18751 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 08:29:35 +00:00
Andrew Ozz
033ed78e03
Postpone warnings when WP_DEBUG and WP_DEBUG_DISPLAY are set, see #18453
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18747 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-22 02:27:00 +00:00
Ryan Boren
15f12c55f9
Mark some string in dead_db() for translation. Props mako09, SergeyBiryukov. fixes #17815
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18724 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 20:21:39 +00:00
Dion Hulse
56c20818e5
Fix wp_list_filter() OR operator. Props kevinB. Fixes #18092
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18711 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 03:59:52 +00:00
Jon Cave
6d75218f6a
Introduce wp_suspend_cache_addition() to allow reduced memory usage when cache additions aren't useful. Fixes #5389 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18681 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 20:23:00 +00:00
Andrew Nacin
d893b9568c
Add phpdoc for default arg for get_option(). props amereservant, solarissmoke, fixes #17819 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18658 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 17:53:41 +00:00
Andrew Nacin
c37a788332
s/robot/robots/. props madjax, fixes #18612 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18647 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-07 13:45:06 +00:00
Jon Cave
205aa5ba5c
Fix typos in documentation (wp-includes/[a-h]). See #18560 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18633 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 16:02:41 +00:00
Ryan Boren
965dcf7bf9
Properly handle nested arrays in wp_list_filter(). Props scribu, SergeyBiryukov. fixes #16137
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18606 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 19:50:29 +00:00
Ryan Boren
2b4d72c471
wp_list_pluck() performance improvement. Props Otto42. fixes #18230
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18602 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 18:22:17 +00:00
Jon Cave
4c849e806f
Allow update_site_option to add false-y values. Fixes #15497
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18589 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 21:12:14 +00:00
Jon Cave
f66d6581a7
Use get_site_option in add/update_site_option for caching and filtering benefits. fixes #18478
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18588 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 20:45:48 +00:00
Jon Cave
bfdc119315
add_site_option should not update existing options, should return a boolean and should only run actions on success. fixes #18422
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18587 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 20:24:35 +00:00
Jon Cave
ce57212c90
add_option() should always return a boolean, see #18422
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18567 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 18:17:37 +00:00
Peter Westwood
1b3b0e211c
Fix html for back link in _default_wp_die_handler. Fixes #18459 props tenpura.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18559 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 10:54:48 +00:00
Jon Cave
2498d24c9b
Replace regex in path_is_absolute() with simpler equality checks. props coffee2code. fixes #17754
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18551 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-16 00:21:56 +00:00
Andrew Nacin
7a67f00494
Break HTML comment up into two lines to prevent phpxref from choking on the rest of functions.php. props trepmal, fixes #18409 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18548 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-15 04:51:41 +00:00
Andrew Nacin
242f97f7db
Pedantic whitespace in validate_file().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18543 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-13 06:10:02 +00:00
Peter Westwood
f55ab7feaa
Move the CSS inline to wp_die so that it is always available. Fixes #17975 , props kawauso for the style type update.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18534 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-11 19:06:59 +00:00
Andrew Nacin
45bd2b05b8
Pass old value to update_site_option hooks. props westi, fixes #17974 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18521 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 18:59:50 +00:00
Andrew Ozz
9bcfc3da39
<!DOCTYPE html> for all, fixes #18202
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 00:25:41 +00:00
Ryan Boren
6a85dc6dc1
Strip trailing slashes form WP_HOME and WP_SITEURL. Props xknown. fixes #17898
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18454 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 21:35:23 +00:00
Ryan Boren
985e2affd1
phpdoc typo fixes for functions.php. Props coffee2code. fixes #17752
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18448 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-21 17:48:25 +00:00
Andrew Nacin
6a82127a91
Remove undiscussed FIXME from add_option. fixes #16813 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18321 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-19 21:37:47 +00:00
Ryan Boren
0f089b9c47
Properly return referrer when referer = true and echo = false. Props scribu, webduo. fixes #11953
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18130 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 18:23:41 +00:00
Peter Westwood
5bb637983d
Add .ics / text/calendar to the whitelist of allowed file types. Fixes #15916 props SergeyBiryukov
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18091 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 15:08:48 +00:00
Ryan Boren
640eed5f4a
Update @since
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18032 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 15:47:17 +00:00
Andrew Nacin
02e8db225f
Use wp_remote_retrieve_* helper functions instead of the raw HTTP response array. props aaroncampbell, fixes #17416 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17928 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-14 19:45:07 +00:00
Peter Westwood
e766d629b8
Restore the functionality of date_i18n to pre [17747] so that is works without a provided timestamp again. Fixes #17278 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17841 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 17:14:36 +00:00
Ryan Boren
535ced5186
Send X-Frame-Options: SAMEORIGIN for admin and login pages. see #12293
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17826 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-06 21:28:53 +00:00
Mark Jaquith
dc7228f7b0
Speed optimizations for is_serialized_string(). fixes #17129
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17779 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-30 04:41:56 +00:00
Andrew Nacin
ca451ee1a9
Remove default-embeds.php. fixes #17112 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17751 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 17:03:23 +00:00
Andrew Nacin
f504e221e1
Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17748 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 15:24:49 +00:00
Andrew Nacin
1f4d59925e
Remove PHP 5.1/Windows code from date_i18n. Allows timestamps from pre-1970. props DH-Shredder, fixes #10332 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17747 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 15:13:30 +00:00
Peter Westwood
321ab74010
Introduce a special wp_die handler for XMLRPC requests to ensure we send an XML response.
...
Props koke for the original patch. See #16748 .
git-svn-id: https://develop.svn.wordpress.org/trunk@17643 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-17 08:35:51 +00:00
Peter Westwood
462cb55ef4
Don't do SSL discovery for every RSD request. APP endpoint already respects the SSLness of the site. Fixes #15960 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17642 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-17 07:48:34 +00:00
Ryan Boren
95d1619373
Remove PHP4 timezone support. Props hakre. fixes #16970
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17637 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-13 17:30:02 +00:00
Ryan Boren
259c415b7b
Deprecate wp_clone(). Call clone directly. Props hakre. fixes #16813
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17613 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-06 17:44:29 +00:00
Ryan Boren
9691cb5eb2
Take out unnecessary compat functions from compat.php. Props hakre, ptahdunbar. see #16918
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17603 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-05 17:13:04 +00:00
Dion Hulse
ec8280cfd8
First run of introducing Stream-To-File for the WP_HTTP API. Reduces memory consumption during file downloads. Implemented in download_url() for upgraders. Props sivel. See #16236
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17555 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-25 02:42:20 +00:00