Logo
Explore Help
Register Sign In
vhad/wordpress-develop
Watch 1
Star 0
Fork 0
mirror of https://github.com/gosticks/wordpress-develop.git synced 2026-08-17 15:20:33 +00:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
fb8b991809bb679d4c6b0bb15c1588e92f854144
wordpress-develop/tests/phpunit/tests/general
T
History
Jeremy Felt 9d48f6c7c3 Site Icon: Wrap site icon retrieval with switch_to_blog() as needed.
When the site icon for another site is requested, retrieving its ID via `get_blog_option()` is not enough. `switch_to_blog()` is used to set proper context when required.

Adds multsite tests for `has_site_icon()`.

Props imath.
Fixes #34312.


git-svn-id: https://develop.svn.wordpress.org/trunk@35572 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-08 02:03:34 +00:00
..
archives.php
Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop.
2015-10-17 18:02:16 +00:00
document-title.php
Tests: Use most specific function for document titles.
2015-10-21 16:54:53 +00:00
errors.php
New remove() method and some unit tests for the WP_Error class.
2014-10-08 07:11:09 +00:00
paginateLinks.php
Tests: Introduce WP_UnitTestCase::reset_permalinks(), an attempt to DRY up logic for resetting and restoring default permalinks on setUp() and tearDown().
2015-10-03 17:14:12 +00:00
template.php
Site Icon: Wrap site icon retrieval with switch_to_blog() as needed.
2015-11-08 02:03:34 +00:00
Powered by Gitea Version: 1.27.1 Page: 282ms Template: 6ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API