WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/29/2015 08:16:22 PM (6 years ago)
Author:
wonderboymusic
Message:

Add missing doc blocks to wp-admin/includes/*.
Fix some egregious uses of tabbing.
Some functions can simply return apply_filters(...) instead of setting a variable that is immediately returned.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/custom-background.php

    r32116 r32654  
    109109     */
    110110    public function take_action() {
    111 
    112111        if ( empty($_POST) )
    113112            return;
     
    358357     */
    359358    public function handle_upload() {
    360 
    361359        if ( empty($_FILES) )
    362360            return;
     
    435433     * @since 3.4.0
    436434     * @deprecated 3.5.0
     435     *
     436     * @param array $form_fields
     437     * @return $form_fields
    437438     */
    438439    public function attachment_fields_to_edit( $form_fields ) {
     
    444445     * @since 3.4.0
    445446     * @deprecated 3.5.0
     447     *
     448     * @param $tabs
     449     * @return $tabs
    446450     */
    447451    public function filter_upload_tabs( $tabs ) {
Note: See TracChangeset for help on using the changeset viewer.