Make WordPress Core


Ignore:
Timestamp:
02/28/2024 09:29:03 AM (4 months ago)
Author:
swissspidy
Message:

I18N: Improve docs for pomo library classes.

Props subrataemfluence, pento, hrshahin.
Fixes #44424.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pomo/entry.php

    r56548 r57734  
    1111    /**
    1212     * Translation_Entry class encapsulates a translatable string.
     13     *
     14     * @since 2.8.0
    1315     */
    1416    #[AllowDynamicProperties]
     
    7678         * PHP4 constructor.
    7779         *
     80         * @since 2.8.0
    7881         * @deprecated 5.4.0 Use __construct() instead.
    7982         *
     
    8790        /**
    8891         * Generates a unique key for this entry.
     92         *
     93         * @since 2.8.0
    8994         *
    9095         * @return string|false The key or false if the entry is null.
     
    104109
    105110        /**
    106          * @param object $other
     111         * Merges another translation entry with the current one.
     112         *
     113         * @since 2.8.0
     114         *
     115         * @param Translation_Entry $other Other translation entry.
    107116         */
    108117        public function merge_with( &$other ) {
Note: See TracChangeset for help on using the changeset viewer.