Plugin Directory

Changeset 1967947


Ignore:
Timestamp:
11/02/2018 06:15:55 PM (7 years ago)
Author:
kshaner
Message:

fix(attachments): sending attachments to the full edit url instead of the media grid modal

Location:
jarvis/trunk
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • jarvis/trunk/README.md

    r1967327 r1967947  
    75759. 1.0.1
    7676  * Fix an installation issue some users were reporting
     7710. 1.0.2
     78  * Send attachment suggestions to the 'Edit more details' page instead of the grid view as wp.media-grid throws an error if the item is not already loaded in the grid
    7779
    7880## Develop
  • jarvis/trunk/package.json

    r1967327 r1967947  
    11{
    22  "name": "jarvis",
    3   "version": "1.0.1",
     3  "version": "1.0.2",
    44  "description": " Jarvis is your admin assistant, putting WordPress at your fingertips via a quicksearch interface.",
    55  "main": "index.js",
  • jarvis/trunk/readme.txt

    r1967327 r1967947  
    88Requires at least: 4.8
    99Tested up to: 4.9.8
    10 Stable tag: 1.0.1
    11 Version: 1.0.1
     10Stable tag: 1.0.2
     11Version: 1.0.2
    1212License: GPLv2 or later
    1313License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6666== Changelog ==
    6767
     68= 1.0.2 =
     69* Send attachment suggestions to the 'Edit more details' page instead of the grid view as wp.media-grid throws an error if the item is not already loaded in the grid
     70
    6871= 1.0.1 =
    6972* Fix an installation issue some users were reporting
  • jarvis/trunk/src/php/models/post.php

    r1966854 r1967947  
    1414        $this->kind    = 'post';
    1515        $this->iconKey = $post->post_type;
     16        $this->href    = admin_url( sprintf( 'post.php?post=%d&action=edit', $this->id ) );
    1617
    1718        if ( 'attachment' === $this->type ) {
    1819
    19             $this->href     = admin_url( sprintf( 'upload.php?item=%d', $this->id ) );
    2020            $this->iconType = 'image';
    2121            $this->icon     = wp_get_attachment_image_src( $this->id, 'thumbnail' )[0];
    2222
    2323        } else {
    24 
    25             $this->href  = admin_url( sprintf( 'post.php?post=%d&action=edit', $this->id ) );
    2624
    2725            if ( has_post_thumbnail( $this->id ) ) {
  • jarvis/trunk/src/php/plugin.php

    r1967327 r1967947  
    88     * Le version of le plugin
    99     */
    10     const VERSION = '1.0.1';
     10    const VERSION = '1.0.2';
    1111
    1212    /**
Note: See TracChangeset for help on using the changeset viewer.