Make WordPress Core

Changeset 29455


Ignore:
Timestamp:
08/09/2014 07:31:35 PM (10 years ago)
Author:
DrewAPicture
Message:

Clean up some missing @access tags and other tweaks for 4.0.0-functionality docs.

See #28885.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r29424 r29455  
    2626     *
    2727     * @since 4.0.0
     28     * @access protected
    2829     */
    2930    protected function get_installed_plugin_slugs() {
  • trunk/src/wp-includes/class-wp-embed.php

    r29160 r29455  
    195195
    196196            /**
    197              * Filter the oEmbed TTL (time to live).
     197             * Filter the oEmbed TTL value (time to live).
    198198             *
    199199             * @since 4.0.0
  • trunk/src/wp-includes/media.php

    r29438 r29455  
    22982298 *
    22992299 * @param array  $matches The regex matches from the provided regex when calling
    2300  *                        {@link wp_embed_register_handler()}.
     2300 *                        {@see wp_embed_register_handler()}.
    23012301 * @param array  $attr    Embed attributes.
    23022302 * @param string $url     The original URL that was matched by the regex.
     
    33023302 *
    33033303 * @global $wp_version
     3304 *
    33043305 * @return array The relevant CSS file URLs.
    33053306 */
  • trunk/src/wp-includes/session.php

    r29224 r29455  
    1111     *
    1212     * @since 4.0.0
    13      *
     13     * @access protected
    1414     * @var int User ID.
    1515     */
     
    3232     *
    3333     * @since 4.0.0
     34     * @access public
     35     * @static
    3436     *
    3537     * @param int $user_id User whose session to manage.
     
    5254     *
    5355     * @since 4.0.0
     56     * @access private
    5457     *
    5558     * @param string $token Token to hash.
     
    6669     *
    6770     * @since 4.0.0
     71     * @access public
    6872     *
    6973     * @param string $token Token to verify.
     
    8488     *
    8589     * @since 4.0.0
     90     * @access public
    8691     *
    8792     * @param int $expiration Session expiration timestamp.
     
    114119     *
    115120     * @since 4.0.0
     121     * @access public
    116122     *
    117123     * @param string $token Token to update.
     
    127133     *
    128134     * @since 4.0.0
     135     * @access public
    129136     *
    130137     * @param string $token Token to destroy.
     
    140147     *
    141148     * @since 4.0.0
     149     * @access public
    142150     *
    143151     * @param string $token_to_keep Token to keep.
     
    158166     *
    159167     * @since 4.0.0
     168     * @access protected
    160169     *
    161170     * @param array $session Session to check.
     
    170179     *
    171180     * @since 4.0.0
     181     * @access public
    172182     */
    173183    final public function destroy_all_tokens() {
     
    179189     *
    180190     * @since 4.0.0
     191     * @access public
     192     * @static
    181193     */
    182194    final public static function destroy_all_tokens_for_all_users() {
     
    189201     *
    190202     * @since 4.0.0
     203     * @access public
    191204     *
    192205     * @return array Sessions of a user.
     
    200213     *
    201214     * @since 4.0.0
     215     * @access protected
    202216     *
    203217     * @return array Sessions of a user, keyed by verifier.
     
    209223     *
    210224     * @since 4.0.0
     225     * @access protected
    211226     *
    212227     * @param $verifier Verifier of the session to retrieve.
     
    221236     *
    222237     * @since 4.0.0
     238     * @access protected
    223239     *
    224240     * @param $verifier Verifier of the session to update.
     
    231247     *
    232248     * @since 4.0.0
     249     * @access protected
    233250     *
    234251     * @param $verifier Verifier of the session to keep.
     
    240257     *
    241258     * @since 4.0.0
     259     * @access protected
    242260     */
    243261    abstract protected function destroy_all_sessions();
     
    247265     *
    248266     * @since 4.0.0
     267     * @access public
     268     * @static
    249269     */
    250270    public static function drop_sessions() {}
     
    262282     *
    263283     * @since 4.0.0
     284     * @access protected
    264285     *
    265286     * @return array Sessions of a user.
     
    294315     *
    295316     * @since 4.0.0
     317     * @access protected
    296318     *
    297319     * @param $verifier Verifier of the session to retrieve.
     
    311333     * Update a session by its verifier.
    312334     *
    313      * Omitting the second argument destroys the session.
    314      *
    315      * @since 4.0.0
    316      *
    317      * @param $verifier Verifier of the session to update.
     335     * @since 4.0.0
     336     * @access protected
     337     *
     338     * @param string $verifier Verifier of the session to update.
     339     * @param array  $session  Optional. Session. Omitting this argument destroys the session.
    318340     */
    319341    protected function update_session( $verifier, $session = null ) {
     
    333355     *
    334356     * @since 4.0.0
    335      *
    336      * @param array $sessions
     357     * @access protected
     358     *
     359     * @param array $sessions Sessions.
    337360     */
    338361    protected function update_sessions( $sessions ) {
     
    352375     *
    353376     * @since 4.0.0
     377     * @access protected
    354378     *
    355379     * @param $verifier Verifier of the session to keep.
     
    364388     *
    365389     * @since 4.0.0
     390     * @access protected
    366391     */
    367392    protected function destroy_all_sessions() {
     
    373398     *
    374399     * @since 4.0.0
     400     * @access public
     401     * @static
    375402     */
    376403    public static function drop_sessions() {
Note: See TracChangeset for help on using the changeset viewer.